agent-audit

A repository audit skill that evaluates the root AGENTS.md file and the directly referenced files against set quality criteria.

In plain words
What is it for?
Use it to audit agent guidance, check first-level referenced files, flag broken references, and find ways to reduce agent mistakes and unnecessary token use.
Why use it?
It identifies instructions that may be unclear or inefficient for coding agents, while reporting a hard failure when the required root file is missing.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/nitinbhide/tcaitoolkit/agent-audit
Any agent
npx skills add nitinbhide/tcaitoolkit --skill agent-audit
Clone the repo
git clone --depth 1 https://github.com/nitinbhide/tcaitoolkit

Made for: Claude Code, Codex.

Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,274 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00060 $0.01274
Opus 5 $0.00030 $0.00637
Sonnet 5 $0.00012 $0.00255
Haiku 4.5 $0.00006 $0.00127

Measured 2d ago against content hash 8d19200e703f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-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 2d 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.

agentskills/agent-audit/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Audit Skill

This skill evaulates AGENTS.md file at the root of the project for following criteria. Objective is to improve the quality of results fromLLMs, reduce the number of turns in agent loop and reduce the LLM token consumptions

How to Audit the AGENTS.md file

  • Audit only the repository-root AGENTS.md file.
  • If the repository root does not contain an AGENTS.md file, stop immediately and report that the audit could not run because the repository-root AGENTS.md is missing.
  • Use the "evaluation criteria" given below and check each item the list
  • Treat a "first-level referenced file" as an explicit repository-relative file path written directly in the repository-root AGENTS.md.
  • Check only first-level referenced paths for evaluation. Evaluate files that resolve to existing files and skip directories/folders.
  • If a first-level referenced path is unresolved or invalid, record it as a warning only. Do not fail the entire audit because of unresolved or invalid referenced paths.
  • Do not infer file paths, search the repository for matching filenames, or follow vague references such as "see design docs" unless a concrete file path is given.
  • Stop at first-level references from AGENTS.md. Do not recurse into files referenced by those files.
  • Output the report using the fixed format defined below.

Output format

Use the following sections in this exact order.

  1. Target
  • Repository root path.
  • Audited file path (must be repository-root AGENTS.md).
  1. Preflight
  • Repository-root AGENTS.md present: yes/no.
  • If no, report hard failure and stop.
  1. Criteria results
  • Report one line per criterion.
  • Allowed status values: fulfilled, not-fulfilled, not-applicable.
  • Include a short rationale for each status.
  • Include the evidence file paths used for evaluation.
  1. Reference path warnings
  • List unresolved or invalid first-level referenced file paths as warnings.
  • Explicitly state that these warnings do not cause audit failure.

Read the full file on GitHub · 83 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. 2d ago First seen · 83 lines · 60 tokens per session scan A 8d19200e703f

Subscribe to this mod's changes

agent-audit is a skill published in the GitHub repository nitinbhide/tcaitoolkit (5 stars, last pushed 3d ago), licensed Apache-2.0. It adds 60 tokens to every session and 1,274 once invoked, about $0.0003 per session on Opus 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.