Transform research papers into comprehensive learning environments
A powerful Claude Code plugin that automates research paper study through intelligent material generation, code demonstrations, and an interactive web viewer.
Library View - Browse and search your paper collection |
Reading View - Study papers with rich formatting and math support |
- Automatic PDF parsing - Extract title, authors, abstract, and full content
- Smart content truncation - Handles large papers (50k char limit) intelligently
- Code repository detection - Automatically finds GitHub, arXiv, CodeOcean links
- Adaptive learning materials - Generates README, summary, insights, Q&A based on paper complexity
- Code demonstrations - Clean implementations with Jupyter notebooks and original code integration
- Interactive web viewer - Nuxt.js interface with math equation support (KaTeX)
- Intelligent assessment - Difficulty levels and paper type detection for adaptive content generation
Install from the Claude Code marketplace:
# Add the marketplace
/plugin marketplace add alaliqing/claude-paper
# Install the plugin
/plugin install claude-paper
# Restart Claude Code for the plugin to take effectThat's it! The plugin will automatically:
- Install all dependencies (pdf-parse for PDF processing)
- Create the papers directory at
~/claude-papers/ - Initialize the search index
- Install web viewer dependencies
- Node.js: 18.0.0 or higher
- npm: Comes with Node.js
- Claude Code: Latest version with plugin support
- poppler-utils: For PDF image extraction (install via system package manager)
- macOS:
brew install poppler - Ubuntu/Debian:
sudo apt-get install poppler-utils - Arch Linux:
sudo pacman -S poppler
- macOS:
Simply talk to Claude Code to study a paper:
Help me study the paper at ~/Downloads/attention-is-all-you-need.pdf
You can also use URLs:
# Direct PDF URL
Help me study the paper at https://arxiv.org/pdf/1706.03762.pdf
# arXiv abstract URL (automatically converted to PDF)
Help me study the paper at https://arxiv.org/abs/1706.03762
Claude will automatically trigger the study workflow and:
- Parse the PDF and extract metadata
- Analyze paper complexity and type
- Generate adaptive learning materials
- Create code demonstrations (if applicable)
- Extract and include original code (if available)
- Extract key figures and images
- Update the global search index
- Launch the web viewer automatically
/claude-paper:webuiOpens the interactive web interface at http://localhost:5815 where you can:
- Browse all studied papers
- View generated materials with math rendering
- Access code demonstrations and notebooks
- Search through your paper library
Papers are organized in ~/claude-papers/papers/{paper-slug}/:
~/claude-papers/
βββ papers/
β βββ {paper-slug}/
β βββ paper.pdf # Original PDF file
β βββ meta.json # Paper metadata (title, authors, etc.)
β βββ README.md # Quick navigation and overview
β βββ summary.md # Detailed summary
β βββ insights.md # Key insights (most important!)
β βββ method.md # Methodology (if complex)
β βββ mental-model.md # Paper categorization (if needed)
β βββ reflection.md # Future directions (if needed)
β βββ qa.md # Learning questions
β βββ index.html # Interactive HTML explorer
β βββ images/ # Extracted figures and tables
β β βββ fig1.png
β β βββ fig2.png
β βββ code/ # Code demonstrations
β βββ core-demo.py # Clean reference implementation
β βββ concept-demo.ipynb # Interactive Jupyter notebook
β
βββ index.json # Global search index
claude-paper/
βββ .claude-plugin/
β βββ marketplace.json # Marketplace catalog entry
βββ plugin/
β βββ .claude-plugin/
β β βββ plugin.json # Plugin manifest
β βββ skills/
β β βββ study/
β β βββ SKILL.md # Study workflow definition
β β βββ scripts/
β β βββ parse-pdf.js # PDF parsing utility
β β βββ extract-images.py # Image extraction
β βββ commands/
β β βββ webui.md # /webui command
β βββ hooks/
β β βββ hooks.json # Session lifecycle hooks
β β βββ check-install.sh # Installation verification
β βββ src/
β β βββ web/ # Nuxt.js web viewer
β β βββ components/ # Vue components
β β βββ composables/ # Vue composables
β β βββ server/ # API endpoints
β β βββ package.json
β βββ package.json
βββ README.md
- Study Skill - Main workflow agent that orchestrates paper processing
- PDF Parser - Extracts text, metadata, and code links using pdf-parse
- Image Extractor - Python script for PDF figure extraction
- Web Viewer - Nuxt.js application with Nitro API server
- Hooks System - Automatic dependency installation and setup
# Test PDF parsing
node plugin/skills/study/scripts/parse-pdf.js /path/to/paper.pdf
# Test web viewer
cd plugin/src/web
npm run dev
# Test full workflow
cd /path/to/claude-paper
claude --plugin-dir ./plugin
/claude-paper:study /path/to/paper.pdf# Build web viewer
cd plugin/src/web
npm run build
# The built viewer will be in .output/No configuration required! The plugin uses sensible defaults:
- Papers directory:
~/claude-papers/ - Web viewer port:
5815 - Content limit:
50,000characters (with intelligent truncation)
You can modify behavior by editing the skill file at:
plugin/skills/study/SKILL.md
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Add tests if applicable
- Commit your changes (
git commit -m 'add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Claude Code
- PDF parsing powered by pdf-parse
- Web viewer built with Nuxt.js
- Math rendering by KaTeX

