context-audit

context-audit is a skill for Claude Code from fending/context-engineering. It costs 38 tokens per session (3,097 once invoked), scanned A, original, MIT.

A review of a project's context files, meaning the instructions and background information an agent uses when working on the code. It checks their completeness, structure, and fit for the project's complexity.

In plain words
What is it for?
Use it to audit files such as AGENTS.md and context directories, assess documentation levels, and receive prioritized recommendations for improving them.
Why use it?
It reveals missing, excessive, or poorly organized project guidance without checking whether that guidance matches the actual codebase.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions CLAUDE.md; reads ~/.codex paths; mentions AGENTS.md.

Part of the context-setup plugin — 5 skills shipped together

Good fit Use it to audit files such as AGENTS.md and context directories, assess documentation levels, and receive prioritized recommendations for improving them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fending/context-engineering/context-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 fending/context-engineering --skill context-audit
Clone the repo
git clone --depth 1 https://github.com/fending/context-engineering

Made for: Claude Code.

Or install context-setup, the plugin that ships this one along with the rest of its 5 skills.

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 context-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/fending/context-engineering/context-audit/github.svg)](https://agentmods.dev/skills/fending/context-engineering/context-audit)
Your own site
<a href="https://agentmods.dev/skills/fending/context-engineering/context-audit"><img src="https://agentmods.dev/badge/skills/fending/context-engineering/context-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 context-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/fending/context-engineering/context-audit"><img src="https://agentmods.dev/badge/skills/fending/context-engineering/context-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,097 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.00038 $0.03097
Opus 5.5 $0.00015 $0.01239
Sonnet 5.5 $0.00008 $0.00619
Haiku 4.5 $0.00004 $0.00310

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

Security

Grade A, and why

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

plugins/context-setup/skills/context-audit/SKILL.md · 239 lines

How it starts

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

DEPRECATION NOTICE: You are running context-setup from fending/context-engineering, which is no longer maintained. The active version is at ordovera/ordovera-plugins. To migrate, run:

  1. /plugin marketplace add ordovera/ordovera-plugins
  2. /plugin install context-setup@ordovera-plugins

Then remove the old marketplace: /plugin marketplace remove context-engineering

Print this notice to the user before proceeding with the skill.

Context Audit

Evaluate your context structure for structural completeness and best practices. This checks whether your context files are well-formed and appropriate for your project's complexity.

What This Skill Does

Reads all context files and evaluates them against five categories. Reports findings as a structured audit with scores and prioritized recommendations.

1. Level Appropriateness

Assess whether the context complexity matches the project complexity.

Under-documented indicators (project is more complex than its context):

  • Multiple distinct layers (frontend, backend, database, auth) but only a minimal AGENTS.md
  • More than 10 top-level directories with no project structure section
  • Auth packages present but no auth section
  • Multiple package manager configs (monorepo) but no cascading files
  • More than 3 contributors (check git log) but no working style documentation

Over-engineered indicators (context is more complex than the project):

  • Context directory with 5+ files for a project with fewer than 20 source files
  • Subdirectory AGENTS.md files in a project with a flat structure
  • Cascading setup for a single-person, single-language project
  • Multiple context files that mostly repeat the same information

2. Section Completeness

Check which required sections are present for the current context level.

Minimal level requires:

  • Project description (what this is)
  • Tech stack (languages, frameworks, key dependencies)
  • Commands (dev, build, test, lint -- whichever apply)
  • Code standards (formatting, naming, import conventions)
  • Do NOT section (boundary rules)

Read the full file on GitHub · 239 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. 3mo ago First seen · 239 lines · 38 tokens per session scan A 217616ee0292

Subscribe to this mod's changes

context-audit is a skill published in the GitHub repository fending/context-engineering (12 stars, last pushed 8mo ago), licensed MIT. It adds 38 tokens to every session and 3,097 once invoked, about $0.0002 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-30.

Related

context-audit compared with skills from other repositories

context-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
context-auditfending/context-engineeringSkill128mo agoMITA38Claude Code
ccccocoindex-io/cocoindex-codeSkill3.0k5d agoApache-2.0A80Claude Code
michel-run-local-dev-stackPackmindHub/packmindSkill32720d agoApache-2.0A275Claude Code, Codex
michel-cli-demo-recorderPackmindHub/packmindSkill32720d agoApache-2.0A212Claude Code, Codex
hexagonal-architecturePackmindHub/packmindSkill32720d agoApache-2.0A70Claude Code, Codex
michel-create-packmind-datasetPackmindHub/packmindSkill32720d agoApache-2.0A0Claude Code, Codex
michel-packmind-engineer-reviewPackmindHub/packmindSkill32720d agoApache-2.0A181Claude Code