agentleFS
VincenzoImpVincenzoImp/academic-research-skills/skills/digest-paper/SKILL.md

digest-paper

Skill2 starsChanged 4 months agoMITView on GitHub

Use when adding, ingesting, or digesting a single paper into the SOTA — from a title, DOI, arXiv id, URL, or PDF — producing its folder, synthesis, bib entry, citation graph, and index row.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never leave a partial digest.

    line 11
  2. Distinctive:

    Before anything else, probe the scholarly MCP servers with one trivial query each (e.g., search a known title).

    line 20
  3. Distinctive:

    If those required capabilities are unavailable: STOP, report which servers failed, and ask the user to fix the MCP setup.

    line 27
  4. Distinctive:

    If a reachable source is down but the gate is met, proceed and note the reduced cross-check in the synthesis.

    line 29
  5. Distinctive:

    Never fall back to model memory, web search, or scraping.

    line 32
  6. Very specific:

    Create sota/papers/<citekey>/ and fetch the full-text PDF as paper.pdf through the fallback pipeline, most-authoritative/legal first: (1) …

    line 46
  7. Distinctive:

    Read the full paper — the PDF, cover to cover, not the abstract.

    line 57
  8. Very specific:

    Write synthesis.md following the exact section order in sota/README.md.

    line 58
  9. Very specific:

    Write the BibTeX entry into the SOTA section of references.bib, built from MCP-sourced fields cross-checked per …

    line 61
  10. Very specific:

    Add in-scope leads from cites/cited_by and the synthesis "Citation leads" section to sota/queue.md as pending, with provenance.

    line 70
  11. Very specific:

    Run make check from the project root and fix anything it reports.

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Digest Paper

Digest one paper end-to-end into sota/papers/<citekey>/. This is the atomic unit of SOTA work: it either completes fully or it does not happen. Never leave a partial digest.

Read First

  • sota/README.md — synthesis format and digestion rules (the scaffold owns the format)
  • references/bibliography-rules.md — citekeys, version resolution, cross-validation

MCP Preflight (hard gate)

Before anything else, probe the scholarly MCP servers with one trivial query each (e.g., search a known title). The gate is by capability, never by API key — a missing key only throttles, it never blocks:

  • Required: arxiv (full text) must respond, AND at least one bibliographic source — semantic-scholar, dblp, or openalex — must respond.
  • If those required capabilities are unavailable: STOP, report which servers failed, and ask the user to fix the MCP setup.
  • If a reachable source is down but the gate is met, proceed and note the reduced cross-check in the synthesis.

Never fall back to model memory, web search, or scraping. A citation exists only if an MCP lookup produced it.

Procedure

  1. Resolve identity: from the given title/DOI/arXiv/PDF, find the paper via semantic-scholar (and dblp for CS work). Ask the user only if the match is genuinely ambiguous.
  2. Resolve the most authoritative version: published venue > latest arXiv revision > other preprint, per references/bibliography-rules.md. Record both DOI and arXiv id when both exist.
  3. Choose the citekey (<firstauthor><year><topicword>, lowercase) and check it is unused: not in references.bib, no sota/papers/<citekey>/ folder.
  4. Create sota/papers/<citekey>/ and fetch the full-text PDF as paper.pdf through the fallback pipeline, most-authoritative/legal first: (1) arxiv MCP for arXiv papers; (2) otherwise paper-search, which falls back publisher/DOI open-access → Unpaywall → green-OA repositories (Europe PMC/PMC, CORE, OpenAIRE, Zenodo, HAL, SSRN, …) → Sci-Hub as the last resort. Record the resulting URL in metadata.yaml (pdf_source). The PDF is only the reading copy: the citation and the authoritative version always come from the scholarly MCPs (reconciled by DOI), never from where the PDF was fetched. If even the last resort yields nothing, stop, remove the folder, and record the candidate in sota/queue.md with decision unresolvable-via-mcp. Abstract-only digestion is forbidden.
  5. Read the full paper — the PDF, cover to cover, not the abstract.
  6. Write synthesis.md following the exact section order in sota/README.md. Verify every exact number and quotation against the PDF.
  7. Write the BibTeX entry into the SOTA section of references.bib, built from MCP-sourced fields cross-checked per references/bibliography-rules.md. Never write a field from memory.
  8. Fetch citations via semantic-scholar: outgoing references and incoming citations. Select the relevant ones, not all. Write metadata.yaml with every field from the schema in sota/README.md, including the mandatory verified: block. Use citekeys for papers already in the SOTA, external ids otherwise.
  9. Append the row to sota/index.md with status digested.
  10. Add in-scope leads from cites/cited_by and the synthesis "Citation leads" section to sota/queue.md as pending, with provenance.
  11. Run make check from the project root and fix anything it reports.

Rules

  • All-or-nothing: if any step cannot complete, revert the partial folder and record the paper in queue.md instead.
  • One paper = one folder = one bib entry = one index row (1:1:1).
  • While digesting, the only edit allowed in other papers' folders is upgrading an external id to a citekey in their cites/cited_by lists.

Done When

  • sota/papers/<citekey>/ has paper.pdf, synthesis.md, metadata.yaml
  • references.bib and sota/index.md each gained exactly one entry
  • make check passes

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.