paper2code-arxiv-implementation — Claude Code skill
Converts arXiv papers into working Python code anchored to equations and sections. It audits ambiguities and flags missing paper details before execution.
npx skills add reason-machines/trending-skills --skill paper2code-arxiv-implementation -a claude-codeWhat paper2code-arxiv-implementation does
The skill takes an arXiv URL or paper ID and outputs a Python project. You can choose minimal or full mode. PyTorch runs by default. Passing --framework switches the target to JAX or TensorFlow.
Every run generates src/ modules, configs/base.yaml, and REPRODUCTION_NOTES.md. Inline tags reference paper equations. When papers omit parameters, the skill inserts [UNSPECIFIED] tags rather than guessing.
Review every audit note first. The skill isolates unverified assumptions, so training without checking them risks silent failures.
What it helps with
- translate ML paper architectures from arXiv into runnable PyTorch code
- audit missing hyperparameters and vague formulas across paper sections
- generate educational notebooks with tensor shape verifications
- scaffold data pipelines and training loops from research publications
Example prompts for the agent
- /paper2code 1706.03762 --mode full
- /paper2code 2106.09685 --mode educational
How to install paper2code-arxiv-implementation
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill paper2code-arxiv-implementation -a claude-code2Manually: put the files in place
~/.claude/skills/paper2code-arxiv-implementation/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/paper2code-arxiv-implementation/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill paper2code-arxiv-implementation -a codex2Manually: put the files in place
.agents/skills/paper2code-arxiv-implementation/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill paper2code-arxiv-implementation -a cursor2Manually: put the files in place
.cursor/skills/paper2code-arxiv-implementation/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/trending-skills paper2code-arxiv-implementation2Manually: put the files in place
.github/skills/paper2code-arxiv-implementation/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill paper2code-arxiv-implementation -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/trending-skills --path skills/paper2code-arxiv-implementationManually: put the files in place
.devin/skills/paper2code-arxiv-implementation/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill paper2code-arxiv-implementation -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about paper2code-arxiv-implementation
How to install paper2code-arxiv-implementation in Claude Code?
Run npx skills add reason-machines/trending-skills --skill paper2code-arxiv-implementation -a claude-code. The file will be placed in ~/.claude/skills/paper2code-arxiv-implementation/SKILL.md.
What does paper2code-arxiv-implementation do?
It converts an arXiv paper into a documented Python codebase. Every critical code block links directly to the specific equation and section from the original text.
Which frameworks and modes does the skill support?
PyTorch and architecture-only mode run by default. You can override them with --framework jax or --framework tensorflow, and request full training loops using --mode full.