/academic-research:demo-slrfrom academic-research
Guided 5-10 minute demo of the systematic-review workflow on a user-chosen topic, ending with a highlighted Zotero PDF. Uses demo- prefixed tags and a throwaway collection for safe cleanup.
Ships in academic-research. 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.
Glossary: unfamiliar with MCP, DOI, PRISMA? See skills/_glossary.md.
A guided mini systematic review for an audience that has never seen how
this works. The presenter gives a topic; the run searches the literature,
imports it into Zotero, has a model screen it, fetches the full texts it can,
has a model read one paper in depth, writes a short report, and ends with a
PDF open in Zotero at a highlighted quote. Everything it writes carries a
demo- tag prefix and lives in a throwaway collection in the presenter's
own library (My Library), so demo_cleanup removes it without touching the
rest of the library.
Plugin tools. Steps name the tools of the plugin's own
academic-research MCP server by bare name (check_setup,
start_search, …); in Claude Code they appear as
mcp__plugin_academic-research_academic-research__<name>, on other hosts
with that host's prefix. start_* tools are jobs: follow one with
job_status; when it is awaiting_user, show the user its prompt and
pass their answer to job_answer — never answer it yourself; stop it with
cancel_job. If the tools are not available, run the terminal equivalent
given beside each with Bash instead, and tell the user once how to enable
the server (see Terminal equivalent in the glossary).
date) and print the elapsed
time after each step. Target 10 minutes. If a step overruns, offer to
shrink the sample (fewer records, fewer coded papers) rather than skip a step.user=true (the presenter's personal library). Never ask which library or
collection: the collection is named <DEMO_ID>.~/.config/academic-research/config.toml; never ask for keys.dry_run cost line before running
it. Models that think by default bill thinking tokens as output, so quote the
estimate as a floor and say so.Tell the audience in one sentence that this checks the machine is ready.
check_setup (terminal equivalent:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/check_configured.py"). If it
is not configured, stop and tell the user to run /setup first. If its
summary has stale_server: true, stop: this server is older than the
plugin on disk and may lack the tool parameters the demo passes. Tell the
user to reload the window (VS Code: Command Palette, "Developer: Reload
Window"; a /mcp reconnect may not restart it), then to run the demo
again./setup
verifies this). An LLM provider key must be configured. pdftotext
(poppler) must be on the PATH. Report what is missing and stop. Say that
the demo writes to My Library, in one new collection.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/check_database_access.py".
Keep the list for step 3.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/check_llm_provider.py": print
its lines to the presenter as they are (provider, whether it was selected
or is the registry default, whether a credential is configured, base
URL; it never prints a key). If credential: says missing, stop and
tell them to run /setup; if selected: says no (registry default),
say so and confirm that provider is the one they want. Then which models
the demo will screen and code with:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/check_demo_models.py". Show
its lines as they are too: the provider, and the model behind
--model fast (abstract screening, step 5) and --model balanced
(full-text coding, step 7). If a line says "not resolved", tell the
presenter that step's model is unknown and offer to stop and pin one
(resolve_models.py, see setup) before starting.Explain: a review starts from a question and a written search recipe, so that someone else could repeat it. Ask the presenter for a topic in a sentence. Propose, from their words: a one-sentence research question, two inclusion criteria, a keyword query with two concept blocks (A AND B), a year window (default: the last three years), and 5 to 10 journals that publish on the topic. Limiting the search to journals is what keeps the first page of results on topic.
Print the whole proposal as text first, as a short list the audience can read: the question; the two criteria; the query as concept A and concept B, each with its terms; the years; the journals. After each item add a few words on what it is for (the criteria are what the model will screen against; the query is what the databases will be asked; the journals keep the results on topic). Only then ask.
Resolve every journal against OpenAlex (the search_sources and
check_venue_quality tools of the OpenAlex MCP server) and show each as
title + ISSN. Never type an ISSN from memory; drop a journal OpenAlex cannot
confirm. Show all of it; let the presenter edit. Approve once.
Explain in a sentence: this creates a scratch project folder for the demo, with the search recipe and the screening instructions the model will follow.
Set DEMO_ID = demo- + today's date and time as YYYYMMDD-HHMM.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/ensure_dir.py" output/demo/<DEMO_ID>.scaffold_project with kind=sr, target=output/demo/<DEMO_ID>,
claude_md=skip (terminal equivalent:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/scaffold_project.py" --kind sr --target output/demo/<DEMO_ID> --no-claude-md).python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/install_templates.py" --force demo_search_config.py:output/demo/<DEMO_ID>/search_config.py demo_screening_config.py:output/demo/<DEMO_ID>/screening_config.py.<...> placeholder in those two files with the approved topic
using Edit, and set TAG_PREFIX = "<DEMO_ID>". Leave the model pins empty.
In search_config.py set JOURNALS = {"<ISSN>": (0, "<title>"), …} from the
verified list (the title is needed: Semantic Scholar returns no ISSN). Put
combined phrases that already join both concepts in BLOCK_A_TERMS and
leave BLOCK_B_TERMS empty, because OpenAlex and Semantic Scholar run the
two blocks as separate queries, not as A AND B.Print the key lines of both files with one sentence each on what the
file is for: search_config.py is the written search recipe the databases
run (years, journals, the Boolean query for Web of Science and Scopus, the
phrases for OpenAlex and Semantic Scholar); screening_config.py holds the
instructions the model follows when it screens and codes (the research
question, the criteria and exclusion codes, the fields to extract). Do not ask
for approval: the presenter already approved the content in step 1.
Explain: a database is a searchable index of the research literature (Web of Science, Scopus, OpenAlex, Semantic Scholar). A real review first pilots: it tries the query in each database to see how many records match before committing to a full search. Here a pilot is one page of results per database, which takes seconds.
Pilot. Run start_search with databases = every configured
database from the pre-flight, streams=keyword, max_records=25,
config=output/demo/<DEMO_ID>/search_config.py,
output_dir=output/demo/<DEMO_ID>/pilot and
metadata_dir=output/demo/<DEMO_ID>/pilot. Each database stops after its
first page and reports how many records the query matches in total.
Print the pilot table before anything else, one row per database you
asked for, with three columns: the number of matching records, how many of
those were fetched (at most 25), and a plain-language status. Read the totals
from per_database_api_totals, the fetched counts from
per_database_counts and each failure from failed_databases, all in
output/demo/<DEMO_ID>/pilot/search_metadata.json (the fetched rows are only
a page and say nothing about volume). A database must appear in the table
even when it returned nothing, with the reason in words the audience can
follow:
failed_databases): say what the message means. Scopus refusing
the request means its key may read full records only from the institution's
network, so connect through the VPN or leave it out. Never paste the raw
error.The recommendation comes after the table, never instead of it.
Suggest one database and ask. Recommend, in this order, the first that returned records in the pilot: Web of Science, then Scopus, then OpenAlex, then Semantic Scholar. Give the reason in a sentence: Web of Science and Scopus are faster to import (creators arrive split and bibliographic detail is complete, so no per-record Crossref lookup) and more complete (abstracts arrive with the search). Ask which to take the records from.
Search the chosen database. Run start_search again with
databases=<chosen>, streams=keyword, max_records=25, the same
config, output_dir=output/demo/<DEMO_ID>/analysis/raw and
metadata_dir=output/demo/<DEMO_ID>. 25 is the most Scopus returns on one
page. Report the count and how many have an abstract. Say once that a capped
run is a pilot and not a formal search; search_metadata.json records the
cap.
Explain: the records now go into Zotero, the reference manager where a
review keeps everything: one new collection named <DEMO_ID> in My Library.
start_import with user=true, skip_existing_check=true (the demo's
records are deleted afterwards, so there is no point reading the whole library
for duplicates first; say so in a sentence), collection=<DEMO_ID>,
input=output/demo/<DEMO_ID>/analysis/raw/search_results.csv,
config=output/demo/<DEMO_ID>/screening_config.py and
created_keys_out=output/demo/<DEMO_ID>/created.keys (terminal equivalent:
import_to_zotero.py --user --skip-existing-check ... --created-keys-out output/demo/<DEMO_ID>/created.keys;
the keys file is what demo_cleanup later deletes by). Then
start_enrich_abstracts with user=true and
filter_keys_file=output/demo/<DEMO_ID>/created.keys: it fills in any abstract
the database did not supply. Report the counts. If fewer items sit in the
collection than the import reported creating, say so.
Explain: screening decides which records belong in the review. A model reads each title and abstract against the two inclusion criteria and answers include, borderline or exclude, with a one-sentence reason. It is cheap and fast, and a real review checks a sample of its decisions by hand.
start_abstract_screen with user=true, the collection key, config,
model=fast, output=output/demo/<DEMO_ID>/screening/abstract_screening.csv
(keeps the log inside the demo folder) and dry_run=true first; print the cost line, and run it for
real without asking unless the floor is above $0.50. Report counts per
decision, then a short table of the included and borderline papers with the
reason; give the excluded ones as counts per exclusion code.
Explain: to read a paper in depth the model needs its full text, the PDF. The plugin tries about a dozen legal sources in turn (publisher agreements, open-access archives, Unpaywall, OpenAlex and others). Many publishers block automated downloads, so expect only some papers to come through; that is normal and is exactly why real reviews budget time for this step.
Write the included items' keys to output/demo/<DEMO_ID>/include.keys, then
run start_enrich_pdfs with user=true and that filter_keys_file (free
API cascade). This can take a few minutes. For items still without a PDF,
run pdf_plan (or enrich_pdfs_plan) with lookups=openalex to count
what paid OpenAlex Content could fetch. If the count is above zero, ask
(it costs money) and show the count and the per-PDF price;
start_enrich_pdfs_paid is the default answer. If it is zero, say so and move
on. If no included item ends with a PDF, say so and let the presenter pick
another topic or item. Do not switch to the browser or manual routes; say in
a sentence which route would have been next, so the audience knows it exists.
Explain: coding means reading a paper and recording what it says in fixed fields (sample, method, findings). The model reads the whole paper and quotes its evidence word for word, which step 9 can then check.
Pick the included items that have a PDF, at most 3. Run
start_fulltext_code with user=true, only_keys=<their keys>,
output=output/demo/<DEMO_ID>/screening/fulltext_screening.csv,
dry_run=true, print the cost line, then run it with limit=3 and the
balanced tier (model=balanced), asking only if the floor is above $0.50.
Show each paper's coded fields and its evidence quotes.
Explain: the coded data is exported to a table, and a short report is written from it.
Export the coded data with export_coded_includes (user=true, to
output/demo/<DEMO_ID>/coded_papers.csv). Write
output/demo/<DEMO_ID>/report/report.md: about one page — the question, the
method (databases, search date, counts from the tool results), the number
screened/included/coded, and 2-3 findings from the coded fields. Every
number must be copied from a tool result or the CSV, never typed from
memory (empirical-integrity); cite only the coded papers. Follow
academic-style for the prose.
Then ask whether to run critic-loop on it in quick mode (it starts
several reviewer agents in parallel and spends credits; explain that in a
sentence). If yes, run exactly:
/critic-loop output/demo/<DEMO_ID>/report/report.md --quick --render-cmd "true" --rendered-path output/demo/<DEMO_ID>/report/report.md
(a Markdown report needs no render step). Show the verdicts, apply the MAJOR
fixes visibly, and stop after one round.
Explain: the coder's quotes are now marked in the PDF itself, and each quote is checked against the PDF text, which catches a model inventing words.
Run highlight_quotes with user=true, dry_run=true, then for real,
for the demo collection and tag prefix. Report the status counts: created,
not_found (the model's quote is not in the PDF — a faithfulness check, worth
showing), ambiguous.
Find the first highlighted item: the attachment key and page are in
output/highlight_log.csv (status created). Open it in Zotero on macOS
with open "zotero://open-pdf/library/items/<attachmentKey>?page=<page>"
(Windows: start "", Linux: xdg-open), and print the link as well. Tell
the presenter what to look for: colour-coded highlights, each with the
field and coded value as its comment.
Ask whether to keep or clear the demo. Default: keep until the presenter
says to clear. To clear, run demo_cleanup with user=true,
dry_run=true, show the counts, then for real (tag_prefix=<DEMO_ID>,
collection, keys_file). It deletes only the items the import created and
the demo collection; then delete the scratch directory
output/demo/<DEMO_ID> with the user's approval.
Stop at the failing step, show the tool's summary and log_path, and offer
to retry, shrink the sample, or end the demo. Do not improvise around a
failure on stage.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
systematic-review, demo, zotero, literature-review, workflow-demo
npx claudepluginhub mronkko/claude-academic-research --plugin academic-research14 skills in this plugin
/academic-styleUse when drafting or editing academic prose — topic sentences, paragraph structure, APA-style citations, voice, tense, hedging, term definitions — in a .qmd / .Rmd / .md / .tex file of an academic-research project. Trigger phrases "write this section", "edit this paragraph", "tighten the prose", "APA style". Do NOT use to revise a finished draft — use `critic-loop`. Do NOT use for citation or number accuracy — use `grounded-citations` / `empirical-integrity` / `fact-check`./cluster-screeningUse when screening or coding papers on a GPU cluster or batch scheduler instead of an LLM API — emitting a request manifest, submitting a SLURM job, collecting responses, applying them to Zotero. Trigger phrases "screen on the cluster", "run this on SLURM", "sbatch", "GPU node", "emit a manifest", "apply the responses", "batch screening". Do NOT use for ordinary API-based screening — use `systematic-review`./critic-loopUse when the user asks to revise, polish, critique, or finalize an existing academic manuscript, chapter, thesis, or paper — runs parallel critic subagents until no MAJOR issue remains. Trigger phrases "/critic-loop", "run critic-loop", "revise this manuscript", "polish this chapter", "critique this draft", "review this thesis". Do NOT use for first drafts — use `academic-style`. Do NOT use for a standalone citation audit — use `fact-check`./empirical-integrityUse when writing or editing a manuscript (.qmd, .Rmd, .ipynb, .tex, .md) that states numbers, statistics, tables, test results, or methodology facts (search dates, model names, keyword strings) — every such value must come from a pipeline-generated file via an inline expression. Trigger phrases "add the sample size", "report the results", "update the table", "insert this statistic". Do NOT use for citation claims — use `grounded-citations` / `fact-check`./fact-checkUse when the user asks to fact-check a manuscript, verify or audit its citations, or check that cited papers support the claims attributed to them. Trigger phrases "fact-check", "verify citations", "audit citations", "check the sources", "do these papers actually say that", "verify the numbers in this draft". Do NOT use during or right after a `critic-loop` run — its evidence critic already audits the citations. Do NOT use to add a new citation — use `grounded-citations`./grounded-citationsUse when inserting a new citation into academic prose, attributing a finding to a source, or summarising what a paper says. Trigger phrases "cite this", "add a citation for X", "what does Smith (2019) say", "summarise this paper", "attribute this finding". Do NOT use for Zotero library housekeeping — use `zotero-operations`. Do NOT use for auditing an existing draft's citations or for verifying that a cited paper actually supports the claim — use `fact-check`.Other plugins' skills for the same job