/literature-review-toolkit:literature-reviewfrom literature-review-toolkit
Structured academic literature review: searches topics, verifies citations against PMC/PubMed/CrossRef/arXiv, canonicalizes APA references, counts citations, cross-references, and builds annotated XLSX bibliographies with interactive lineage timelines.
Ships in literature-review-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scaffolding that drives an agent through a structured literature review. The agent does the judgment work; the scripts do the API calls, verification and bookkeeping that keep it honest. Paths below are relative to the toolkit root.
Read the scale from how the user describes the review. "A quick look" is
scan, "the core literature" is focused, "about N papers" is N, "everything"
is exhaustive, and no word about size is standard. Ask once if it is
ambiguous (PLAYBOOK Phase 1d). The code applies it: targets, caps and the
preflight estimate.
Run the preflight before any new search.
python3 tools/preflight.py --project <topic dir> --scale <scale>
Exit 0: go on. Exit 2: stop, and ask the user before launching any lane.
OPENALEX_API_KEY, S2_API_KEY) is missing or rejected, or the
OpenAlex budget is short, it prints three choices. Put them to the user and
let them pick: (1) get the API keys (both free), (2) cap the search, or
(3) be prepared to wait.LITREVIEW_EMAIL also exits 2, and no choice clears it.Record the user's pick with --accept cap, --accept wait or
--accept current-version. The run writes <topic dir>/preflight.json, and
merge_lanes.py refuses to build a table without a recent, cleared one. A
build already under way keeps its version: pass --no-update-check.
Then read PLAYBOOK.md and follow it. It is the authoritative procedure;
this file only points to it. The playbook holds the operating contract, every
phase, and the lessons learned from mistakes already made once.
The rendered documentation is at https://gallantlab.org/literature-review-toolkit/.
The repository is a plain Python toolkit that can also be installed as a Claude plugin. Nothing in it requires Claude.
| Path | What it is |
|---|---|
PLAYBOOK.md | The procedure. Start here. |
LESSONS.md | Why each rule exists. Read it before changing a tool, not to run a review. |
tools/ | The scripts, each standalone (JSON in, JSON or files out), plus the lane and family prompt templates (search_prompt_template.md, family_prompt_template.md). |
tools/README.md | The tool index: purpose, phase and flags for every script. |
tools/checks/ | Node.js checkers that execute a rendered figure or viewer page. |
templates/ | build_rows_template.py, a starter script for building rows.json. |
docs/ | Source for the documentation site. |
The tool index is generated into tools/README.md, docs/tools.md and
PLAYBOOK.md. Read it there; it is not copied here, so this file cannot drift from
the scripts.
From verification on, both run the same pipeline.
NCBI and CrossRef expect a contact email. Export LITREVIEW_EMAIL once, or pass
--email to each tool. A network tool with neither stops with a usage error
(exit 2).
verify.py exits 1 unless every verdict is OK.
Treat that as a stop: fix or drop each flagged row, or record a false alarm with
--override REF --reason.download.py (Phase 4) only when the user asks
for PDFs.hand_fixes.json.spreadsheet.py writes the deliverable, and only after the audit passes.
It runs the full audit (verify stamps, hand checks, summary checks, acknowledged
warnings) and refuses a failing table. --draft writes a marked draft instead,
never the deliverable.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gallantlab/literature-review-toolkit --plugin literature-review-toolkitOther plugins' skills for the same job