first-party-audit

first-party-audit is a skill for Claude Code from jamestexas/agents. It costs 90 tokens per session (1,025 once invoked), scanned A, original, Apache-2.0.

A check for whether a needed capability already exists in the product, codebase, or platform before new glue code is written. Glue code connects existing tools or steps together.

In plain words
What is it for?
Use it before adding shell commands, Taskfile tasks, CI automation, or small helper scripts.
Why use it?
It helps avoid duplicate helpers and wrappers, and can reveal a better built-in implementation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it before adding shell commands, Taskfile tasks, CI automation, or small helper scripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamestexas/agents/first-party-audit
Install

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.

Any agent
npx skills add jamestexas/agents --skill first-party-audit
Clone the repo
git clone --depth 1 https://github.com/jamestexas/agents

Made for: Claude Code.

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 first-party-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamestexas/agents/first-party-audit/github.svg)](https://agentmods.dev/skills/jamestexas/agents/first-party-audit)
Your own site
<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.

agentmods 80×15 button for first-party-audit

Your own site · 80×15
<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>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,025 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.00090 $0.01025
Opus 5.5 $0.00036 $0.00410
Sonnet 5.5 $0.00018 $0.00205
Haiku 4.5 $0.00009 $0.00103

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

Security

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.

skills/first-party-audit/SKILL.md · 80 lines

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.

  1. Name the capability in one sentence, implementation-free. "Detect whether a SQLite column is generated", not "add ColumnIsGenerated".

  2. Interrogate the binary first. <tool> --help, subcommand help, hidden commands. The capability may already ship. (A support answer once said launchctl kickstart because nobody checked that the binary's own daemon surface was the place it belonged.)

  3. 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.

  4. 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.

Read the full file on GitHub · 80 lines

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. 2mo ago Changed · +1 lines f43497497a0c
  2. 3mo ago First seen · 79 lines · 90 tokens per session scan A 69d438a1759e

Subscribe to this mod's changes

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.

Related

first-party-audit compared with skills from other repositories

first-party-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
first-party-auditjamestexas/agentsSkill2todayApache-2.0A90Claude Code
soul-gradercobibean/soul-grader-skillSkill603mo agoMITA45Codex
markdown-ui-dslMegaByteMark/markdown-ui-dslSkill258mo agoMITA25Claude Code, Codex
research-dspyGrayCodeAI/starlingSkill23mo agoMITA36Claude Code
research-guidanceGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
research-instructorGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
reviewvercel/eveSkill6.1ktodayApache-2.0A31Claude Code, Codex