instruction-auditor

instruction-auditor is an agent for Claude Code from ivegamsft/basecoat. It costs 78 tokens per session (666 once invoked), scanned A, original, MIT.

A repository coverage checker that finds technologies and workflow patterns in a codebase and compares them with the available BaseCoat instruction files.

In plain words
What is it for?
Use it to audit instruction coverage for a repository and produce a report of present, missing, or partial guidance.
Why use it?
It shows which parts of a project lack written guidance, so instruction gaps are easier to find and synchronize.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit Use it to audit instruction coverage for a repository and produce a report of present, missing, or partial guidance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-50-security-instruction-auditor
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.

Clone the repo
git clone --depth 1 https://github.com/ivegamsft/basecoat

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 instruction-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-50-security-instruction-auditor.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-50-security-instruction-auditor)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-50-security-instruction-auditor"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-50-security-instruction-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 666 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.00078 $0.00666
Opus 5 $0.00039 $0.00333
Sonnet 5 $0.00016 $0.00133
Haiku 4.5 $0.00008 $0.00067

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

Security

Grade A, and why

instruction-auditor 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 4d 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/basecoat-50-security-instruction-auditor.agent.md · 75 lines

What it actually says

Instruction Auditor Agent

Scans a repository to detect tech stacks and workflow patterns lacking corresponding BaseCoat instruction coverage. Produces a coverage report and synchronization guidance.

Inputs

  • repo (required) — path to repo root (local path or GitHub owner/repo)
  • overlay_path (optional, default .github/base-coat/instructions)
  • report_format (optional, default markdown)markdown or json

Workflow

  1. Detect tech stack signals — scan indicator files and map them to known stacks.
  2. List instruction files in overlay — enumerate *.instructions.md under overlay_path.
  3. Map signals to canonical files — mark each [PRESENT], [MISSING], or [PARTIAL].
  4. Generate coverage report — produce a coverage table in report_format.
  5. Recommend synchronization — list missing files and direct consumers to their configured entrypoint or repository-root sync.ps1/sync.sh for full sync.

Mapping tables and output examples are in agents/references/instruction-auditor-detail.md.

Output

  1. Coverage table — one row per detected stack with status
  2. Synchronization guidance — the configured/root full-overlay sync command
  3. Summary lineX of Y stacks covered (Z missing, W partial)

Model

Recommended: gpt-5.4-mini Minimum: gpt-5-mini

Governance

This agent operates under the BaseCoat governance framework.

  • Issue-first: Do not make code changes without a logged GitHub issue.
  • PRs only: Never commit directly to main. Open a PR, self-approve if needed.
  • No secrets: Never commit credentials, tokens, API keys, or sensitive data.
  • Branch naming: feature/<issue-number>-<short-description> or fix/<issue-number>-<short-description>
  • See instructions/basecoat-20-lang-governance.instructions.md for the full governance reference.
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. 4d ago First seen · 75 lines · 78 tokens per session scan A 4cc3e3cac71e

Subscribe to this mod's changes

instruction-auditor is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 3d ago), licensed MIT. It adds 78 tokens to every session and 666 once invoked, about $0.0004 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-09-03.

Related

Other agents, from other repositories