paper2code-skill
AGENTS.md42 starsChanged 11 months agoMITView on GitHub
This file is specifically designed for LLM agents (Claude, GPT, etc.) to quickly understand and work with this repository. paper2code-skill is a Claude Code Skill that converts research papers (PDF/arXiv) into executable code using a structured 4-phase pipeline. When a user provides a research paper (PDF or arXiv URL), this skill guides Claude through: The skill activates when users say things like: - "이 논문 구현해줘" (Implement this paper) - "paper2code" - "논문 코드로 변환" (Convert paper to code) -…
- Deletes or force-pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- paper2codeSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 47
When a user provides a research paper (PDF or arXiv URL), this skill guides Claude through:
- Distinctive: line 102
If a user asks you to install this skill:
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md - For LLM Agents
This file is specifically designed for LLM agents (Claude, GPT, etc.) to quickly understand and work with this repository.
QUICK SUMMARY
paper2code-skill is a Claude Code Skill that converts research papers (PDF/arXiv) into executable code using a structured 4-phase pipeline.
REPOSITORY STRUCTURE
paper2code-skill/
├── README.md # Human-readable documentation
├── AGENTS.md # This file - for LLM agents
├── LICENSE # MIT License
├── CONTRIBUTING.md # Contribution guidelines
├── .gitignore
└── skills/
└── paper2code/ # ← The actual skill files
├── SKILL.md # Main entry point
├── 01_algorithm_extraction.md # Phase 1
├── 02_concept_analysis.md # Phase 2
├── 03_code_planning.md # Phase 3
├── 04_implementation_guide.md # Phase 4
├── 05_reference_search.md # Phase 0 (optional)
├── 06_memory_management.md # Memory guide
└── README.md # Skill-specific docsINSTALLATION COMMANDS
# One-liner installation
git clone https://github.com/issol14/paper2code-skill.git /tmp/paper2code-skill && \
cp -r /tmp/paper2code-skill/skills/paper2code ~/.claude/skills/ && \
rm -rf /tmp/paper2code-skill && \
echo "✅ Installed successfully"Verification
ls ~/.claude/skills/paper2code/SKILL.md && echo "✅ Skill is ready"WHAT THIS SKILL DOES
When a user provides a research paper (PDF or arXiv URL), this skill guides Claude through:
| Phase | File | Purpose |
| 0 (opt) | 05_reference_search.md | Find similar implementations on GitHub |
| 1 | 01_algorithm_extraction.md | Extract algorithms, equations, hyperparameters |
| 2 | 02_concept_analysis.md | Analyze paper structure, components, experiments |
| 3 | 03_code_planning.md | Create detailed implementation plan (YAML) |
| 4 | 04_implementation_guide.md | Generate code file-by-file |
KEY BEHAVIORAL RULES
DO:
✓ Implement exactly what the paper specifies
✓ One file at a time, no permission asking between files
✓ Save intermediate YAML outputs
✓ Run self-check before completing each phase
DON'T:
✗ Ask "Should I continue?" between files
✗ Guess parameter values not in the paper
✗ Skip unclear parts (document in missing_but_critical)
✗ Over-engineer or add unnecessary abstractionsACTIVATION TRIGGERS
The skill activates when users say things like:
- "이 논문 구현해줘" (Implement this paper)
- "paper2code"
- "논문 코드로 변환" (Convert paper to code)
- "implement this paper"
- Provide an arXiv URL or PDF path
OUTPUT FORMAT
Each phase produces YAML output saved to files:
paper_workspace/
├── 01_algorithm_extraction.yaml
├── 02_concept_analysis.yaml
├── 03_implementation_plan.yaml
└── src/
├── config.py
├── models/
├── algorithms/
├── training/
├── evaluation/
├── main.py
└── README.mdFOR AGENTS HELPING WITH INSTALLATION
If a user asks you to install this skill:
- Check if Claude Code is available (this skill is for Claude Code)
- Run the installation commands shown above
- Verify the SKILL.md file exists
- Inform the user they can now use paper implementation commands
COMMON ISSUES
| Issue | Solution |
| Permission denied | Ensure ~/.claude/skills/ directory exists and is writable |
| Skill not activating | Check file names are exact, especially SKILL.md |
| PDF not readable | Install poppler-utils for pdftotext support |
LINKS
- Repository: https://github.com/issol14/paper2code-skill
- Claude Code: https://claude.ai/code
- Agent Skills Standard: https://agentskills.io
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

