paper2code

Convert research papers into executable code via YAML-based intermediate representation.

35|2|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/proyecto26/sherlock-ai-plugin --skill paper2code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper2code
Source: https://github.com/proyecto26/sherlock-ai-plugin/tree/main/skills/paper2code
Command: npx skills add https://github.com/proyecto26/sherlock-ai-plugin --skill paper2code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes research papers and converts them into executable code using a YAML-first intermediate representation to ensure reproducibility and blueprinting before coding.

Core Features & Use Cases

  • YAML-driven extraction: captures algorithms, equations, pseudocode, and experimental details as a structured plan.
  • Multi-phase workflow: Phase 0 reference search, Phase 1 algorithm extraction, Phase 2 concept analysis, Phase 3 code planning, Phase 4 code generation.
  • Reproducible codebase: outputs ready-to-run project scaffolding and guidelines for implementation.

Quick Start

To begin, provide a paper URL or PDF and request "implement this paper." The skill will produce phase outputs and a runnable plan.

Frequently Asked Questions about paper2code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a research paper PDF to executable code?

You can convert a research paper PDF to executable code by providing the document URL or file to a YAML-driven pipeline. It extracts algorithms and pseudocode to produce a structured, runnable codebase plan for reproducible implementations.

What is YAML-based intermediate representation for paper-to-code conversion?

YAML-based intermediate representation for paper-to-code conversion is a structured format that captures algorithms, equations, and experimental details from papers. It blueprints the reproducible codebase before generating the final code.

Can I use arXiv URLs for algorithm extraction from research papers?

Yes, you can use arXiv URLs directly for algorithm extraction from research papers. The pipeline accepts arXiv URLs, PDF files, or converted text to analyze the document and extract algorithms into a structured YAML plan.

Does converting papers to runnable code require strict adherence to the source?

Yes, converting papers to runnable code requires strict adherence to the source to ensure reproducible implementations. The extraction pipeline captures exact algorithms, equations, and experimental details directly from the provided research paper.

How does pseudocode extraction work during code generation from academic papers?

Pseudocode extraction during code generation from academic papers works by analyzing the document through a multi-phase workflow. It isolates algorithms and equations into a structured YAML plan, which then scaffolds a ready-to-run project implementation.

What are the limitations of automated reproducibility for extracted algorithms?

Automated reproducibility for extracted algorithms is limited by the clarity of the original paper's pseudocode and experimental details. Complex or ambiguous equations may require manual verification to ensure the generated codebase runs accurately.