/commonplace:paper-analyzerfrom commonplace
Analyzes research papers via arXiv ID, URL, or PDF using smart section-based extraction and multi-agent analysis. Includes citation analysis, figure extraction, and quality scoring.
Ships in commonplace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Analyze research papers with intelligent extraction that never loads entire PDFs into context. Uses section-based extraction adapted to paper length, multi-agent analysis for complex papers, and quality scoring to ensure thorough coverage.
Smart extraction adapts to paper structure. Even 100+ page papers stay within token budget because we extract only the critical sections (methods, results, experiments), never the full document.
When you receive a paper to analyze (arXiv ID, URL, or PDF path):
Acquire the paper if needed:
commonplace paper:fetch <arxiv-id-or-url>
Get paper info (minimal tokens):
commonplace paper:extract <pdf> info
Smart extraction (adapts to paper length):
commonplace paper:smart-extract <pdf> --save /tmp/<paper-slug>-extracted.txt
--save writes the extracted section text to a plain text file — reused later by the groundedness check in the reflection step (see paper-reflection-agent)Enrich metadata from external sources:
commonplace paper:enrich --arxiv-id <id>
Extract figure/table captions for reference:
commonplace paper:figures <pdf>
Analyze citations to understand the paper's context:
commonplace paper:citations <pdf>
Use single-agent analysis:
--save (gets nearly everything)references/analysis_structure.md for the analysis frameworkassets/output_template.mdUse multi-agent analysis for deeper coverage:
--savepaper-methodology-analyst and paper-results-interpreter agents in parallelpaper-reflection-agent to review quality (scores 0-100) — pass it the --save file path so it can run the groundedness checkCritical — agent context isolation: Subagents have completely isolated context windows. They cannot see the parent conversation, files you've read, or scripts you've run. Every agent prompt must be self-contained and include:
/tmp/papers/foo.pdf)commonplace commands directly — it's on PATH)Agents do have full tool access (Bash, Read, etc.) — the problem is they won't know what to operate on unless you tell them explicitly in the prompt.
The reflection loop is what makes analyses thorough — the reflection agent catches missing details, unsupported claims, and gaps that a single pass would miss.
When comparing multiple papers:
references/comparison_framework.mdcommonplace paper:compare <analysis1.md> <analysis2.md>
After writing an analysis, verify its completeness:
commonplace paper:quality <analysis.md> --min-score 60
The quality scorer checks for:
Target score: 80+ for production analyses. Scores below 60 indicate significant gaps.
Analyses use the template at assets/output_template.md. Key sections:
The TypeScript PDF extraction (pdfjs-dist) handles most academic papers well but has known issues with:
If extracted text looks garbled or truncated, note this in the analysis and work with whatever is available. The metadata enrichment (arXiv abstract, Semantic Scholar) can fill gaps.
references/analysis_structure.md — Detailed guide on structuring paper analyses with examplesreferences/comparison_framework.md — Framework for multi-paper comparative analysisassets/output_template.md — Markdown template for analysis outputWhat SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/autoimproveAutonomous vault improvement loop (writes changes). Use when user says 'improve the vault', 'autoimprove', 'fix what you can', 'what's the vault score'. Do NOT use for read-only diagnostics — that's wiki-lint./vault-skillRun one of the vault's own Claude Code skills (its .claude/skills/, e.g. a YouTube or project intake) from a session started outside the vault. Use when the user names a vault skill or asks to "run <name> from my vault"./wiki-compileFill concept stubs with citation-grounded definitions. Use when user says 'fill in the stubs', 'compile concepts', 'flesh out concepts', or as follow-up after wiki-lint reports stubs. Do NOT use for new sources not yet in vault — that's wiki-ingest./wiki-domainSet up, list, rename, or merge research domains. Use when user says 'add a domain for X', 'set up a domain', 'what domains exist', 'change scope of X domain', 'merge X and Y domains'. Do NOT speculatively fire on ingest prompts — wiki-ingest hands off explicitly when no domain matches./wiki-ingestALWAYS use when the user wants a source saved to the vault — pastes an arXiv ID/URL, says 'add this to the vault', 'save this', 'remember this', 'I found this interesting', or describes a specific finding/technique/project to capture. Do NOT activate for general topic conversation — only when there's explicit save intent or a concrete source (URL, paper ID, pasted content)./wiki-initUser-invoked setup: point commonplace at a folder for the first time or reconfigure the active vault. Writes the vault marker, scaffolds `.wiki/`, discovers initial domains/genres. Invoke explicitly via /wiki-init.commonplace@stray-bits-sanctuary is listed by noopz/stray-bits-sanctuary — review the source before installing
npx claudepluginhub noopz/stray-bits-sanctuary --plugin commonplaceOther plugins' skills for the same job