Agent skill

Paper To Code

by lingzhi227 in lingzhi227/agent-research-skills

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

No licenceAuto-check passedResearch & Science

Install Paper To Code

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lingzhi227/agent-research-skills paper-to-code --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lingzhi227/agent-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/paper-to-code .claude/skills/paper-to-code && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
paper-to-code
GitHub stars
384
Token cost
~793 tokens
SKILL.md length
304 words
Files
2 (incl. references)
Skills in repo
31
Repo updated
First seen
Licence
None found

At a glance

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

  • Works in 4 steps: Planning → Analysis → Coding → …
  • Reproducing paper methods
  • SKILL.md covers Input, References, Workflow (from Paper2Code) and Output Structure, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Paper To Code is an agent skill from lingzhi227/agent-research-skills. Convert an ML research paper into a complete, runnable code repository. 3-stage pipeline from Paper2Code — Planning (UML + dependency graph) → Analysis (per-file logic) → Coding (dependency-ordered generation). Use for reproducing paper methods.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/paper-to-code-prompts.md`).

It sits in Research & Science, covering Diagrams. The repository describes itself as: Skills for Claude Code — deep-research: systematic academic literature review.

When your agent uses it

  • Reproducing paper methods
  • Tasks that involve Diagrams

Example prompts

  • “/paper-to-code”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Planning
  2. Analysis
  3. Coding
  4. Debugging (if needed)

What it can do on your machine

Read from SKILL.md and the folder at commit 9e6c085. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Paper To Code loads about 793 tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 65 tokens; SKILL.md has 304 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~793
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 304 words (~793 tokens).

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

— opening of SKILL.md by lingzhi227
name
paper-to-code
argument-hint
paper-pdf-or-text

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in skills/paper-to-code of lingzhi227/agent-research-skills.

  • SKILL.md
  • references/paper-to-code-prompts.md

Open the folder on GitHubat commit 9e6c085

Compare with similar skills

Paper To Code next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Paper To Code compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Paper To Code this skilllingzhi227/agent-research-skills384—~793Automated safety check: PassNone
Paper Analyzerzsyggg/paper-craft-skills1.3k—~1.9kAutomated safety check: PassNone
Mapping To Snomedmaziyarpanahi/openmed5.5k—~2.1kAutomated safety check: PassApache-2.0
New Diagrampedrohcgs/claude-code-my-workflow1.6k—~1.8kAutomated safety check: NotesMIT
Mat Defect Energy Dftlearningmatter-mit/AtomisticSkills176—~1.6kAutomated safety check: PassMIT
Joap Tables Figuresbrycewang-stanford/Awesome-Journal-Skills1.2k—~1.7kAutomated safety check: PassMIT

Similar skills

  • Paper Analyzer

    zsyggg/paper-craft-skills

    将学术论文转化为深度HTML长文。6轮强制工作流、代码仓库搜索、公式渲染、Mermaid图表. An agent skill from zsyggg/paper-craft-skills.

    1.3k GitHub stars~1.9k tokensUpdated 4 mo ago
    Research & ScienceAuto-check passed
  • Mapping To Snomed

    maziyarpanahi/openmed

    Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary.

    5.5k GitHub stars~2.1k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • New Diagram

    pedrohcgs/claude-code-my-workflow

    Scaffold a new TikZ diagram from the snippet gallery with prevention rules pre-applied (explicit node dimensions, coordinate map, directional edge labels).

    1.6k GitHub stars~1.8k tokensUpdated 11 days ago
    Research & ScienceAuto-check: notes
  • Mat Defect Energy Dft

    learningmatter-mit/AtomisticSkills

    Calculate charged defect formation energies and transition level diagrams using pymatgen-analysis-defects and atomate2 VASP workflows.

    176 GitHub stars~1.6k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Joap Tables Figures

    brycewang-stanford/Awesome-Journal-Skills

    A skill your agent uses when building tables and figures for a Journal of Applied Psychology (JAP) manuscript in APA 7th-edition style — correlation/descriptives tables, CFA/SEM path diagrams…

    1.2k GitHub stars~1.7k tokensUpdated 11 days ago
    Research & ScienceAuto-check passed
  • Molecode

    AtomFlow-AI/MoleCode

    A skill your agent uses for deterministic molecule understanding, graph-level editing, generation, and validation with MoleCode — an explicit Mermaid graph in which every atom and bond is a typed…

    305 GitHub stars~1.9k tokensUpdated 4 mo ago
    Research & ScienceAuto-check passed

More from lingzhi227/agent-research-skills

All 31 skills in this repo
  • Backward Traceability

    lingzhi227/agent-research-skills

    Makes each number in a LaTeX paper link back to the code line that produced it, using hypertarget and hyperlink tags and compile-time `\num` formulas.

    384 GitHub stars~802 tokensUpdated 7 mo ago
    Auto-check passed
  • Statistical Data Analysis

    lingzhi227/agent-research-skills

    Writes statistical analysis code for experimental data, runs it through a four-round review, and reports effect sizes, p-values and confidence intervals.

    384 GitHub stars~886 tokensUpdated 7 mo ago
    Auto-check passed
  • Excalidraw Canvas Toolkit

    lingzhi227/agent-research-skills

    Draws and refines Excalidraw diagrams on a live canvas through MCP tools or a REST API, with screenshots, file import and export, snapshots and Mermaid conversion.

    384 GitHub stars~3.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Research Experiment Designer

    lingzhi227/agent-research-skills

    Plans research experiments in four progressive stages, from a first working implementation through baseline tuning and creative research to ablation studies.

    384 GitHub stars~752 tokensUpdated 7 mo ago
    Auto-check passed
  • Scientific Figure Generation

    lingzhi227/agent-research-skills

    Generates publication-quality scientific figures with matplotlib or seaborn through query expansion, a run-and-retry coding loop and a visual check of the rendered PNG.

    384 GitHub stars~809 tokensUpdated 7 mo ago
    Auto-check passed
  • Research Idea Generation

    lingzhi227/agent-research-skills

    Generates and iteratively refines research ideas for a given area, checking each one's novelty against Semantic Scholar and arXiv, and scoring it on interestingness, feasibility and novelty.

    384 GitHub stars~747 tokensUpdated 7 mo ago
    Auto-check passed

Questions about Paper To Code

What does Paper To Code do?

Convert an ML research paper into a complete, runnable code repository. Paper To Code is an agent skill from lingzhi227/agent-research-skills. Convert an ML research paper into a complete, runnable code repository.

When should I use Paper To Code?

Paper To Code fits situations like: reproducing paper methods; tasks that involve Diagrams.

How do I install Paper To Code in Claude Code?

Run `npx skills add lingzhi227/agent-research-skills --skill paper-to-code -a claude-code`. Or copy the skill folder (skills/paper-to-code in lingzhi227/agent-research-skills) into .claude/skills/paper-to-code in your project. Claude Code loads it when a task matches its description.

How do I install Paper To Code in Codex?

Run `npx skills add lingzhi227/agent-research-skills --skill paper-to-code -a codex`. Or copy the skill folder (skills/paper-to-code in lingzhi227/agent-research-skills) into .agents/skills/paper-to-code in your project. Codex loads it when a task matches its description.

Can I use Paper To Code in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lingzhi227/agent-research-skills --skill paper-to-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/paper-to-code, .gemini/skills/paper-to-code, .github/skills/paper-to-code and .opencode/skills/paper-to-code in your project.

What does Paper To Code need to run?

SKILL.md names no scripts, command-line tools or credentials: Paper To Code is instructions for the agent only.

Does Paper To Code access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Paper To Code safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Paper To Code use?

No licence was found for Paper To Code or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Paper To Code use?

About 793 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.

What are the alternatives to Paper To Code?

Skills that share tags, products or a category with Paper To Code: Paper Analyzer (zsyggg/paper-craft-skills, 1.3k stars), Mapping To Snomed (maziyarpanahi/openmed, 5.5k stars), New Diagram (pedrohcgs/claude-code-my-workflow, 1.6k stars) and Mat Defect Energy Dft (learningmatter-mit/AtomisticSkills, 176 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Paper To Code?

lingzhi227 (a GitHub user) maintains it in lingzhi227/agent-research-skills, which has 384 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on February 27, 2026.

Source: lingzhi227/agent-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.