Takes a research paper PDF or text and generates a complete, runnable code repository through a three-stage pipeline: planning (UML diagrams, dependency graphs), analysis (per-file logic mapping), and coding (dependency-ordered generation). The workflow is methodical, maybe overly so, generating everything from config.yaml to reproduce.sh scripts while strictly following the paper's methodology without inventing improvements. Useful when you need to replicate published results rather than just understand the approach. The constraint to generate code in dependency order and never fabricate hyperparameters keeps it honest, though you'll still need to debug if the paper glosses over implementation details. Best for papers with clear experimental setups rather than purely theoretical work.

skills.sh installs
1.6K
GitHub stars
459
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/lingzhi227/agent-research-skills
Categories
DevOps & CI/CD, AI & Agent Building, Data Science & ML, Productivity & Planning, Automation & Workflows, Sales & Marketing
First seen
Jun 3, 2026

More from lingzhi227/agent-research-skills

All 31
1astronomer avatarmanaging-astro-local-envastronomer/agentsManage local Airflow environment with Astro CLI (Docker and standalone modes). Use when the user wants to start, stop, or restart Airflow, view logs, query the 1.6Kskills.sh installs
2lingzhi227 avatarpaper-assemblylingzhi227/agent-research-skillsOrchestrate the full paper pipeline end-to-end. Manage state propagation between phases (literature → plan → code → experiments → figures → tables → writing → r1.6Kskills.sh installs
3adobe avatarblock-collection-and-partyadobe/skillsUse this when you are starting AEM Edge Delivery Services (EDS, Franklin, Helix) development and want an existing reference to build from, such as a block, buil1.6Kskills.sh installs
4adobe avatargenerate-import-htmladobe/skillsUse this when the page-import pipeline needs to produce structured HTML from authoring analysis for AEM Edge Delivery Services. Covers building section structur1.6Kskills.sh installs
5adobe avataridentify-page-structureadobe/skillsUse this when the page-import pipeline needs to identify section boundaries and content sequences within a scraped webpage for AEM Edge Delivery Services import1.6Kskills.sh installs
6nvidia avatartao-generate-image-groundingnvidia/skillsTwo-step image grounding pipeline: extracts referring expressions from (image, caption) pairs and grounds them to pixel-space bounding boxes via a VLM. Use when1.6Kskills.sh installs