agentleFS
celynnmoonlightcelynnmoonlight/paper-repro-python/CLAUDE.md

paper-repro-python

CLAUDE.md2 starsChanged 8 months agoMITView on GitHub

This is a reusable skill for reproducing research papers in Python. It defines a workflow that prioritizes local TeX sources over PDF extraction and enforces modular code design with bilingual documentation. Compatible with: Codex, Claude Code, OpenClaw Every reproduction project README must start with paper metadata:

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Source priority: Read local TeX (.tex, .bib, styles, figures) first.

    line 22
  2. Distinctive:

    Modular code: Keep files under ~200 lines.

    line 24
  3. Distinctive:

    Every reproduction project README must start with paper metadata:

    line 30
  4. Distinctive:

    If TeX and PDF disagree, document the discrepancy and prefer the more complete source

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is a reusable skill for reproducing research papers in Python. It defines a workflow that prioritizes local TeX sources over PDF extraction and enforces modular code design with bilingual documentation.

Compatible with: Codex, Claude Code, OpenClaw

Core Workflow (SKILL.md)

  1. Intake and scope - Confirm input artifacts (TeX paths, PDF, target repo)
  2. Source extraction - TeX-first path preferred; PDF fallback only when TeX is incomplete
  3. Extraction quality checks - Validate completeness before reproduction
  4. Reproduction planning - Build plan from extracted source materials, not memory
  5. Python implementation - Modular design, low coupling, high cohesion
  6. README requirements - Paper metadata header, bilingual docs, embedded figures

Key Principles from SKILL.md

  • Source priority: Read local TeX (.tex, .bib, styles, figures) first; use PDF extraction only as fallback
  • No summarization: Preserve original scientific wording verbatim
  • Modular code: Keep files under ~200 lines; split responsibilities into separate modules
  • Bilingual docs: Maintain both README.md (English) and README_zh-CN.md (Chinese)
  • Figure granularity: One chart per image file; only combine for multi-panel comparisons

README Header Format

Every reproduction project README must start with paper metadata:

# [Paper Title]

**Authors:** Author Name¹, Co-Author Name²
**Affiliations:**
¹ Department, University, Country (email@university.edu)
² Lab, Institution, Country (email@institution.edu)

## Abstract

[Verbatim abstract text from the paper]

File Structure

paper-repro-python/
  SKILL.md          # Main behavior specification
  README.md         # English documentation
  README_zh-CN.md   # Chinese documentation
  agents/
    codex.yaml      # Codex agent configuration

Notes

  • SKILL.md is the authoritative source for workflow behavior
  • agents/codex.yaml metadata must stay aligned with SKILL.md
  • If TeX and PDF disagree, document the discrepancy and prefer the more complete source

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.