Skip to content

Converts ML research papers into runnable code repositories through a planning, analysis, and dependency-ordered coding pipeline.

CCM score
43 of 100
skills.sh installs
1.7K
GitHub stars
483
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the Paper2Code workflow: planning with UML and dependency graphs, per-file analysis, dependency-ordered coding, and debugging
  • Generates a standard repository layout with config.yaml, main.py, model.py, trainer.py, evaluation.py, and reproduce.sh
  • Enforces no fabricated settings by drawing all hyperparameters from the paper and noting ambiguous details explicitly
  • Designed for reproducing a paper's methods and works downstream of literature-search and experiment-code skills

Install

$ npx -y skills add lingzhi227/agent-research-skills --skill paper-to-code -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Paper to Code

Convert a research paper into a complete, runnable code repository.

Input

  • $0 — Paper PDF path, paper text, or paper URL

References

  • Paper2Code prompts (planning, analysis, coding stages): ~/.claude/skills/paper-to-code/references/paper-to-code-prompts.md

Workflow (from Paper2Code)

Stage 1: Planning

Four-turn conversation to create a comprehensive plan:

  1. Overall Plan: Extract methodology, experiments, datasets, hyperparameters, evaluation metrics
  2. Architecture Design: Generate file list, Mermaid classDiagram, sequenceDiagram
  3. Task Breakdown: Logic analysis per file, dependency-ordered task list, required packages
  4. Configuration: Extract training details into config.yaml

Stage 2: Analysis

For each file in the task list (dependency order):

  1. Conduct detailed logic analysis
  2. Map paper methodology to code structure
  3. Reference the config.yaml for all settings
  4. Follow the UML class diagram interfaces strictly

Details

Repository
github.com/lingzhi227/agent-research-skills
Categories
Research & Academic, Data Science & Analytics
First seen
Jun 3, 2026

More from lingzhi227/agent-research-skills

All 31

Similar to Paper To Code

More Research & Academic