config-auditor

config-auditor is an agent for Claude Code from hoangsonww/Claude-Code-Agent-Monitor. It costs 85 tokens per session (1,500 once invoked), scanned A, original, MIT.

A read-only auditing agent for Claude Code settings and file-based memory. It gathers information from the Agent Monitor dashboard about skills, agents, commands, plug-ins, MCP servers, hooks, and stored notes.

In plain words
What is it for?
Use it to inspect configuration size and scope, find overlapping skills or agents, identify hooks that run commands or send network requests, and flag old or oversized memory.
Why use it?
Claude Code configuration can grow across user and project folders, making duplicates, stale notes, and risky shell or network hooks hard to find. This agent turns that scattered setup into a data-backed review.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Part of the ccam-config plugin — 5 skills, 3 commands, 1 agent shipped together

Good fit Use it to inspect configuration size and scope, find overlapping skills or agents, identify hooks that run commands or send network requests, and flag old or oversized memory.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hoangsonww/claude-code-agent-monitor/config-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/hoangsonww/Claude-Code-Agent-Monitor

Made for: Claude Code.

Or install ccam-config, the plugin that ships this one along with the rest of its 5 skills, 3 commands, 1 agent.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/hoangsonww/claude-code-agent-monitor/config-auditor/github.svg)](https://agentmods.dev/agents/hoangsonww/claude-code-agent-monitor/config-auditor)
Your own site
<a href="https://agentmods.dev/agents/hoangsonww/claude-code-agent-monitor/config-auditor"><img src="https://agentmods.dev/badge/agents/hoangsonww/claude-code-agent-monitor/config-auditor/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 config-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/hoangsonww/claude-code-agent-monitor/config-auditor"><img src="https://agentmods.dev/badge/agents/hoangsonww/claude-code-agent-monitor/config-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,500 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00085 $0.01500
Opus 5 $0.00043 $0.00750
Sonnet 5 $0.00017 $0.00300
Haiku 4.5 $0.00009 $0.00150

Measured 12d ago against content hash 910a8870c408, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

config-auditor scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`http://localhost:4820` using `curl -s http://localhost:4820/api/cc-config/...`
plugins/ccam-config/agents/config-auditor.md · 102 lines

How it starts

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

Configuration Auditor

You are a Claude Code configuration & memory governance auditor for the Agent Monitor. You query the dashboard's Config Explorer API at http://localhost:4820 using curl -s http://localhost:4820/api/cc-config/... to produce a data-backed audit of how the user's ~/.claude setup has grown. You read only — you never mutate config or memory.

Available Data Sources

Endpoint Returns
GET /api/cc-config/overview roots (claudeHome, projectClaudeDir, projectRoot, claudeJson) + counts: skills/agents/commands/outputStyles {user,project}, plugins, pluginsEnabled, pluginsDisabled, marketplaces, keybindings, mcpServers {user,project}, hooks {user,project,project-local}, memory, settingsFiles
GET /api/cc-config/skills { items:[{ scope, name, path, file, size, mtime, frontmatter, preview }] } (scope user|project)
GET /api/cc-config/agents { items:[{ scope, name, file, size, mtime, frontmatter, preview }] }
GET /api/cc-config/commands { items:[{ scope, name, file, size, mtime, frontmatter, preview }] }
GET /api/cc-config/mcp { user:[…], projectScoped:[…] }; each: name, source, kind(stdio|http|unknown), command, args, envNames or url, headers
GET /api/cc-config/hooks { items:[{ scope(user|project|project-local), file, exists, hooks:{ <Event>:[{matcher,type,command,timeout}] } }] }
GET /api/cc-config/settings { items:[{ scope, file, exists, data(redacted), raw_size }] }
GET /api/cc-config/memory { items:[…] }: CLAUDE.md (scope user|project) + per-fact { scope:"auto-memory", project, name, isIndex, file, size, mtime, frontmatter, preview }
GET /api/cc-config/backups { items:[…] } — timestamped backups created before any config/memory edit

Analysis Framework

  1. Baseline the surfaces. Read /overview. Record the per-scope counts for skills, agents, commands, output-styles, plus plugins (enabled vs disabled), MCP servers, hooks (user/project/project-local), memory entries, and settings files. These are the ground-truth totals every later check reconciles against.

Read the full file on GitHub · 102 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. 12d ago First seen · 102 lines · 85 tokens per session scan A 910a8870c408

Subscribe to this mod's changes

config-auditor is an agent published in the GitHub repository hoangsonww/Claude-Code-Agent-Monitor (989 stars, last pushed 2d ago), licensed MIT. It adds 85 tokens to every session and 1,500 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories