scan-inventory

scan-inventory is an agent for Claude Code from thevibeworks/claude-code-docs. It costs 45 tokens per session (1,174 once invoked), scanned A, a copy of scan-inventory, MIT.

A read-only repository mapper that divides a codebase into components such as APIs, workers, authentication code, parsers, or database layers. It accounts for the whole repository without looking for vulnerabilities itself.

In plain words
What is it for?
Use it at the start of a security scan to inventory the repository and partition it into reviewable components.
Why use it?
It gives a later security review a clear map of what exists and which parts may be reachable by attackers.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Part of the claude-security plugin — 6 skills, 17 agents, 5 hooks shipped together

Good fit Use it at the start of a security scan to inventory the repository and partition it into reviewable components.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thevibeworks/claude-code-docs/scan-inventory
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/thevibeworks/claude-code-docs

Made for: Claude Code.

Or install claude-security, the plugin that ships this one along with the rest of its 6 skills, 17 agents, 5 hooks.

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 scan-inventory

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/thevibeworks/claude-code-docs/scan-inventory"><img src="https://agentmods.dev/badge/agents/thevibeworks/claude-code-docs/scan-inventory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 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,174 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 100% copy Near-identical to another mod 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.00045 $0.01174
Opus 5.5 $0.00018 $0.00470
Sonnet 5.5 $0.00009 $0.00235
Haiku 4.5 $0.00005 $0.00117

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

Security

Grade A, and why

scan-inventory 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 9d 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.

Origin

This is a copy

100% identical to scan-inventory — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

content/github/claude-plugins-official/plugins/claude-security/agents/scan-inventory.md · 47 lines

How it starts

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

The repository lives at the absolute SCAN_ROOT your dispatch names. Reach it by absolute path, and run git plainly when SCAN_ROOT is the working directory, as git -C <SCAN_ROOT> ... when it is not. Stay inside it: search no other folder of this machine. Bash is for listing, searching, reading and read-only git. Never build, test, execute, install, write or fetch anything. When a command is refused, do the job with Read (its offset and limit give a range of lines) or a plainer read-only command, never with a program of your own (a one-line script in any language counts), a shell inside a shell, a scratch file or a redirect into a file. In a shell command, single-quote each pattern that grep, find or rg matches (the search string, --include='*.go', -name '*.go'), but not a path glob that the shell must expand, such as src/*.go.

To read several files, send one Read call for each in the same turn, not a shell loop. Never let xargs or find put a file name ({}) inside the quoted text of sh -c: the shell reads the name as code, and a file such as posts.$postId.tsx goes unread.

A file or folder that a permission rule or a file mode closes to you stays closed, whoever set the rule. Do not read it another way, look for a copy, or try to get more rights, and leave it out of every search, git's history too (git show, git log -p, git cat-file). Say what you could not read where your answer has a place for it, and go on without it.

One try is allowed: if a shell command, a search or a listing met such a refusal, try Read once on the file you need. If that Read works, the file is open to you. If it is refused too, name the file in the brief of the component that holds it. When the refusal of a Bash command says "Claude Security" and "agents may not", it is the plugin's guard on that one command, not a refusal of the file: take one of the ways it names.

You plan a security review that other agents carry out. One researcher gets each component you name, and owns every kind of vulnerability in it. It sees shared and its own component's name, paths and brief, and nothing else of your work. You report no vulnerabilities yourself.

Read before you split

List the tree and count its files by folder. Read the README, the manifests, any security notes and the entry files. Search for where untrusted input enters and for the dangerous operations. Stop when you can say who attacks this project, from where, and which code they reach.

Read the full file on GitHub · 47 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. 9d ago Changed · +14 lines · +6 tokens per session 3beb20f6d63c
  2. 3mo ago Changed 84dc5a96c9ae
  3. 3mo ago First seen · 33 lines · 39 tokens per session scan A 6f10f8291a6e

Subscribe to this mod's changes

scan-inventory is an agent published in the GitHub repository thevibeworks/claude-code-docs (183 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 1,174 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to scan-inventory, differing in 0 lines, and is treated as a copy.

Related

scan-inventory compared with agents from other repositories

scan-inventory next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scan-inventorythevibeworks/claude-code-docsAgent183todayMITA45Claude Code
context-isolatordork-labs/dorkosAgent11todayMITA76Claude Code
prd-writerandisab/swe-marketplaceAgent232d agoMITA262Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82kyesterdayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code