agentleFS
evmtsevmts/smithers/.agents/skills/smithers-harness-detect/SKILL.md

smithers-harness-detect

Skill452 starsChanged 9 days agoMITView on GitHub

Change local coding-harness discovery, account status, model flag detection, or version probes.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. smithersai/smithers★ 452100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

Files
SKILL.md

Harness detection

Read the harness-detect README and the shared harness contracts in packages/rpc/src/LocalApp.ts and launch metadata in packages/rpc/src/AgentRoles.ts before changing a detector. The package is pure over an injected HarnessHost; filesystem and process probes belong in the adapter. Keep binary search, account status, and model flags grounded in the installed harness's actual help and observed files.

A version probe runs only --version with probeEnv's PROBE_ENV_KEYS allowlist. Do not pass session or vendor credentials to the child; the live adapter also owns sandboxing and timeout. The Codex JWT email claim is decoded without verification and must not be returned as an authenticated identity. Test the injected host with fixture paths and a probe environment that excludes unrelated tokens.

Environment markers

Agent detection evidence lists the variable that marks each agent's child processes. In non-interactive modes (probed 2026-09-12), only Claude Code sets AI_AGENT (claude-code_<ver>_agent); Codex and OpenCode don't, and Codex sets CODEX_SANDBOX=seatbelt only when sandboxed. The interactive Codex and OpenCode TUIs were not probed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.