Ingests multiple PDFs (or MarkItDown-supported documents) and builds a per-paper evidence table with user-defined columns. Extracts structured data across papers into CSV/Markdown for literature screening, methods comparison, or review evidence sheets.
Ships in alterlab-research-tools. 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.
Read when SKILL.md points to them.
The free analog of Elicit's "columns" feature. Point it at a stack of PDFs, declare the columns you care about, and get back a tidy evidence table — one row per paper, one column per question — as CSV or a Markdown table. Built for data extraction across a corpus: literature screening, methods comparison, PICO/sample-size pulls, and review evidence sheets.
Every input is normalized to clean Markdown via Microsoft MarkItDown (see the
alterlab-markitdown skill) before any column is extracted, so PDF, DOCX, PPTX, HTML, and
the other MarkItDown formats all work.
This skill operates on documents you already have and produces a structured table, not prose — use it after you have the papers.
| Scenario | Use Instead |
|---|---|
| Searching databases to find papers, or writing the narrative synthesis | alterlab-literature-review |
| Interrogating one PDF in depth (every section, figure, table, appendix) | alterlab-pdf-explore |
| Just converting a document to Markdown | alterlab-markitdown |
| Structured experimental data for papers you do not have on disk | alterlab-bgpt-search |
| Managing the PDFs and their references in a Zotero library | alterlab-pyzotero |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-literature-review) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
The keyless path is the precise one: the script converts and drafts, and you read each paper.
--markdown-dir:
SCRIPT=scripts/extract_to_table.py # relative to this skill's directory
uv run --python ">=3.11" --with 'markitdown[all]' python "$SCRIPT" papers/*.pdf \
--column "Sample size:how many participants were enrolled" \
--column "Design:study design randomised cohort survey interview" \
--column "Main finding:primary result reported" \
--column "Limitations:study limitations weaknesses" \
--markdown-dir converted/ --format md -o draft_table.md
uv resolves MarkItDown per call (no install step, no virtualenv). Each cell is the best keyword-matching sentence — a pointer, not an answer (it may be cut off, or empty when the paper uses other words).converted/<stem>.md, with Read). For each column, confirm or replace the draft cell with the exact value the paper states — the number enrolled and the number analysed when they differ, the effect estimate with its metric and CI, the design as the authors name it.Source first, one column per attribute, and a short evidence quote or section name per cell when the user wants an audit trail. Spot-check a few numbers against the PDF pages (Read opens PDFs) when a conversion looks garbled.--column "label:question" specs you ran (the question behind each column), that every cell was then checked against the converted paper, and the paths of the saved table and converted/ folder. A review's methods must report how data were extracted (PRISMA 2020 item 9), and the user needs the column questions to rerun or extend the sheet.Checked on this skill's fixtures: the draft cell for Dlamini 2024 read "we enrolled 312 students on academic" (the sentence wraps), while the saved Markdown states "312 … 287 (92%) completed follow-up and were analysed" and "odds ratio 1.62, 95% CI 1.05 to 2.50" — the read step is what turns the draft into the right row.
SCRIPT=scripts/extract_to_table.py # relative to this skill's directory
# Drop a --with flag only where that package is already importable by the Python that runs it.
# Heuristic backend: use 'label:question' so the question carries the words the
# papers actually use — overlap is lexical, so a bare label like "Sample size"
# rarely matches "we enrolled 240 participants" (see Backends below).
uv run --python ">=3.11" --with 'markitdown[all]' python "$SCRIPT" papers/*.pdf \
--column "Sample size:how many participants were enrolled" \
--column "Main finding:primary result reported" \
--column "Limitations:study limitations weaknesses" --format md --markdown-dir converted/
# Columns with explicit extraction questions, CSV to a file:
uv run --python ">=3.11" --with 'markitdown[all]' python "$SCRIPT" a.pdf b.pdf \
--column "n:how many participants were enrolled" \
--column "effect:what was the main reported effect size" \
--format csv -o evidence.csv
# Optional unattended LLM batch extraction (OPENROUTER_API_KEY or OPENAI_API_KEY) —
# label-only columns are fine here, since the model reads the paper:
uv run --python ">=3.11" --with 'markitdown[all]' --with openai python "$SCRIPT" lit/*.pdf \
--columns "Population" "Intervention" "Outcome" --backend llm
A column is a label plus the question that drives extraction. Two ways to declare:
| Spec form | Meaning |
|---|---|
"Sample size" | label == question; keywords come from the label |
"n:how many participants" | label n, question how many participants |
Use --columns for a space-separated list of simple labels, and repeat --column for
specs that need an explicit question. Both combine; duplicate labels are rejected.
"Sample size"
tokenizes to sample, size — which never appears in "we enrolled 240 participants", so
the cell comes back empty. For the heuristic backend, phrase columns as Label:question
where the question uses the words the papers actually use (participants, enrolled,
cohort, n=). Quantitative questions also get a small ranking bonus for sentences
containing digits when the question itself contains a digit or %. When you only have
generic labels, rely on the read step (or, if the user wants an unattended batch and has a
key, the llm backend).N/A when the paper is silent). Use it only when the user asks for it or the corpus is too
large to read in the conversation. Requested without a key, the script exits 2 before
converting anything and names the keyless alternative; it never falls back silently.
With OPENROUTER_API_KEY set, requests go to OpenRouter;
otherwise OPENAI_API_KEY is sent to OPENAI_BASE_URL (or the OpenAI default) — each key
only ever goes to its own endpoint. The model ID follows the ALTERLAB_MODEL convention
(shared/model_env.md): $ALTERLAB_MODEL, else the dated default; override
per-run with --model (on a non-OpenRouter endpoint, pass a model ID it serves). Spot-check
LLM answers against the PDFs before they enter a review, since a confident wrong number
looks the same as a right one in the table.--format md → GitHub-flavored Markdown table (pipes in cell text are escaped).--format csv → CSV via csv.DictWriter.-o FILE writes to disk (UTF-8); otherwise the table goes to stdout.--markdown-dir DIR also writes each converted document as DIR/<stem>.md for the read step.The first column is always Source (the input filename); a file that fails conversion
yields an ERROR row so the table stays aligned.
alterlab-pdf-extract sits downstream of paper discovery and upstream of synthesis:
alterlab-literature-review, search backends).alterlab-literature-review, alterlab-paper-writer.scripts/extract_to_table.py — the CLI. --help lists every flag; --columns /
--column define the table; --backend, --markdown-dir, --format, --model, -o
control extraction and output.Part of the AlterLab Academic Skills suite.
evals/evals.json (opens in a new tab)evals/fixtures/screening_round/Adeyemi_2021.pdf (opens in a new tab)evals/fixtures/screening_round/Brennan_2024.pdf (opens in a new tab)evals/fixtures/screening_round/Castillo_2023.pdf (opens in a new tab)evals/fixtures/screening_round/Duarte_2023.pdf (opens in a new tab)evals/fixtures/screening_round/Fischer_2024.pdf (opens in a new tab)evals/fixtures/screening_round/Haddad_2021.pdf (opens in a new tab)evals/fixtures/screening_round/Lindqvist_2022.pdf (opens in a new tab)evals/fixtures/screening_round/Mwangi_2022.pdf (opens in a new tab)evals/fixtures/screening_round/Nakamura_2023.pdf (opens in a new tab)evals/fixtures/screening_round/Okafor_2023.pdf (opens in a new tab)evals/fixtures/screening_round/Petrov_2022.pdf (opens in a new tab)evals/fixtures/screening_round/Varga_2024.pdf (opens in a new tab)evals/fixtures/trials/Abara_2022.pdf (opens in a new tab)evals/fixtures/trials/Brooks_2023.pdf (opens in a new tab)evals/fixtures/trials/Chen_2021.pdf (opens in a new tab)evals/fixtures/trials/Dlamini_2024.pdf (opens in a new tab)evals/fixtures/trials/Eriksen_2022.pdf (opens in a new tab)evals/fixtures/trials/Farouk_2023.pdf (opens in a new tab)evals/fixtures/trials/Gallagher_2024.pdf (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
14 skills in this plugin
/alterlab-bgpt-searchSearch scientific papers and retrieve structured experimental evidence from their full text — methods, results, sample sizes, effect sizes, risk-of-bias / quality assessment, limitations and conclusions, 25+ fields per paper, each value traced to the section it came from. Keyless by default — finds open-access studies in Europe PMC / PubMed Central, pulls their full text with the bundled script, and Claude extracts the fields; the BGPT MCP server (search_papers, lookup_paper by DOI) is an optional backend for its pre-extracted records (first 50 results free, then BGPT_API_KEY). Use when running a literature review or evidence synthesis, or when needing experimental details (sample sizes, effect sizes, methods, quality scores) that abstracts alone do not provide. Part of the AlterLab Academic Skills suite./alterlab-citation-graphFree ResearchRabbit / Connected Papers analog — builds a citation and co-citation graph around one or more seed papers from open citation data (the OpenCitations index and Semantic Scholar, with titles from Crossref), with no API key, account or subscription. Walks both directions of the citation network (works the seed cites and works that cite the seed), ranks the discovered neighbourhood by co-citation strength and bibliographic coupling to surface the papers most central to a topic's literature, and exports the network as GraphML (Gephi / Cytoscape / yEd) and JSON. Use when mapping a literature landscape, finding seminal or highly co-cited papers from a seed DOI, snowballing a reference network, building a citation map / co-citation analysis, or visualizing how a research area's papers connect. Part of the AlterLab Academic Skills suite./alterlab-research-tools:alterlab-pdf-extractfrom alterlab-research-tools
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-research-toolsOther plugins' skills for the same job