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 commands/trapoom555/claude-paperloom/initgit clone --depth 1 https://github.com/trapoom555/claude-paperloomWhat 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.00034 | $0.00519 |
| Opus 5 | $0.00017 | $0.00260 |
| Sonnet 5 | $0.00007 | $0.00104 |
| Haiku 4.5 | $0.00003 | $0.00052 |
Grade A, and why
init 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.
What it actually says
/paperloom:init
Scaffold the Obsidian vault that PaperLoom uses. All filesystem work is done by scripts/init_vault.py — this command just resolves the path and shells out.
Inputs
$ARGUMENTS— optional vault path. Precedence: argument >${CLAUDE_PLUGIN_CONFIG:vault_path}>~/PaperLoom.
Steps
-
Pick the vault path per the precedence above. Pass the raw path to the script — the script expands
~and env vars itself. -
Bootstrap the plugin venv if it doesn't already exist, then run the scaffolder:
if [ ! -x "${CLAUDE_PLUGIN_ROOT}/.venv/bin/python3" ]; then python3 -m venv "${CLAUDE_PLUGIN_ROOT}/.venv" \ && "${CLAUDE_PLUGIN_ROOT}/.venv/bin/pip" install -r "${CLAUDE_PLUGIN_ROOT}/requirements.txt" fi "${CLAUDE_PLUGIN_ROOT}/.venv/bin/python3" "${CLAUDE_PLUGIN_ROOT}/scripts/init_vault.py" "<vault-path>"The script:
- Resolves the absolute path, prints it ("Using vault: /Users/...").
- Creates
papers/ findings/ authors/ fields/ views/ .sources/. - Copies
CLAUDE.md,index.md,log.mdand the five view pages fromtemplates/if missing. Never overwrites. - Seeds
.obsidian/from the bundledtemplates/dot-obsidian/(Dataview plugin files +community-plugins.jsonpre-enabling it, plus baselineapp.json/appearance.json/core-plugins.json). Existing files are never overwritten. - Appends one line to
log.md. - Prints a created/skipped report.
-
Relay the script's stdout to the user verbatim. Remind them to turn off Obsidian's Restricted Mode once on first vault open so the bundled Dataview plugin can load.
Guardrails
- Do NOT write to the vault yourself. The script is the single writer.
- If the script exits non-zero, surface its stderr and stop.
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 · 42 lines · 34 tokens per session scan A a90161687070
init is a command published in the GitHub repository trapoom555/claude-paperloom (95 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 519 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-30.
Other commands, from other repositories
wiki-graph
Build the LLM Wiki knowledge graph.
wiki-ingest
Ingest a source document into the LLM Wiki.
wiki-lint
Health-check the LLM Wiki for issues.
wiki-query
Query the LLM Wiki and synthesize an answer.
kg-ingest
Ingest a source document into the Knowledge Graph - extract entities, concepts, create wiki pages.
kg-init
Initialize a new Knowledge Graph with raw/ and wiki/ structure.