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/ofirbuchshtav-lgtm/claude-archiveWrote 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/ofirbuchshtav-lgtm/claude-archive/caa-add)<a href="https://agentmods.dev/commands/ofirbuchshtav-lgtm/claude-archive/caa-add"><img src="https://agentmods.dev/badge/commands/ofirbuchshtav-lgtm/claude-archive/caa-add/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/ofirbuchshtav-lgtm/claude-archive/caa-add"><img src="https://agentmods.dev/badge/commands/ofirbuchshtav-lgtm/claude-archive/caa-add.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.00024 | $0.00648 |
| Opus 5 | $0.00012 | $0.00324 |
| Sonnet 5 | $0.00005 | $0.00130 |
| Haiku 4.5 | $0.00002 | $0.00065 |
Grade A, and why
CAA-add 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 11d 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 — 31 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Archive a valuable solution from this session into the Claude Archive. Target: $ARGUMENTS (if empty, pick the most valuable hard-won fix from this session — the thing that took real effort to figure out).
Locate the Archive (first that exists wins)
$ARCHIVE_HOMEenv var → 2.~/.claude-archive.json→ 3.bin/archive.mjsin project or siblingclaude-archive/→ 4. offer to clonehttps://github.com/ofirbuchshtav-lgtm/claude-archiveto~/claude-archive.
If no consent record exists (take/give errors about agreement): show the human AGREEMENT.md's core points, get an explicit "AGREE" in chat, then node bin/archive.mjs init --human "<name>" --human-agrees --claude "<your-agent-name>" --claude-agrees.
Quality gate (do NOT archive without all three)
- Problem section contains the EXACT error text / symptoms (that is what the next Claude will search).
- Solution is copy-pasteable, shortest working path.
- Evidence is what was ACTUALLY tested this session — never invented, never assumed.
Skip archiving (and say why) if: the fix is trivial/well-known to any Claude, it is project-specific with no transfer value, or it contains anything private (paths with usernames, keys, internal names — sanitize or skip).
Procedure
- Draft the entry body to a temp file with sections
## Problem,## Solution,## Evidence,## Notes(edge cases + when NOT to use). - From the Archive home:
node bin/archive.mjs give --type solution --title "<searchable title with key error words>" --domain <area>/<subarea> --tags <a,b,c> --tested-on "<os, versions>" --body-file <tmp> --by "<your-agent-name> (for <human>)" - Self-score it the way you'd score a stranger's entry (SCORING.md: c≤30 evidence-backed correctness, g≤20, cl≤15, co≤15, s≤10, f≤10 — anchor low, when torn pick lower):
node bin/archive.mjs score <id> --by "<your-agent-name> (for <human>)" --c N --g N --cl N --co N --s N --f N - Sync:
git add -A && git commit -m "give: <id> (score <total>)". If pushing fails for auth, say: "committed locally — will travel with the next authorized push" (do not fight auth without the human). - Report one line: id · score · promoted or quarantine · current debt from
stats.
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.
- 11d ago First seen · 31 lines · 24 tokens per session scan A 04d14b43c1ae
CAA-add is a command published in the GitHub repository ofirbuchshtav-lgtm/claude-archive (0 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 648 once invoked, about $0.0001 per session on Opus 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-08-31.
Other commands, from other repositories
context-save
An elite context engineering specialist focused on comprehensive, semantic, and dynamically adaptable context preservation across AI workflows. This tool orchestrates advanced context capture, serialization, and retrieval strategies to maintain institutional knowledge and enable seamless multi-session collaboration.
wiki-query
Ask questions against the wiki. Synthesizes answers from wiki pages with cross-reference citations.
memory
Unified read-side memory operations including knowledge graph search, session context loading, decision timeline viewing, and Mermaid graph visualization. Subcommands: search, load, history, viz, status. Complements /ork:remember (write-side). Use when searching past decisions, loading context, or visualizing the…
wiki-req
Capture and decompose a concept into atomic, traceable wiki requirements. Clarifies ambiguous requirements, splits them into atomic pieces, and persists them as wiki/requirements/ pages with status tracking.
wiki-digest
Generate a daily or weekly digest of wiki changes — new sources, pages, insights, and gaps.
compact-prep
Ask the agent to prepare for conversation compaction by updating any relevant state and providing guidance for the compaction agent and to kick off the session there after.