paper2code-skill: Instructions file for Codex

AGENTS.md

paper2code-skill AGENTS.md is an instructions file for Codex, OpenCode from issol14/paper2code-skill. It costs 998 tokens per session, scanned D, original, MIT.

Repository instructions for a tool that turns research papers, such as PDF or arXiv papers, into executable code through several planning stages.

In plain words
What is it for?
Use it when working with the paper2code repository or when converting a research paper into an implementation plan and code.
Why use it?
Research papers often describe algorithms without ready-to-run implementations. These instructions explain how an AI coding agent should organize the work of understanding and implementing one.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

This is issol14/paper2code-skill's own configuration. It tells Codex and OpenCode how to work on paper2code-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything paper2code-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to issol14/paper2code-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/issol14/paper2code-skill/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/issol14/paper2code-skill

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paper2code-skill AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/issol14/paper2code-skill/agents-md/github.svg)](https://agentmods.dev/instructions/issol14/paper2code-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/issol14/paper2code-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/issol14/paper2code-skill/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for paper2code-skill AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/issol14/paper2code-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/issol14/paper2code-skill/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 998 This file is loaded in full into every session.
When invoked 998 The same file — it is already loaded in full.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00998 $0.00998
Opus 5.5 $0.00399 $0.00399
Sonnet 5.5 $0.00200 $0.00200
Haiku 4.5 $0.00100 $0.00100

Measured 1mo ago against content hash 9ee4139b2df4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

paper2code-skill AGENTS.md scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

ls ~/.claude/skills/paper2code/SKILL.md && echo "✅ Skill is ready"

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/paper2code-skill && \
AGENTS.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

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

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 122 lines · 998 tokens per session scan D 9ee4139b2df4

Subscribe to this mod's changes

paper2code-skill AGENTS.md is an instructions file published in the GitHub repository issol14/paper2code-skill (43 stars, last pushed 9mo ago), licensed MIT. It adds 998 tokens to every session, about $0.0040 per session on Opus 5.5. A static security scan graded it D with 2 findings (enumerates other installed skills, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories