Citation Management
K-Dense-AI/claude-scientific-writer
Finds papers in OpenAlex, PubMed and Google Scholar, turns DOIs, PMIDs and arXiv IDs into clean BibTeX, and validates citations for a manuscript or thesis.
Converts an arxiv paper into a minimal, citation-anchored Python implementation.
$ npx skills add PrathamLearnsToCode/paper2code --skill paper2code -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PrathamLearnsToCode/paper2code paper2code --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PrathamLearnsToCode/paper2code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/paper2code .claude/skills/paper2code && rm -rf skills-srcUse ~/.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/
Install the "paper2code" agent skill from https://github.com/PrathamLearnsToCode/paper2code/tree/main/skills/paper2code into .claude/skills/paper2code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "paper2code", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PrathamLearnsToCode/paper2code/tree/main/skills/paper2codeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PrathamLearnsToCode/paper2code --skill paper2code -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PrathamLearnsToCode/paper2code paper2code --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrathamLearnsToCode/paper2code.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/paper2code .agents/skills/paper2code && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "paper2code" agent skill from https://github.com/PrathamLearnsToCode/paper2code/tree/main/skills/paper2code into .agents/skills/paper2code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "paper2code", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PrathamLearnsToCode/paper2code --skill paper2code -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PrathamLearnsToCode/paper2code paper2code --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrathamLearnsToCode/paper2code.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/paper2code .cursor/skills/paper2code && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "paper2code" agent skill from https://github.com/PrathamLearnsToCode/paper2code/tree/main/skills/paper2code into .cursor/skills/paper2code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "paper2code", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PrathamLearnsToCode/paper2code.git --path skills/paper2code--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PrathamLearnsToCode/paper2code --skill paper2code -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PrathamLearnsToCode/paper2code paper2code --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrathamLearnsToCode/paper2code.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/paper2code .gemini/skills/paper2code && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "paper2code" agent skill from https://github.com/PrathamLearnsToCode/paper2code/tree/main/skills/paper2code into .gemini/skills/paper2code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "paper2code", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PrathamLearnsToCode/paper2code paper2codeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PrathamLearnsToCode/paper2code --skill paper2code -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PrathamLearnsToCode/paper2code.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/paper2code .github/skills/paper2code && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "paper2code" agent skill from https://github.com/PrathamLearnsToCode/paper2code/tree/main/skills/paper2code into .github/skills/paper2code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "paper2code", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PrathamLearnsToCode/paper2code --skill paper2code -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PrathamLearnsToCode/paper2code paper2code --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrathamLearnsToCode/paper2code.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/paper2code .opencode/skills/paper2code && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "paper2code" agent skill from https://github.com/PrathamLearnsToCode/paper2code/tree/main/skills/paper2code into .opencode/skills/paper2code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "paper2code", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
paper2codeConverts an arxiv paper into a minimal, citation-anchored Python implementation.
Paper2code is an agent skill from PrathamLearnsToCode/paper2code. Converts an arxiv paper into a minimal, citation-anchored Python implementation. Trigger when user runs /paper2code with an arxiv URL or paper ID, says "implement this paper", or pastes an arxiv link asking for implementation. Flags all ambiguities honestly. Never invents implementation details not stated in the paper.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 60 other files, including scripts (for example `guardrails/badly_written_papers.md`, `guardrails/hallucination_prevention.md` and `guardrails/scope_enforcement.md`).
It sits in Research & Science, covering Academic paper search and Citation management. It works with arXiv and Python. The repository describes itself as: Agent skill to turn any arxiv paper into a working implementation. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit fcffce7. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (Python, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
arxiv.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Paper2code loads about 1.3k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 520 words of instructions outside code blocks.
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.
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); the scripts in this folder are not scanned.
The full file from PrathamLearnsToCode/paper2code at commit fcffce7, republished under its MIT licence (© PrathamLearnsToCode). 520 words, ~1,326 tokens.
.claude/skills/paper2code/SKILL.md (or your agent's skills folder). This skill also uses 56 other files; get the full folder from GitHub.You are executing the paper2code skill. This file governs the high-level flow. Each stage dispatches to a detailed reasoning protocol in pipeline/. Do NOT skip stages. Do NOT combine stages. Execute them in order.
Extract from the user's input:
ARXIV_ID: the arxiv paper ID (e.g., 2106.09685). Strip any URL prefix.MODE: one of minimal (default), full, educational.FRAMEWORK: one of pytorch (default), jax, numpy.If the user provided a full URL like https://arxiv.org/abs/2106.09685, extract the ID 2106.09685.
If the user provided a versioned ID like 2106.09685v2, keep the version.
Create a temporary working directory: .paper2code_work/{ARXIV_ID}/
This is where intermediate artifacts go. The final output goes in the current directory under {paper_slug}/.
Run via Bash:
pip install pymupdf4llm pdfplumber requests pyyamlRead and follow: pipeline/01_paper_acquisition.md
Run the helper script to fetch and parse the paper:
python skills/paper2code/scripts/fetch_paper.py {ARXIV_ID} .paper2code_work/{ARXIV_ID}/Then run structure extraction:
python skills/paper2code/scripts/extract_structure.py .paper2code_work/{ARXIV_ID}/paper_text.md .paper2code_work/{ARXIV_ID}/Verify the outputs exist before proceeding. If extraction failed, follow the fallback protocol in pipeline/01_paper_acquisition.md.
The script also searches for official code repositories (in the paper text and on the arxiv page) and saves any found links to paper_metadata.json under the official_code key. Verify these links before relying on them — see Step 8 in pipeline/01_paper_acquisition.md.
Read and follow: pipeline/02_contribution_identification.md
Read the parsed paper sections. Identify the single core contribution. Classify the paper type. Write the contribution statement. Save it to .paper2code_work/{ARXIV_ID}/contribution.md.
Read and follow: pipeline/03_ambiguity_audit.md
Before reading this stage, also read: guardrails/hallucination_prevention.md
Go through every implementation-relevant detail. Classify each as SPECIFIED, PARTIALLY_SPECIFIED, or UNSPECIFIED. Save the audit to .paper2code_work/{ARXIV_ID}/ambiguity_audit.md.
Read and follow: pipeline/04_code_generation.md
Before writing code, read:
guardrails/scope_enforcement.md — to determine what's in and out of scopeguardrails/badly_written_papers.md — if the paper is vague or inconsistentknowledge/ for the paper's domainscaffolds/ for the expected file structureDetermine the paper_slug from the paper title (lowercase, underscores, no special chars).
Generate all files under {paper_slug}/ in the current working directory.
Read and follow: pipeline/05_walkthrough_notebook.md
Generate the walkthrough notebook that connects paper sections to code with runnable sanity checks. Save to {paper_slug}/notebooks/walkthrough.ipynb.
Remove the .paper2code_work/ directory after successful completion.
Print a summary:
✓ paper2code complete for: {paper_title}
Output directory: {paper_slug}/
Files generated: {list of files}
Unspecified choices: {count} (see REPRODUCTION_NOTES.md)
Mode: {MODE} | Framework: {FRAMEWORK}PAPER_GUIDE.md that walks through the paper section by section.These apply at ALL stages. Read them if you haven't already:
guardrails/hallucination_prevention.md — the most important file in this skillguardrails/scope_enforcement.md — what to implement and what to skipguardrails/badly_written_papers.md — what to do when the paper is unclearBefore implementing any of these components, read the corresponding knowledge file:
knowledge/transformer_components.mdknowledge/training_recipes.mdknowledge/loss_functions.mdknowledge/paper_to_code_mistakes.md© PrathamLearnsToCode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 56 other files (scripts) in skills/paper2code of PrathamLearnsToCode/paper2code.
Open the folder on GitHubat commit fcffce7
Paper2code 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Paper2code this skillPrathamLearnsToCode/paper2code | 1.5k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Citation ManagementK-Dense-AI/claude-scientific-writer | 2.4k | 3 repos | ~3.9k | Automated safety check: Notes | MIT | |
| Paper Research on arXivXiaomiMiMo/MiMo-Code | 14k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Hugging Face Paper Publisherhuggingface/skills | 11k | 5 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Arxiv MCP Serverblazickjp/arxiv-mcp-server | 3.2k | — | ~353 | Automated safety check: Pass | Apache-2.0 | |
| Arxiv Paper Writeryunshenwuchuxun/latex-paper-skills | 265 | — | ~3.2k | Automated safety check: Pass | MIT |
K-Dense-AI/claude-scientific-writer
Finds papers in OpenAlex, PubMed and Google Scholar, turns DOIs, PMIDs and arXiv IDs into clean BibTeX, and validates citations for a manuscript or thesis.
XiaomiMiMo/MiMo-Code
Searches arXiv, fetches metadata, generates BibTeX, downloads PDFs and finds citations and related papers using a bundled Python script.
huggingface/skills
Indexes research papers on the Hugging Face Hub from arXiv, links them to models and datasets, claims authorship and generates markdown research articles from templates.
blazickjp/arxiv-mcp-server
A skill your agent uses when finding, comparing, reading, or monitoring arXiv papers, including requests for abstracts, citation graphs, original LaTeX, section-level technical details, or…
yunshenwuchuxun/latex-paper-skills
Writes ML/AI review and survey papers for arXiv using the IEEEtran LaTeX template with verified BibTeX citations.
ltczding-gif/ref-downloader
A skill your agent uses when the user asks to batch-download academic PDFs with ref-downloader — either ALL references of one paper (Mode A: DOI or PDF input), OR a custom batch of papers (Mode B…
Categories
Converts an arxiv paper into a minimal, citation-anchored Python implementation. Paper2code is an agent skill from PrathamLearnsToCode/paper2code. Converts an arxiv paper into a minimal, citation-anchored Python implementation.
Paper2code fits situations like: user runs /paper2code with an arxiv URL; says implement this paper; pastes an arxiv link asking for implementation.
Run `npx skills add PrathamLearnsToCode/paper2code --skill paper2code -a claude-code`. Or copy the skill folder (skills/paper2code in PrathamLearnsToCode/paper2code) into .claude/skills/paper2code in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PrathamLearnsToCode/paper2code --skill paper2code -a codex`. Or copy the skill folder (skills/paper2code in PrathamLearnsToCode/paper2code) into .agents/skills/paper2code in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PrathamLearnsToCode/paper2code --skill paper2code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/paper2code, .gemini/skills/paper2code, .github/skills/paper2code and .opencode/skills/paper2code in your project.
Going by SKILL.md and its folder, Paper2code needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: arxiv.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Paper2code is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Paper2code: Citation Management (K-Dense-AI/claude-scientific-writer, 2.4k stars), Paper Research on arXiv (XiaomiMiMo/MiMo-Code, 14k stars), Hugging Face Paper Publisher (huggingface/skills, 11k stars) and Arxiv MCP Server (blazickjp/arxiv-mcp-server, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PrathamLearnsToCode (a GitHub user) maintains it in PrathamLearnsToCode/paper2code, which has 1,528 GitHub stars. The repository was last updated on April 3, 2026.
Source: PrathamLearnsToCode/paper2code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.