Skip to content
Agentmart
Submit a tool

agent-config-audit

Audit agent configuration surfaces (AGENTS.md, CLAUDE.md, MCP servers, tool registrations, settings, hooks) for consistency, contradictions, and silent…

Skill by ShaileshRawat1403

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/shaileshrawat1403-agent-config-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Audit agent configuration surfaces (AGENTS.md, CLAUDE.md, MCP servers, tool registrations, settings, hooks) for consistency, contradictions, and silent overrides. Returns impact-ordered findings tables.

Use cases: security, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-config-audit

What's inside

Skill name
agent-config-audit
Description
Audit agent configuration surfaces (AGENTS.md, CLAUDE.md, MCP servers, tool registrations, settings, hooks) for consistency, contradictions, and silent overrides. Returns impact-ordered findings tables.
License
MIT
Instructions
81 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Agent Config Audit

Use this skill when the task is to review the *static* configuration that shapes an AI agent's behavior in a repo. These surfaces accumulate over time: a rule added in one place, an override in another, a hook in a third — and they drift apart. This skill finds the drift.

## Use when

- the project has multiple agent surfaces (AGENTS.md, CLAUDE.md, OpenAI Agent docs, MCP configs) and the user wonders if they agree
- a rule "is supposed to apply" but does not
- a new contributor will be added and the question is which surface they need to read
- a third-party agent is being introduced and the team wants to know what surfaces it will or will not respect

## Workflow

1. **Inventory the surfaces.** Look for:
   - `AGENTS.md`, `CLAUDE.md`, `.cursor/rules`, `.cursorrules`, `.aider*`
   - `.claude/settings.json`, `.claude/settings.local.json`, `.claude/hooks/`
   - MCP server configs (`mcp.json`, `.mcp/`, app-specific config dirs)
   - Tool registration code (anything that calls `registerTool`, `defineTool`, or builds a tool registry)
   - Skill / instruction directories (`skills/`, `instructions/`)
   - `.github/copilot-instructions.md` if present
   - Provider-specific docs in `docs/` that prescribe agent behavior
2. **Map authority.** For each surface, record:
   - Which agent(s) read it
   - Whether it is committed or local-only (gitignored)
   - Whether it overrides another surface (and how — precedence rules)
3. **Rule extraction.** Pull the explicit rules from each surface into a normalized list: "agent X must / must not / should…"
4. **Cross-surface comparison.**
   - Identify rules that appear in only one surface
   - Identify rules that contradict between surfaces
   - Identify rules that *appear* to agree but use different vocabulary for the same thing (e.g., "feature branch" vs "topic branch")
5. **Hook and gate verification.**
   - For each hook (Claude Code, git hooks, pre-tool gates, runtime guards), confirm:
     - The trigger condition matches the documented rule
     - Failure messages reference the canonical surface
     - The bypass path (if any) is documented in the surface that describes the rule
6. **Tool registration consistency.**
   - Tools described in the agent prompt actually exist
   - Tool schemas match between the registration and the documentation
   - Tools that require approval are flagged as such in their description
7. **MCP server health.**
   - Each declared MCP server has a working command and known transport
   - Secrets referenced by MCP servers exist (env var names match)
   - Stale MCP entries pointing to removed binaries flagged
8. **Local vs committed.**
   - Rules that exist only in local settings (e.g., `.claude/settings.local.json` when `.claude/` is gitignored) are flagged with their team-coverage implication
   - Recommend committed equivalents when the rule should apply to everyone

## Checks

- Some surfaces are *intentionally* local-only (personal preferences, machine-specific paths) — do not flag those
- Treat `AGENTS.md` as the canonical written rule unless the repo declares otherwise
- For DAX specifically: `AGENTS.md` is canonical, `CLAUDE.md` is a Claude-specific entry point, `.githooks/` is the cross-contributor backstop, `.claude/settings.local.json` is per-user

## Output contract

Findings follow [docs/skills/OUTPUT_CONTRACT.md](../../docs/skills/OUTPUT_CONTRACT.md).

Return:

1. **Verdict** — one line + a small table:
   - `Surfaces found`, `Agents covered`, `Hooks active`, `MCP servers`, `Local-only surfaces`
2. **Counts** — Critical/High/Medium/Low/Info totals
3. **Findings** — one table per category, ordered by impact:
   - Contradictions between surfaces
   - Rules in only one place that should apply everywhere
   - Hooks not matching their documented rule
   - Tool registration / documentation drift
   - MCP server health
   - Local-only rules that should be committed
4. **Open questions / assumptions** — intended canonical surface, intended audience
5. **Next actions** — for each contradiction, recommend which surface wins and which to align

## Evidence to collect

- File path for every surface
- The normalized rule list with its source surface
- Hook trigger expressions verbatim
- MCP server command + transport for each declared server
- Tool name, schema reference, and prompt mention for each tool

From ShaileshRawat1403/dax, MIT.

More from ShaileshRawat1403/dax

Signals

Stars
5
Forks
0
Open issues
0
Last commit (this folder)
May 16, 2026 (5 months ago)
Last release
Oct 8, 2026 (21 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ShaileshRawat1403

Cite this page

agent-config-audit skill. Agent Mart. https://agentmart.dev/skills/shaileshrawat1403-agent-config-audit (last updated 2026-10-24)