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 skills/thoreinstein/obsidian-rag/compoundnpx skills add thoreinstein/obsidian-rag --skill compoundgit clone --depth 1 https://github.com/thoreinstein/obsidian-ragWrote 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/skills/thoreinstein/obsidian-rag/compound)<a href="https://agentmods.dev/skills/thoreinstein/obsidian-rag/compound"><img src="https://agentmods.dev/badge/skills/thoreinstein/obsidian-rag/compound.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.00042 | $0.00413 |
| Opus 5 | $0.00021 | $0.00206 |
| Sonnet 5 | $0.00008 | $0.00083 |
| Haiku 4.5 | $0.00004 | $0.00041 |
Grade A, and why
compound 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 3d 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.
This is a copy
100% identical to compound — 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.
What it actually says
Compound Knowledge Promotion
Identify knowledge that has crystallized across multiple projects and promote it to a global Engineering/ note.
Workflow
-
Scan project knowledge dirs — Call
obsidian_list_noteswithsubfolder: "working". Filter results to paths matchingworking/*/knowledge/*.md. -
Semantic clustering — For each knowledge note path, call
obsidian_rag_querywith the note filename (without extension) as query,limit: 8. Track which notes appear in results from 2+ different projects — these are candidates. -
Read candidates — Call
obsidian_read_noteon shortlisted files. Look for shared definitions, patterns, or insights worth generalizing. -
Draft global note — Compose a new
Engineering/<ConceptName>.mdwith:- Frontmatter:
type: concept,created: <today> - Synthesized body (not copy-paste — rewrite for clarity)
## Source Notessection with[[wikilinks]]back to originating notes
- Frontmatter:
-
Show draft to user — Present the proposed note content and path before creating. Ask for confirmation.
-
Create on approval — Call
obsidian_create_notewith the approved content. -
Report cross-links — List which project knowledge notes should now add
[[ConceptName]]to avoid re-discovering this knowledge next time.
Arguments
Optional topic hint: /compound authentication patterns
Tips
- If
obsidian_rag_queryreturns no results, suggest running/indexfirst - If no notes appear in 2+ projects, report that and suggest manual promotion
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.
- 3d ago First seen · 46 lines · 42 tokens per session scan A d5e3b1e05af0
compound is a skill published in the GitHub repository thoreinstein/obsidian-rag (2 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 413 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to compound, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
cdb-scan
Map this codebase into project memory — a code graph of every symbol and how they connect, plus a written profile of stack, layout, conventions and workflows. Re-run any time to refresh both in place. Use when memory is newly installed on an existing project, or when the project has changed enough that the stored map…
superbrain-distill
Internal SuperBrain skill — run by the detached capture child to distill a session-event delta into routed Obsidian notes. Not for direct user invocation.
checkpoint
Save the current session to TokenMizer graph memory. Creates a persistent checkpoint with all tasks, decisions, files, and errors — resumable in any future session. Use when user says "save", "checkpoint", "remember this", "I'm done for today", or session is getting long.
resume
Load a previous session from TokenMizer graph memory. Returns a compact context block (100-600 tokens) covering goals, completed work, decisions, open tasks, and files. Inject this as system context to continue exactly where you left off. Use when user says "resume", "continue from last time", "load my project", "what…
garden-tending
Tend the knowledge garden — diagnose vault health, condense project memos into project.md overviews, create/merge cross-project topics, fix broken links, archive superseded notes, extend trails. Trigger on "tend the garden", "condense", "update project overview", "check vault health", "where are we with X?", "what…
curator-practice
Operating philosophy for autonomous memex curator tending — orientation protocol, signal triage, bounded work units, initiative thresholds, logging conventions. Trigger on cron-launched runs with no user prompt, "use your judgment", "tend without instructions", "do a pass on the vault", "I'll be away — do what needs…