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.
In this repository7 other files it gives its agents.
- adversarial-reviewSkill
- develop-contributionSkill
- explore-sotaSkill
- manage-submissionSkill
- package-artifactsSkill
- write-paperSkill
- write-surveySkill
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
- Distinctive: line 11
Never leave a partial digest.
- Distinctive: line 20
Before anything else, probe the scholarly MCP servers with one trivial query each (e.g., search a known title).
- Distinctive: line 27
If those required capabilities are unavailable: STOP, report which servers failed, and ask the user to fix the MCP setup.
- Distinctive: line 29
If a reachable source is down but the gate is met, proceed and note the reduced cross-check in the synthesis.
- Distinctive: line 32
Never fall back to model memory, web search, or scraping.
- Very specific: line 46
Create sota/papers/<citekey>/ and fetch the full-text PDF as paper.pdf through the fallback pipeline, most-authoritative/legal first: (1) …
- Distinctive: line 57
Read the full paper — the PDF, cover to cover, not the abstract.
- Very specific: line 58
Write synthesis.md following the exact section order in sota/README.md.
- Very specific: line 61
Write the BibTeX entry into the SOTA section of references.bib, built from MCP-sourced fields cross-checked per …
- Very specific: line 70
Add in-scope leads from cites/cited_by and the synthesis "Citation leads" section to sota/queue.md as pending, with provenance.
- Very specific: line 72
Run make check from the project root and fix anything it reports.
≈ “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.
Files
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, oropenalex— 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
- 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.
- 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. - Choose the citekey (
<firstauthor><year><topicword>, lowercase) and check it is unused: not inreferences.bib, nosota/papers/<citekey>/folder. - Create
sota/papers/<citekey>/and fetch the full-text PDF aspaper.pdfthrough 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 inmetadata.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 insota/queue.mdwith decisionunresolvable-via-mcp. Abstract-only digestion is forbidden. - Read the full paper — the PDF, cover to cover, not the abstract.
- Write
synthesis.mdfollowing the exact section order insota/README.md. Verify every exact number and quotation against the PDF. - Write the BibTeX entry into the SOTA section of
references.bib, built from MCP-sourced fields cross-checked perreferences/bibliography-rules.md. Never write a field from memory. - Fetch citations via semantic-scholar: outgoing references and incoming
citations. Select the relevant ones, not all. Write
metadata.yamlwith every field from the schema insota/README.md, including the mandatoryverified:block. Use citekeys for papers already in the SOTA, external ids otherwise. - Append the row to
sota/index.mdwith statusdigested. - Add in-scope leads from
cites/cited_byand the synthesis "Citation leads" section tosota/queue.mdaspending, with provenance. - Run
make checkfrom 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.mdinstead. - 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_bylists.
Done When
sota/papers/<citekey>/haspaper.pdf,synthesis.md,metadata.yamlreferences.bibandsota/index.mdeach gained exactly one entrymake checkpasses
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
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.

