agentleFS
matthewdigiuseppematthewdigiuseppe/MStack/skills/lit-map/SKILL.md

lit-map

Skill17 starsChanged 3 months agoMITView on GitHub

Systematic literature scan — the 3-5 must-engage papers, the consensus and where it cracks, the gap, and BibTeX staged into paper/refs.bib. Use once a research question is locked, when the user asks what to cite or who has written on a topic, or before drafting the intro or theory.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    After /mstack:research-question returns green or yellow.

    line 17
  2. Distinctive:

    Inventing citations: Not found by search means left out.

    line 45
  3. Distinctive:

    Hiding contradictions: If the consensus contradicts the claim, say so now rather than at R1.

    line 47

≈ “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

/mstack:lit-map

Stage: map · Voice: systematic-reviewer

After /mstack:research-question returns green or yellow. One question: what conversation is this paper joining, and where does it crack the consensus?

Procedure

  1. Load .mstack/research-question.md; the contribution sentence is the seed. If lit/index.md exists, read it first: triaging the converted corpus costs a fraction of opening papers. If lit/pdf/ holds unconverted PDFs, run /mstack:pdf-ingest before going further; searching the web for abstracts of papers you already own is backwards.
  2. Define the search in one paragraph and get sign-off: 3–5 keyword combinations; the 2–3 most directly engaged authors; time window (typically 10 years plus the foundational older work); venues (top-3 field journals plus SSRN, NBER, OSF).
  3. Search. Local corpus first (lit/index.md, then the relevant section of a converted paper rather than the whole file). WebSearch for keyword + author scans; WebFetch (or a Google Scholar / Semantic Scholar MCP if available) for abstracts and citation counts; snowball backward (the reference lists of the Foundation papers) and forward ("cited by" on the two or three papers closest to the claim). Check for replications, meta-analyses, and many-analysts studies of the headline effect, and for working papers on SSRN, NBER, OSF, and conference programs (APSA, MPSA, EPSA, IPES) that a published-only search misses. Record the search strings and dates in the map so the search is reproducible. Build 20–40 candidates.
  4. Triage each paper: Foundation (3–5; the canonical works the conversation rests on; must-cite), Frontier (5–10; recent work in active conversation with the claim; engage explicitly), Adjacent (5–10; related but a different question; cite once), Discard (noted in the file, not engaged).
  5. Map the consensus (Foundation + Frontier, one paragraph answering three questions):
    • What does the consensus believe?
    • Where does it crack; what is contested?
    • What does the canonical work not answer?
  6. Locate the gap (one paragraph answering three questions):
    • Which paper(s) does the project most directly engage?
    • What does it add that they lack?
    • Which hostile reviewer would object, and why? Name the two or three scholars most likely to referee the paper and what each would insist on; /mstack:referee-mock uses this.
  7. Stage refs.bib. A BibTeX entry per Foundation + Frontier paper, appended to paper/refs.bib (dedupe by key, never overwrite). Do not invent fields; leave unknowns blank with a % TODO. Prefer entries from lit/refs-ingested.bib for ingested papers, but only those without a % TODO verify marker (metadata parsed from the PDF rather than fetched from Crossref).
  8. Save to .mstack/lit-map.md: classification, synthesis, gap. Set paper.status: "mapping" in .mstack/config.yaml if it still says ideating.

Outputs

  • .mstack/lit-map.md — map, consensus, gap statement.
  • paper/refs.bib — appended entries.
  • Summary block: top 5 must-engage papers, the gap, next skill.

Anti-patterns

  • A list instead of a synthesis. Thirty papers is not a map; the synthesis is.
  • Inventing citations. Not found by search means left out.
  • Too broad a frontier. Five engaged papers beat fifteen name-drops.
  • Hiding contradictions. If the consensus contradicts the claim, say so now rather than at R1.

Next

/mstack:theory-build, then /mstack:hypothesis-design and /mstack:identification-review. A lit map is a prerequisite for drafting intro or theory.

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.

Reviews can't be read right now.

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.