inventory — Claude Code command for config counts
The inventory command reports counts for skills, agents, commands, MCP servers, and hooks in a compact block. Use it to inspect the user and project split in a Claude Code setup.
MIT ★ 1,198 updated 2026-10-23
/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor
/plugin install ccam-config@claude-code-agent-monitor-pluginsWhat inventory does
inventory fetches a configuration overview from Agent Monitor Config Explorer at http://localhost:4820. It reads counts for five areas: skills, agents, commands, MCP servers, and hooks. The hook total also includes the project-local category.
The output is a compact block with totals and user/project breakdowns where applicable. It uses the figures returned by the API; if the dashboard cannot be reached, it tells the user to run npm start from the repository root. The dashboard must be running for the inventory request to work.
What it helps with
- count skills across user and project settings
- check the number of agents and commands
- inspect MCP server totals
- include local project hooks in a hook count
Example prompts for the agent
- Run
/ccam-config:inventoryand show the Claude Code config counts. - Use
/ccam-config:inventoryto check the user and project skill totals. - Run
/ccam-config:inventoryto report hooks, including project-local ones.
How to install inventory
1Plugin marketplace
/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor/plugin install ccam-config@claude-code-agent-monitor-plugins2Manually: put the files in place
.claude/commands/inventory.mdCall it with /inventory. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/inventory.mdCall it with /prompts:inventory. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/inventory.prompt.mdManually: put the files in place
.gemini/commands/inventory.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about inventory
How do I install inventory in Claude Code?
Add the marketplace with /plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor, then install the plugin with /plugin install ccam-config@claude-code-agent-monitor-plugins.
What does inventory do?
It retrieves a Claude Code configuration overview and prints counts for skills, agents, commands, MCP servers, and hooks, with location breakdowns.
What does inventory need to run?
Agent Monitor Config Explorer must be reachable at http://localhost:4820. If it is down, the command directs you to run npm start from the repository root.
Source text
inventory.md · MIT
--- description: One-screen inventory of skills, agents, commands, MCP servers, and hooks counts. --- Print a one-screen inventory of the user's Claude Code config from the Agent Monitor Config Explorer at `http://localhost:4820`. Fetch the overview once: ```bash curl -s http://localhost:4820/api/cc-config/overview ``` From `counts`, surface just the five core surfaces: - **skills** — `counts.skills.user + counts.skills.project` - **agents** — `counts.agents.user + counts.agents.project` - **commands** — `counts.commands.user + counts.commands.project` - **mcp** — `counts.mcpServers.user + counts.mcpServers.project` - **hooks** — `counts.hooks.user + counts.hooks.project + counts.hooks["project-local"]` Print a single compact block with the total for each, plus the user/project split in parentheses where it applies: ``` Config Inventory Skills ... 25 (user 22 / project 3) Agents ... 8 (user 7 / project 1) Commands . 14 (user 14 / project 0) MCP ...... 6 (user 5 / project 1) Hooks .... 7 (user 7 / project 0 / local 0) ``` Cite only the numbers the API returned — never fabricate counts. If the dashboard is unreachable, say so and tell the user to start it with `npm start` from the repo root. Keep it to the block only; no extra prose.
© Son Nguyen · MIT · hoangsonww/Claude-Code-Agent-Monitor