agentleFS
issol14issol14/paper2code-skill/AGENTS.md

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.

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
  1. Distinctive:

    When a user provides a research paper (PDF or arXiv URL), this skill guides Claude through:

    line 47
  2. Distinctive:

    If a user asks you to install this skill:

    line 102

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 docs

INSTALLATION 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:

PhaseFilePurpose
0 (opt)05_reference_search.mdFind similar implementations on GitHub
101_algorithm_extraction.mdExtract algorithms, equations, hyperparameters
202_concept_analysis.mdAnalyze paper structure, components, experiments
303_code_planning.mdCreate detailed implementation plan (YAML)
404_implementation_guide.mdGenerate 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 abstractions

ACTIVATION 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.md

FOR AGENTS HELPING WITH INSTALLATION

If a user asks you to install this skill:

  1. Check if Claude Code is available (this skill is for Claude Code)
  2. Run the installation commands shown above
  3. Verify the SKILL.md file exists
  4. Inform the user they can now use paper implementation commands

COMMON ISSUES

IssueSolution
Permission deniedEnsure ~/.claude/skills/ directory exists and is writable
Skill not activatingCheck file names are exact, especially SKILL.md
PDF not readableInstall poppler-utils for pdftotext support

LINKS

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.