claude-paper

by alaliqingβœ“ Verified

πŸ“š Claude Code plugin that automates research papers study with automatic material generation, code demonstrations, and interactive web viewer.

253
Stars
22
Forks
Vue
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/alaliqing/claude-paper

Getting Started

Guides for using skills like claude-paper.

Security Report

Verified

Last scanned: β€”

{
  "status": "PASSED",
  "issues": []
}

README.md

Claude Paper

Transform research papers into comprehensive learning environments

English | δΈ­ζ–‡

License: MIT Node Version Agent Skills

A research-paper learning plugin for Claude Code, Codex, OpenCode, and DeepSeek Harness. It preserves the same study workflow, generated materials, code demonstrations, and interactive web viewer across supported agents.

Library View
Library View - Browse and search your paper collection
Reading View
Reading View - Study papers with rich formatting and math support

Features

  • Automatic PDF parsing - Extract title, authors, abstract, links, and complete paper text
  • Context-safe previews - Save complete text to paper.txt while keeping a 50k preview in metadata
  • Code repository detection - Automatically finds GitHub, arXiv, CodeOcean links
  • Quick paper summaries - Screen a paper with a concise 300–500 word overview before a deep study
  • 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

Quick Start

Install all supported agents

Install Claude Code, Codex, OpenCode, and DeepSeek Harness with one commandβ€”no repository clone required:

npx --yes @zlzliqing/claude-paper@latest install

The default all target covers all four agents. For Claude Code, the installer uses the official Claude CLI to register the package-local marketplace and install or update the user-scoped plugin. For the other agents, it installs the shared Skills and OpenCode commands where applicable.

Install only selected agents when needed:

npx --yes @zlzliqing/claude-paper@latest install --target claude-code
npx --yes @zlzliqing/claude-paper@latest install --target codex
npx --yes @zlzliqing/claude-paper@latest install --target opencode
npx --yes @zlzliqing/claude-paper@latest install --target deepseek-harness

Upgrade an existing installation with the same formal distribution channel:

# Upgrade all supported agents
npx --yes @zlzliqing/claude-paper@latest upgrade

# Keep upgrading only the agents selected during installation
npx --yes @zlzliqing/claude-paper@latest upgrade --target codex,opencode

The default upgrade target is all. If the existing installation only targets selected agents, pass the same --target list during upgrade so no additional agent integrations are added.

The npm package copies its packaged plugin runtime to the user data directory, installs the generated compatibility Skills in ~/.agents/skills/ when a shared-Skills host is selected, and adds OpenCode commands when OpenCode is selected. It initializes ~/claude-papers/ only when the library does not already exist. Restart the selected agents after installation or upgrade.

Claude Code Marketplace-only alternative

If you only use Claude Code, you can still install directly from its marketplace:

/plugin marketplace add alaliqing/claude-paper
/plugin install claude-paper

Claude Paper currently runs through Agent Skills; no separate MCP server installation or configuration is required.

System Requirements

  • Node.js: 20.19.x, or 22.12.0 and higher
  • npm: Comes with Node.js
  • Agent host: Claude Code, Codex, OpenCode, or DeepSeek Harness
  • Claude Code CLI: Required when all or claude-code is selected
  • 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

Usage

Quickly Summarize a Research Paper

Ask the selected agent for a quick summary, or use the host command directly:

# Claude Code
/claude-paper:summary /path/to/paper.pdf

# OpenCode
/claude-paper-summary /path/to/paper.pdf

In Codex or DeepSeek Harness, ask for a quick paper summary or explicitly load the claude-paper-summary Skill. This creates quick-summary.md while preserving the PDF, complete paper.txt, and metadata in the shared paper library.

Study a Research Paper

Simply ask the selected agent 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

The agent will automatically trigger the study workflow and:

  1. Parse the PDF and extract metadata
  2. Analyze paper complexity and type
  3. Generate adaptive learning materials
  4. Create code demonstrations (if applicable)
  5. Extract and include original code (if available)
  6. Extract key figures and images
  7. Update the global search index
  8. Launch the web viewer automatically

Launch Web Viewer

# Claude Code
/claude-paper:webui

# OpenCode
/claude-paper-webui

In Codex or DeepSeek Harness, ask the agent to start the Claude Paper web viewer or explicitly load the claude-paper-webui Skill.

Opens 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

Paper Storage Structure

Papers are organized in ~/claude-papers/papers/{paper-slug}/:

