smithers: Skill for Claude Code

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

smithers-harness-detect is a skill for Claude Code, Codex from smithersai/smithers. It costs 25 tokens per session (328 once invoked), scanned A, original, MIT.

Guidance for detecting local coding tools, their account status, supported model options, and installed versions through controlled system checks.

In plain words
What is it for?
Use it when changing local harness discovery, executable and version checks, account detection, model flags, or probe isolation.
Why use it?
It keeps detection based on the tools actually installed and prevents unrelated credentials or unverified identity claims from leaking into probes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

This is smithersai/smithers's own configuration. It tells Claude Code and Codex how to work on smithers itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything smithers configures →

Reuse

Borrowing it

Nothing to install: this file belongs to smithersai/smithers. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/smithersai/smithers/main/.agents/skills/smithers-harness-detect/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/smithersai/smithers

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smithers-harness-detect

README.md
[![agentmods](https://agentmods.dev/badge/skills/smithersai/smithers/smithers-harness-detect/github.svg)](https://agentmods.dev/skills/smithersai/smithers/smithers-harness-detect)
Your own site
<a href="https://agentmods.dev/skills/smithersai/smithers/smithers-harness-detect"><img src="https://agentmods.dev/badge/skills/smithersai/smithers/smithers-harness-detect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for smithers-harness-detect

Your own site · 80×15
<a href="https://agentmods.dev/skills/smithersai/smithers/smithers-harness-detect"><img src="https://agentmods.dev/badge/skills/smithersai/smithers/smithers-harness-detect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 328 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00328
Opus 5.5 $0.00010 $0.00131
Sonnet 5.5 $0.00005 $0.00066
Haiku 4.5 $0.00003 $0.00033

Measured 16d ago against content hash c6735e369c75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

smithers-harness-detect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/smithers-harness-detect/SKILL.md · 15 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed · +4 lines c6735e369c75
  2. 2mo ago Changed 819f79438c97
  3. 2mo ago First seen · 11 lines · 25 tokens per session scan A 13c851f800c9

Subscribe to this mod's changes

smithers-harness-detect is a skill published in the GitHub repository smithersai/smithers (455 stars, last pushed 4d ago), licensed MIT. It adds 25 tokens to every session and 328 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.

Related

smithers-harness-detect compared with skills from other repositories

smithers-harness-detect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smithers-harness-detectsmithersai/smithersSkill4554d agoMITA25Claude Code, Codex
paperclippaperclipai/paperclipSkill120ktodayMITA54Claude Code, Codex
agent-code-analyzerruvnet/rufloSkill83kyesterdayMITA19Claude Code
agentmailpaperclipai/paperclipSkill120ktodayMITA30Claude Code, Codex
ppt-reviewOrkas-AI/OrkasSkill7.7kyesterdayMITA2Claude Code, Codex
refocusingmvschwarz/openrigSkill9.0ktodayApache-2.0A59Claude Code
package-installerOrkas-AI/OrkasSkill7.7kyesterdayMITA35Claude Code, Codex