Sandbox
@trapoom555/claude-paperloom

Claude Code plugin for an Obsidian research graph

Claude Paperloom is a Claude Code plugin that turns papers into an Obsidian knowledge graph. It fetches a paper from a URL, arXiv ID, DOI, or PDF, writes structured notes, extracts atomic findings, and connects them with typed edges like `supports` and `contradicts`.

95 stars10 forksJavaScriptUpdated 4mo ago
Who it's for

Builders who want Claude Code to file research papers into Obsidian and keep them linked over time.

What it delivers

You can drop in a paper and get a structured note, extracted claims, and graph links without manual filing.

What it does

Paper ingest command

`/paperloom:ingest` fetches a URL, arXiv ID, DOI, or PDF, then summarizes and files the paper into the vault.

Research triage summary

Each paper gets a 4-section summary: Key Takeaways, Background, Main Idea & Summary, and Critique.

Atomic findings graph

Claims are split into one finding per file with frontmatter and backlinks so they can be linked across papers.

Typed relations

The graph uses relations like `supports`, `contradicts`, `extends`, `uses`, and `similar-to`, with paper-level aggregation.

Deterministic citation matching

It matches references by arXiv ID, DOI, title, or author-year without sending the reference list to the model.

Obsidian views

It ships Dataview views for authors, fields, contradictions, credibility, and recent papers.

Plugin scaffold

The package includes Claude Code plugin metadata, commands, agents, templates, and pipeline scripts.

README

claude-paperloom

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

License: Apache 2.0 Claude Code Obsidian

Research knowledge graph in Obsidian — yellow nodes are papers, green are findings, blue are fields, red are authors Per-paper info page with 4-section summary, findings, and edges
Knowledge graph view — 🟡 papers · 🟢 findings · 🟣 fields · 🔴 authors. Example shown: Typhoon.AI research papers. Per-paper info page — 4-section summary (incl. critique), atomic findings, metadata + quality scores, and typed edges to related work.

Keep every paper you care about. See how they connect. Drop in a URL, arXiv ID, DOI, or PDF — Claude files it into an Obsidian vault, extracts the atomic claims, and wires them to everything you've read before with typed edges: supports, contradicts, extends, uses, similar-to.

Based on Andrej Karpathy's LLM Wiki pattern, tuned for research papers. 4 LLM calls per paper. Zero manual filing. Linking cost stays constant as the graph grows.


Features

  • 4-section triage summary per paper — Key Takeaways → Background → Main Idea & Summary → Critique. The critique is generated by a reasoning model, so you get critical thinking, not a polite restatement of the abstract.
  • Structured metadata + quality scores — authors, venue, date, fields, and a quality assessment (credibility, experimental rigor, reproducibility) on every paper.
  • Atomic findings as graph nodes — one claim per file, with frontmatter and backlinks.
  • Typed edgessupports, contradicts, extends, uses, similar-to; auto-aggregated to paper-level (cites, builds-on, …).
  • Deterministic citation matching — arXiv ID → DOI → fuzzy title → first-author+year. The LLM never sees the reference list.
  • Constant-cost linking — pre-filter caps the LLM at ≤30 candidate findings, so the 100th paper costs the same as the 10th.
  • Cross-paper contradiction surfacing — bidirectional, with a pre-built Dataview view.
  • Pre-built Dataview views — by-author, by-field, contradictions, high-credibility, recent-papers.
  • Obsidian-native — plain wikilinks + YAML frontmatter, no custom app, no lock-in.

Quick Start

# 1. Install the plugin
claude --plugin-dir /path/to/claude-paperloom

# 2. Scaffold your vault (default ~/PaperLoom)
#    On first run, this creates `.venv` at the plugin root and installs
#    dependencies from `requirements.txt` automatically.
/paperloom:init

# 3. Ingest your first paper
/paperloom:ingest https://arxiv.org/abs/1706.03762

Open the vault folder in Obsidian and turn off Restricted Mode once to activate Dataview.


Commands

You runClaude does
/paperloom:init [path]Scaffold the vault. Idempotent. Seeds Dataview.
/paperloom:ingest <url|arxiv-id|doi|pdf>Fetch, summarize, extract findings, link. Skips if already in vault.
/paperloom:query <question>Search + synthesize across the vault with wikilink citations.
/paperloom:lintHealth check. Auto-wires near-duplicate findings with bidirectional similar-to.

Docs

  • Pipeline — the 4-LLM-call ingest pipeline, section detection, models, token cost.
  • Linking — five-layer linking, relation types, paper-level aggregation.
  • Architecture — vault layout, plugin structure, design principles, out-of-scope.

Files in the repo

Repository payload10 top-level entries
  • .claude-plugin
  • agents
  • commands
  • docs
  • scripts
  • templates
  • .gitignore
  • LICENSE.txt
  • README.md
  • requirements.txt

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More plugins

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

138k
1 add

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

82k
code-yeongyu/
oh-my-openagent

OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.

69k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

94k

Opinionated Oxlint rules for rejecting low-evidence TypeScript and JavaScript patterns

4.3k