~/claude-papers/
β”œβ”€β”€ papers/
β”‚   └── {paper-slug}/
β”‚       β”œβ”€β”€ paper.pdf                     # Original PDF file
β”‚       β”œβ”€β”€ paper.txt                     # Complete extracted text
β”‚       β”œβ”€β”€ meta.json                     # Paper metadata (title, authors, etc.)
β”‚       β”œβ”€β”€ quick-summary.md               # Concise screening summary (quick workflow)
β”‚       β”œβ”€β”€ 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

Architecture

Plugin Structure

claude-paper/
β”œβ”€β”€ package.json                       # npm distribution manifest
β”œβ”€β”€ bin/
β”‚   └── claude-paper.mjs              # npx install and upgrade entry point
β”œβ”€β”€ .claude-plugin/
β”‚   └── marketplace.json              # Claude Code marketplace catalog
β”œβ”€β”€ .codex-plugin/
β”‚   └── plugin.json                   # Codex plugin manifest
β”œβ”€β”€ .agents/skills/                   # OpenCode and DSH discovery entries
β”œβ”€β”€ .opencode/commands/               # OpenCode slash-command wrappers
β”œβ”€β”€ skills/                           # Codex packaged Skill adapters
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ sync-agent-adapters.mjs       # Deterministic adapter generator
β”‚   └── install-agent-adapters.mjs    # Cross-agent installer and upgrader
β”œβ”€β”€ 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
β”‚   β”‚   β”œβ”€β”€ summary/
β”‚   β”‚   β”‚   └── SKILL.md             # Quick summary workflow definition
β”‚   β”‚   └── webui/
β”‚   β”‚       └── SKILL.md             # Web viewer workflow definition
β”‚   β”œβ”€β”€ 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

Key Components

  1. Study Skill - Main workflow agent that orchestrates deep paper processing
  2. Summary Skill - Concise paper-screening workflow
  3. PDF Parser - Extracts text, metadata, and code links using pdf-parse
  4. Image Extractor - Python script for PDF figure extraction
  5. Web Viewer - Nuxt.js application with Nitro API server
  6. Hooks System - Claude Code lifecycle setup
  7. Agent Adapters - Generated discovery and invocation wrappers for Codex, OpenCode, and DeepSeek Harness

Development

Running Tests

# Verify cross-agent adapters and reviewed canonical Claude Skills
npm test

# Verify generated adapters are synchronized
npm run check:adapters

# 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

Verifying the npm Distribution

# Runs adapter checks and tests before producing the publishable tarball
npm pack --dry-run

Building for Production

# Build web viewer
cd plugin/src/web
npm run build

# The built viewer will be in .output/

Configuration

Environment Variables

No configuration required! The plugin uses sensible defaults:

  • Papers directory: ~/claude-papers/
  • Web viewer port: 5815
  • Metadata preview limit: 50,000 characters; complete extracted text remains in paper.txt

Advanced Customization

You can modify behavior by editing the skill file at: plugin/skills/study/SKILL.md


Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Add tests if applicable
  5. Commit your changes (git commit -m 'add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.


Acknowledgments

Frequently Asked Questions

What is claude-paper?βŒ„

claude-paper is an open-source code generation skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by alaliqing. πŸ“š Claude Code plugin that automates research papers study with automatic material generation, code demonstrations, and interactive web viewer. It has 253 GitHub stars.

Is claude-paper safe to use?βŒ„

Yes. claude-paper passed SkillsLLM's automated security scan β€” a dependency vulnerability audit plus prompt-injection heuristics β€” with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install claude-paper?βŒ„

Clone the repository with "git clone https://github.com/alaliqing/claude-paper" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is claude-paper written in?βŒ„

claude-paper is primarily written in Vue. It is open-source under alaliqing on GitHub, so you can review or fork the full source.

Are there alternatives to claude-paper?βŒ„

Yes. SkillsLLM lists many other Code Generation skills you can browse and compare side by side. Open the Code Generation category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-paper against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

figwright

by awdr74100

Free, two-way Figma MCP server. Turn designs into framework-aware code, and push code back to the canvas. Works with Claude Code, Cursor, Codex, and any MCP client.

⭐ 566β‘‚ 31TypeScript
Code Generation
View details β†’

kodit

by helixml

πŸ‘©β€πŸ’» MCP server to index external repositories

⭐ 122β‘‚ 13Go
Code Generation
View details β†’

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

⭐ 242,219β‘‚ 36,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details β†’
15

An agentic skills framework & software development methodology that works.

⭐ 234,966β‘‚ 20,863Shell
AI Agentsai-agentsbrainstorming
View details β†’

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

⭐ 201,881β‘‚ 60,308TypeScript
MCP Serversapisai-tools
View details β†’

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

⭐ 185,940β‘‚ 28,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details β†’

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

⭐ 128,868β‘‚ 8,826Rust
AI Agentsclaude-codeai-tools
View details β†’