Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jamestexas/agents --skill first-party-auditgit clone --depth 1 https://github.com/jamestexas/agentsWrote 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.
[](https://agentmods.dev/skills/jamestexas/agents/first-party-audit)<a href="https://agentmods.dev/skills/jamestexas/agents/first-party-audit"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/first-party-audit/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.
<a href="https://agentmods.dev/skills/jamestexas/agents/first-party-audit"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/first-party-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00090 | $0.01025 |
| Opus 5.5 | $0.00036 | $0.00410 |
| Sonnet 5.5 | $0.00018 | $0.00205 |
| Haiku 4.5 | $0.00009 | $0.00103 |
Grade A, and why
first-party-audit 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/first-party-audit — does this already exist, and is the glue worse than the code?
The failure this prevents, measured in one week on one repo: eight
independent re-implementations, each written by an agent with full code
search available — a generated-column probe written three times, a version
parser twice, an env-var override twice, a log-capture helper twice, and a
PinnedVersion() accessor added in the same session that used the existing
constant in the same function being edited. Plus the inverse defect:
Taskfile glue (cp over a live binary) that reimplemented an existing Go
installer LESS correctly than the code it bypassed — the Go code's own comment
warned against exactly what the glue did.
The root cause is never missing tooling. It is writing before interrogating.
Procedure
Run BEFORE writing the helper, not after. Each step ends in a receipt (a file:line or command output pasted into your working notes); a step without a receipt was not performed.
-
Name the capability in one sentence, implementation-free. "Detect whether a SQLite column is generated", not "add ColumnIsGenerated".
-
Interrogate the binary first.
<tool> --help, subcommand help, hidden commands. The capability may already ship. (A support answer once saidlaunchctl kickstartbecause nobody checked that the binary's owndaemonsurface was the place it belonged.) -
Search the codebase for the MECHANISM, not your intended name. Grep for the distinctive constant, syscall, SQL pragma, or error string the implementation must contain —
pragma_table_xinfo,SIGTERM,Setpgid, the exact env var. Names differ; mechanisms collide. Then search test files separately: test helpers are where the third copy usually hides. -
Check the callers of what you find. An existing implementation with the wrong visibility (unexported, wrong package) is an EXPORT, not a rewrite. An existing one with zero callers is a deletion candidate, not a pattern.
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.
- 2mo ago Changed · +1 lines f43497497a0c
- 3mo ago First seen · 79 lines · 90 tokens per session scan A 69d438a1759e
first-party-audit is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 90 tokens to every session and 1,025 once invoked, about $0.0004 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-08-31.
first-party-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| first-party-auditjamestexas/agents | Skill | 2 | today | Apache-2.0 | A | 90 | Claude Code |
| soul-gradercobibean/soul-grader-skill | Skill | 60 | 3mo ago | MIT | A | 45 | Codex |
| markdown-ui-dslMegaByteMark/markdown-ui-dsl | Skill | 25 | 8mo ago | MIT | A | 25 | Claude Code, Codex |
| research-dspyGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 36 | Claude Code |
| research-guidanceGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 39 | Claude Code |
| research-instructorGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 39 | Claude Code |
| reviewvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 31 | Claude Code, Codex |