paper-wiki-starter

Claude-Code-driven scaffold: turn research PDFs into a hyperlinked Obsidian vault via paper-report / paper-idea / paper-experiment skills

🌐 English Β· δΈ­ζ–‡

paper-wiki-starter

A Claude-Code-driven scaffold for turning a pile of research paper PDFs into a hyperlinked Obsidian vault β€” concept pages, reading cards, cross-paper reports, research ideas, and experiment plans.

This repository contains the framework: workflow rules, prompt templates, Claude skills, and a bootstrap script. It contains zero paper content, zero personal notes, and zero model weights. You bring those.

Note: the paper-write skill (end-to-end manuscript drafting) is not included in this initial release. A similar workflow will be added in a future update. The three shipped skills β€” paper-report, paper-idea, and paper-experiment β€” are fully functional standalone.


What you get

  • 3 Claude Code skills that turn natural-language questions into structured wiki entries:
    • paper-report β€” cross-paper synthesis, intent-aware (gap-finding / landscape / method-compare / …)
    • paper-idea β€” research-idea scouting with mandatory novelty check
    • paper-experiment β€” transferable experiment plans with "steal-able" baselines, datasets, metrics
  • Prompt templates (schema/prompts/) covering NotebookLM paper review, Claude concept update, and wikilink conventions
  • Bootstrap scripts that install the surrounding CLI stack (MinerU, qmd, NotebookLM CLI, endnote-cli, kepano's obsidian-skills bundle) with a single command
  • Deterministic audit helpers (scripts/concept-audit.py) for periodic wiki health checks

Architecture at a glance

raw/ (PDFs + MinerU output)
    β”‚
    β–Ό
CLI tools: mineru β†’ qmd β†’ obsidian-cli β†’ notebooklm β†’ endnote-cli
    β”‚
    β–Ό
Claude skills: paper-report ← paper-idea, paper-experiment
    β”‚
    β–Ό
wiki/ (concepts, papers, reports, ideas, experiments)

Full picture: architecture.md Β· Workflow rules: CLAUDE.md

Quick start

On a fresh machine with Claude Code installed:

git clone https://github.com/TCMzhoutong/paper-wiki-starter.git
cd paper-wiki-starter
./scripts/bootstrap.sh

Then open Claude Code in the repo directory and follow the prompts. For the full deployment walk-through (including the steps that can't be automated β€” NotebookLM OAuth, Obsidian install, EndNote), see BOOTSTRAP.md.

Prerequisites

Required: git, conda, node β‰₯ 22, npm, python β‰₯ 3.10, Claude Code.

Installed automatically by the bootstrap: MinerU, qmd, notebooklm-py, endnote-cli, kepano/obsidian-skills bundle.

Manual install (bootstrap tells you when): Obsidian desktop app, NotebookLM OAuth login, EndNote (optional).

Full dependency matrix with upstream URLs and licenses: DEPENDENCIES.md.

Directory layout

paper-wiki-starter/
β”œβ”€β”€ CLAUDE.md                  ← session-wide rules for Claude Code
β”œβ”€β”€ architecture.md            ← how the pieces fit
β”œβ”€β”€ BOOTSTRAP.md               ← Claude-Code-facing deploy prompt
β”œβ”€β”€ DEPENDENCIES.md            ← third-party inventory + licenses
β”œβ”€β”€ skills.lock.yaml           ← machine-readable dep spec
β”œβ”€β”€ schema/prompts/            ← templates (paper cards, concept updates, NotebookLM prompts)
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ bootstrap.sh           ← one-shot deploy
β”‚   β”œβ”€β”€ install-skills.sh      ← Claude skills + CLI wrappers
β”‚   β”œβ”€β”€ check-env.sh           ← status report
β”‚   β”œβ”€β”€ batch-read.sh          ← headless bulk paper-card generation
β”‚   └── concept-audit.py       ← wiki health check
β”œβ”€β”€ skills/                    ← first-party Claude skills (shipped)
β”‚   β”œβ”€β”€ paper-report/
β”‚   β”œβ”€β”€ paper-idea/
β”‚   └── paper-experiment/
β”œβ”€β”€ setup.sh                   ← environment installer (conda + MinerU + qmd + Ollama)
β”œβ”€β”€ add-paper.sh               ← PDF β†’ Markdown β†’ qmd-indexed workflow
β”œβ”€β”€ wiki/                      ← YOUR curated notes (gitignored)
└── raw/                       ← YOUR PDFs + MinerU output (gitignored)

Canonical workflows

WorkflowTrigger phrase in ClaudeOutput
Add paperDrop PDF, run ./add-paper.shwiki/papers/<title>.md
Research report"write a report on X", "compare A vs B"wiki/reports/<topic>_<date>.md
Idea scouting"find ideas in X", "/idea X"wiki/ideas/<slug>_<date>.md
Experiment plan"baseline for X", "/experiment X"wiki/experiments/<slug>_<date>.md

Details for each workflow β€” intent detection, block assembly, validation gates β€” live inside the respective skill's SKILL.md.

Bulk paper reading

For ingesting tens or hundreds of papers at once without bloating a single Claude Code session's context:

./add-paper.sh                 # MinerU-convert all PDFs in raw/pdf/
./scripts/batch-read.sh        # headless loop: one `claude -p` per paper

Run this from a regular terminal (PowerShell / Git Bash), not from inside an interactive Claude Code session. Each paper runs in its own fresh Claude context β€” no carry-over, no bloat. The script is idempotent (skips papers whose cards already exist) and safe to Ctrl-C and resume. Progress is streamed to batch-read.log.

After the batch finishes, ask Claude Code once to run the ζ ‘ιͺŒη»΄ζŠ€ζ΅η¨‹ (concept health audit). This dedupes concepts and resolves alias conflicts across the whole batch in a single pass β€” the designed-in "cleanup stage" that keeps bulk mode fast.

License

  • Code (.sh, .py, .yaml, .json) β€” MIT
  • Content (prompt templates, skill instructions, documentation prose) β€” CC-BY-NC-4.0

Commercial use of the prompt templates requires separate licensing. Non-commercial academic, personal, and research use is explicitly permitted.

Contributing

See CONTRIBUTING.md. Short version: framework improvements welcome, personal notes aren't. Don't PR PDFs.

Acknowledgements

Stands on the shoulders of:

Related

How to Install

  1. Download the ZIP or clone the repository
  2. Open the folder as a vault in Obsidian (File β†’ Open Vault)
  3. Obsidian will prompt you to install required plugins

Stats

Stars

1

Forks

0

License

MIT

Last updated 4mo ago

Categories