Skip to content
Data
Command

/init

Scaffold a new PaperLoom at the configured path (or at an optional path argument). Idempotent — fills missing files without clobbering existing ones.

From plugin
paperloom
954 skills4 agents4 commands

Command definition

init.md
description: Scaffold a new PaperLoom at the configured path (or at an optional path argument). Idempotent — fills missing files without clobbering existing ones.
argument-hint: "[vault-path]"

/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

1. Pick the vault path per the precedence above. Pass the raw path to the script — the script expands `~` and env vars itself.

2. 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.md` and the five view pages from `templates/` if missing. Never overwrites.
  • Seeds `.obsidian/` from the bundled `templates/dot-obsidian/` (Dataview plugin files + `community-plugins.json` pre-enabling it, plus baseline `app.json` / `appearance.json` / `core-plugins.json`). Existing files are never overwritten.
  • Appends one line to `log.md`.
  • Prints a created/skipped report.

3. 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.
Read more
@trapoom555
Ships withpaperloom

Claude Code Plugin for Self-maintaining research knowledge graph for Claude Code + Obsidian

Stars on GitHub

Momentum

stars in total
95
Star history of trapoom555/claude-paperloom on GitHub, a chart by star-history.com

Other commands on paperloom.

ingest

ingest

Command

Lite ingest — fetch a paper and write a short 4-section triage summary (Key Takeaways, Background, Main Idea & Summary,…

@trapoom555@trapoom555Install Command
lint

lint

Command

Scan the vault for orphan pages, frontmatter schema drift, duplicate findings, unmarked contradictions, and stale wikilinks.…

@trapoom555@trapoom555Install Command
query

query

Command

Ask a question of the research vault. Searches papers and findings, synthesizes an answer with wikilink citations.

@trapoom555@trapoom555Install Command

More commands from other plugins.

COMMANDS.generated

COMMANDS.generated

Command

<!-- Generated from backend/logic/schema.py. Do not edit. Run `hogli build:projections`. -->

posthog4d41k
@posthog@posthogInstall Command
recall
Auto-invoked

recall

Command

Search past session observations and lessons for relevant context. Wrap the `memory_smart_search` and `memory_lesson_recall` MCP…

@rohitg00@rohitg00Install Command