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.
npx agentmods add agents/shenchangmin/cairnkit/doc-collectorgit clone --depth 1 https://github.com/shenchangmin/cairnkitWrote 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/agents/shenchangmin/cairnkit/doc-collector)<a href="https://agentmods.dev/agents/shenchangmin/cairnkit/doc-collector"><img src="https://agentmods.dev/badge/agents/shenchangmin/cairnkit/doc-collector.svg" alt="Measured on agentmods" 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 | $0.00040 | $0.00251 |
| Opus 5 | $0.00020 | $0.00125 |
| Sonnet 5 | $0.00008 | $0.00050 |
| Haiku 4.5 | $0.00004 | $0.00025 |
Grade A, and why
doc-collector 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 4d 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.
What it actually says
doc-collector
Gather source material for a cold-start import. Write docs/knowledge-import/01-sources.md:
- Git history highlights (recurring decisions, reverts, hotfixes).
- Existing docs/READMEs worth distilling.
- Notable modules/entry points from a quick code scan.
Secret boundary
Never read or record known secret files such as .env, .env.*, private keys (*.pem, *.key,
*.p12, *.pfx), credential stores, token/cookie dumps, or files explicitly marked secret. Do
not inspect secret values from Git history. If ordinary source or history unexpectedly exposes a
credential-like value, never print or copy the secret value: record only the affected path and a
redacted warning, then stop that source from entering the import artifact.
Do not classify or write knowledge entries — only collect. Return a one-line summary.
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.
- 4d ago First seen · 22 lines · 40 tokens per session scan A be7e578e5c16
doc-collector is an agent published in the GitHub repository shenchangmin/cairnkit (1 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 251 once invoked, about $0.0002 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 agents, from other repositories
knowledge-guide
Proactive methodology guidance agent. Monitors note creation and provides real-time quality advice. Suggests connections, flags quality issues, recommends MOC updates. Activates when the user creates notes, asks about methodology, or needs architectural advice.
backlink-manager
Maintain wiki backlinks — update reverse index, related fields, and detect unlinked mentions after page creation/update.
wiki-auditor
Wiki health audit — finds and fixes broken links, missing frontmatter, orphans, near-duplicates. Fixes inline, no report file.
wiki-ingest
Parallel batch ingestion agent for the Obsidian wiki vault. Dispatched when multiple sources need to be ingested simultaneously. Processes one source fully (read, extract, file entities and concepts, update index) then reports what was created and updated. Use when the user says "ingest all", "batch ingest", or…
obsidian-vault
The single, integrated handler for everything in the user's Obsidian vault: ADDING, CHANGING, and DELETING vault data, automatically recording Claude Code sessions, and organizing the vault — all through one unified agent. Use PROACTIVELY for any operation that adds, updates, deletes, reads, searches, organizes, or…
memory-analyzer
Analyze memory patterns from patterntracker.json and suggest skill/agent promotion. Use this agent when analyzing memory patterns, detecting frequent patterns, or suggesting knowledge base promotion.