agentleFS
sugatoraysugatoray/aiskills/.agents/skills/implement-paper/SKILL.md

implement-paper

Skill4 starsChanged yesterdayMITView on GitHub

Implement a research paper as an interactive marimo notebook together with the user. Start by understanding what the user wants to explore, fetch the paper via alphaxiv, then build a focused notebook.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

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

    Before fetching or reading anything, have a short conversation to scope the work.

    line 12
  2. Distinctive:

    Do they want to use a specific dataset?: If it's relevant, ask. Otherwise, suggest simulating data.

    line 16
  3. Distinctive:

    Only move on once you have a clear picture of what to build.

    line 20
  4. Distinctive:

    If the user gives you an Arxiv/AlphaXiv link, you will an efficient way to read the paper.

    line 24
  5. Distinctive:

    After reading the paper, outline the notebook structure for the user before writing code.

    line 30
  6. Distinctive:

    Not every notebook needs all sections.

    line 44
  7. Very specific:

    Create the marimo notebook following the marimo-notebook skill conventions.

    line 48
  8. Distinctive:

    Never assume the dataset: Use whatever the user specified in Step 1.

    line 52
  9. Distinctive:

    Show, don't just tell: Prefer a plot or table over a paragraph of explanation.

    line 56
  10. Distinctive:

    If the user wants a custom anywidget, refer to references/anywidget.md.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
SKILL.md

Implement Paper

Turn a research paper into an interactive marimo notebook. For general marimo notebook conventions (cell structure, PEP 723 metadata, output rendering, marimo check, variable naming, etc.), refer to the marimo-notebook skill.

Step 1: Understand what the user wants

Before fetching or reading anything, have a short conversation to scope the work. Ask the user:

  • Which part of the paper interests you most? A paper may have multiple contributions — the user likely cares about one or two. Don't implement the whole thing.
  • What's the goal? Are they trying to understand the method, reproduce a result, adapt it to their own data, or teach it to someone else? This changes the notebook's tone and depth.
  • Do they want to use a specific dataset? If it's relevant, ask. Otherwise, suggest simulating data.
  • Does this require PyTorch? Some papers need it, many don't. Ask if unclear — it's a heavy dependency.
  • What's their background? The paper aims to fill a knowledge gap — gauge what the user already knows so the notebook can meet them where they are. Skip basics they're familiar with, explain prerequisites they're not.

Only move on once you have a clear picture of what to build.

Step 2: Fetch the paper

If the user gives you an Arxiv/AlphaXiv link, you will an efficient way to read the paper.

See references/fetching-papers.md for how to retrieve paper content via alphaxiv.org. This avoids reading raw PDFs and gives you structured markdown.

Step 3: Plan the notebook

After reading the paper, outline the notebook structure for the user before writing code.

Keep the notebook as small as possible. Sometimes the idea is best conveyed with just a single interactive widget — if you need a custom one, consider the anywidget skill. Other times you need a full training loop — if so, consider using the marimo-batch skill for heavy computation. The goal is the minimum amount of code needed to get the idea across.

A typical arc:

SectionPurposeTypical elements
Title & contextOrient the readermo.md() with paper title, authors, link
BackgroundSet up prerequisitesMarkdown + equations
MethodCore algorithm step-by-stepCode + markdown interleaved
ExperimentsReproduce key resultsInteractive widgets + plots
ConclusionSummarize takeawaysmo.md()

Not every notebook needs all sections. Share the outline with the user and adjust before writing code.

Step 4: Build the notebook

Create the marimo notebook following the marimo-notebook skill conventions.

Key guidelines:

  • Never assume the dataset. Use whatever the user specified in Step 1. If they didn't specify one, simulate data.
  • Make it self-contained. A reader should understand the notebook without reading the full paper.
  • Use KaTeX for equations. Render key equations with mo.md(r"""$...$""") so the notebook mirrors the paper's notation. Keep notation consistent with the paper.
  • Add interactivity where it aids understanding. Sliders for hyperparameters, dropdowns for dataset variants, or toggles for ablations help readers build intuition.
  • Show, don't just tell. Prefer a plot or table over a paragraph of explanation.
  • Name variables to match the paper's notation where practical (e.g., alpha, X, W), and add comments mapping them to equation numbers.

Tips

  • Don't reproduce the entire paper. Focus on what the user asked about in Step 1.
  • Iterate visually. Build up figures incrementally (e.g., show data → show model fit → show residuals) rather than dumping everything into one plot.
  • If the paper uses heavy notation, include a small "notation reference" cell with a markdown table mapping symbols to descriptions.

If the user wants a custom anywidget, refer to references/anywidget.md.

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.