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.
git clone --depth 1 https://github.com/Chappygo-OS/Atomic-SpecWrote 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.
[](https://agentmods.dev/commands/chappygo-os/atomic-spec/inventory)<a href="https://agentmods.dev/commands/chappygo-os/atomic-spec/inventory"><img src="https://agentmods.dev/badge/commands/chappygo-os/atomic-spec/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.
<a href="https://agentmods.dev/commands/chappygo-os/atomic-spec/inventory"><img src="https://agentmods.dev/badge/commands/chappygo-os/atomic-spec/inventory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00069 | $0.03936 |
| Opus 5.5 | $0.00028 | $0.01574 |
| Sonnet 5.5 | $0.00014 | $0.00787 |
| Haiku 4.5 | $0.00007 | $0.00394 |
Grade A, and why
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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Purpose (v0.6+)
The inventory is the project's memory of what already exists and what job it does. It is the
input to the Reuse & Overlap scan in /atomicspec.specify, the Reuse Decisions table in
/atomicspec.plan, the Reuse Context row (Directive 8) in /atomicspec.tasks, the duplicate-purpose
check in /atomicspec.review, and the functional-duplicate detection in /atomicspec.cleanup.
| Artifact | Path |
|---|---|
| Compiled inventory | specs/_inventory/inventory.yaml (schema: templates/inventory-template.yaml) |
| Per-feature fragments | specs/_inventory/features/<NNN-slug>.yaml (written by /atomicspec.implement §4.5) |
| Codebase map | specs/_inventory/codebase-map.md (≤150 lines) |
Modes
Parse $ARGUMENTS:
| Argument | Mode | Writes? |
|---|---|---|
| (none) | bootstrap — brownfield scan → draft entries → user confirms → write | yes |
--refresh |
refresh — compile all fragments + rescan for drift → write | yes |
--check |
check — read-only drift report | no |
--roots <a,b,...> |
(optional, any writing mode) restrict the scan to these source roots | — |
If bootstrap is requested but specs/_inventory/inventory.yaml already exists, ask with
AskUserQuestion:
Question: "An inventory already exists (coverage: <partial|full>, <N> entries, generated <ts>). What now?"
Header: "Inventory"
Options:
- Label: "Refresh it (Recommended)"
Description: "Compile feature fragments and rescan for drift; keeps existing ids and purposes"
- Label: "Re-bootstrap"
Description: "Rescan everything and re-confirm purposes; existing ids are kept where paths match"
- Label: "Cancel"
Description: "Leave the inventory as it is"
⚠️ Principles
- Factual, not aspirational. Entries describe code that exists today. Never add planned work.
- Purpose = the job, in one sentence. "Lets an admin cancel a subscription and see the refund before confirming" — not "Subscription modal". A purpose that only restates the name is not done.
- Never writes application code, never deletes code. Writes only under
specs/_inventory/. - Never writes the registry. Stack facts discovered during the scan that are missing from
specs/_defaults/registry.yamlare listed at the end with a suggestion to run/atomicspec.registry(Directive 7). - Exempt from traceability. Everything this command writes lives under
specs/, which reverse-traceability never treats as orphan code. No task files, no Lifecycle Markers. - Degrade, don't fail. Unknown stack → generic grep scan +
coverage: partial. No registry → infer stack from manifests. Empty repo (greenfield) → write an empty inventory withcoverage: fulland say so. - Stable ids. Once an id exists it is never renamed (other artifacts cite it). Moved files keep
their id; the
pathis updated.
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.
- 2d ago First seen · 249 lines · 69 tokens per session scan A e927b9db8561
inventory is a command published in the GitHub repository Chappygo-OS/Atomic-Spec (10 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 3,936 once invoked, about $0.0003 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-12-04.
inventory compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| inventoryChappygo-OS/Atomic-Spec | Command | 10 | yesterday | MIT | A | 69 | Claude Code |
| ijfw-auditFerroxLabs/ijfw | Command | 215 | 6d ago | MIT | A | 28 | Claude Code |
| ijfw-executeFerroxLabs/ijfw | Command | 215 | 6d ago | MIT | A | 36 | Claude Code |
| ijfw-metricsFerroxLabs/ijfw | Command | 215 | 6d ago | MIT | A | 37 | Claude Code |
| assistant-autochristopherlouet/claude-base | Command | 6 | today | MIT | A | 0 | Claude Code |
| code-locateMozurok/fhorja.dev | Command | 10 | 2d ago | MIT | A | 0 | Claude Code |
| contract-signoffMozurok/fhorja.dev | Command | 10 | 2d ago | MIT | A | 86 | Claude Code |