/research-convensions:topic-reportfrom research-convensions
Synthesizes multiple sources (URLs, arxiv IDs, PDFs, notes) into a single cited markdown report using a three-pass extraction and synthesis workflow. Useful for literature reviews and research notes.
Ships in research-convensions. 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.
Turn (topic, sources[]) into a single cited markdown report. The skill enforces a three-pass workflow so that nothing in the report is hallucinated and every claim is traceable to a specific source.
The output is plain markdown by default — drop it into a research log, a paper's related-work section, or a .knowledge/ directory in your project repo to extend a reference library.
.knowledge/ with a new topic note and want one place to land all the per-source extractions plus a synthesis on top.sci-brain:survey, or a hand-curated arXiv/Scholar sweep), then come back here once you have a source list.zlp-harness:download-ref) and stop there.The canonical input form is a sources.md file that bundles the topic statement, a filter rule, and the source list in one place. The user prepares this file ahead of invocation; the skill reads it as the first step.
sources.md format# Topic
<One or two sentences. The narrower the better.
"How do recent graph-neural-network methods scale on heterophilic node-classification benchmarks?"
beats "graph neural networks".>
# Filter
<The rule that decides what counts as relevant content inside each source.
Apply this filter during pass-1 extraction — anything failing the filter goes in the per-source note as
"not in scope: <reason>", not in the body of the extraction.
Examples:
- "Only include results published 2023 or later."
- "Only include experimental results on benchmark X; ignore purely theoretical sections."
- "Only include claims tied to a public dataset or open-source code release."
- "Only include results that report runtime/memory, not only accuracy.">
# Recency
<Optional. Default `within: 1 month`. Affects source *discovery* (web search and arxiv queries),
not extraction. Format: `within: <N> <unit>` (e.g., `within: 1 month`, `within: 2 weeks`,
`since: 2026-01-01`, or `all` to disable). Discovered candidates older than the window are excluded
from the pick-list unless the user explicitly adds them.>
# History
<Optional. Default `.knowledge/topic-report-history.md` if `.knowledge/` exists in the cwd, otherwise
`.topic-report-history.md`. Path to the dedup ledger — the skill consults it during source discovery
and updates it after the report is written. See "History & deduplication" below.>
# Output
<Optional. Path for the report; default is `report.md` in cwd.>
# Audience
<Optional. internal | exec | whitepaper | investor. Default: internal.>
# Sources
- <source>
- <source>
- ...
Sources can be any mix of:
arxiv:2312.03982)doi:10.1038/s41586-024-08465-y).knowledge/references.bib ([Smith2024])Each source can have an optional per-source note after —:
- arxiv:2312.03982 — Smith et al., main benchmark paper
- https://example.com/blog/some-result — industry write-up; cross-check
- [Doe2024] — follow-up paper, KB already has rendering
sources.md is missing or partialsources.md and no inline list → ask the user where the source list is.The filter is load-bearing — it determines what shows up in every per-source note, so getting it right up front saves redoing pass 1.
The skill is rigid: three passes, no shortcuts. Each pass produces a concrete artifact before the next begins.
For each source, produce a short structured note. Do not synthesize yet; do not compare sources yet. The goal is a faithful, citable extraction of what this one source says about the topic, filtered by the rule from sources.md.
Use references/source-extraction.md for the per-source template and source-type-specific fetch tactics (PDF vs URL vs arxiv vs DOI vs local).
Apply the filter rule inside each extraction, not after. Content that fails the filter is recorded once as not in scope: <reason> and not included in the bullets — this keeps later passes from accidentally pulling filtered material back in.
Keep notes either in memory (small jobs, ≤5 sources) or as scratch files under .scratch/topic-report/<slug>/<n>-<cite-key>.md (larger jobs). Scratch files are gitignored.
If a source cannot be fetched (paywall, 404, format we can't read), record it as unreachable with the reason. Do not silently drop sources — the synthesis must know what was attempted and what was missed.
Read the per-source extractions side by side and produce:
Capture this as a one-page synthesis outline before writing the report. It's the load-bearing step — if the outline is muddled, the report will be too.
Use references/report-template.md for section structure and citation conventions. Headline rule: every non-trivial claim in the prose must end with a [CiteKey] anchor that resolves to a row in the Sources table. Claims with no anchor are flagged.
Full per-source-type playbook lives in references/source-extraction.md. Defaults:
| Source type | First-line fetch | Fallback |
|---|---|---|
| Web URL | WebFetch with a topic-shaped prompt | curl to a local file, then Read |
| arxiv ID | If .knowledge/.raw/arxiv/<id>.pdf exists, Read it | Otherwise download via download-ref (or curl https://arxiv.org/pdf/<id>.pdf) |
| DOI | Resolve via Semantic Scholar / Crossref → arxiv if available | Otherwise WebFetch the publisher page (often paywalled — fall back to abstract) |
| Local PDF | Read directly (Read supports PDFs ≤10 pages without pages) | For larger PDFs, pass pages: "1-10" and iterate |
| Local markdown | Read | — |
BibTeX cite-key in .knowledge/ | Read the matching <id>_<slug>.md rendering | Fall back to the bib entry's abstract |
Always record the canonical citation (authors, year, venue/URL) for the Sources table — fetching the content is only half the job.
The skill maintains a history ledger so a sequence of runs on the same topic doesn't keep re-suggesting the same sources. Path defaults to .knowledge/topic-report-history.md (or .topic-report-history.md if .knowledge/ doesn't exist), overridable via # History in sources.md.
One markdown table, append-only. The skill reads it before source-discovery and appends to it after the report is written.
# topic-report history
| Date | Topic slug | Source | Cite key | Bucket | Used in |
|---|---|---|---|---|---|
| 2026-05-21 | heterophilic-gnn-survey | arxiv:2401.12345 | Smith2024 | method | sources.md → report.md |
| 2026-05-21 | heterophilic-gnn-survey | doi:10.1145/3589334.3645678 | Doe2024 | benchmark | sources.md → report.md |
| 2026-05-21 | heterophilic-gnn-survey | https://example.com/blog/gnn-scaling | Lab-blog2024 | engineering | sources.md → report.md |
Source canonicalization for dedup:
http:// vs https://.arxiv:<id> (no version suffix).doi:<lowercase>.If a candidate's canonical form is already in the ledger, drop it from the pick-list and note "(seen YYYY-MM-DD in )" alongside, so the user can still force-include it if they explicitly want a re-visit.
unreachable and not in scope) to the ledger with today's date..knowledge/topic-report-history.md is meant to be committed alongside the project's reference library.Use the convention [FirstAuthorYear] (e.g., [Smith2024], [Doe2024]). Disambiguate collisions with a lowercase letter: [Smith2024a], [Smith2024b]. If the source is a non-paper (industry page, blog, internal memo, standards doc), use a short slug: [Lab-blog2024], [OpenAPI-spec]. The Sources table is the source of truth — keep keys consistent across the prose and the table.
When the topic lives inside this repo's KB, prefer the existing cite keys from .knowledge/references.bib over inventing new ones.
Before declaring the report done, verify:
sources.md appears in the Sources table (including unreachable and not in scope ones).[CiteKey] anchor.[CiteKey] appears in the prose that isn't in the Sources table.sources.md is restated verbatim in the report's Scope paragraph, so a reader knows what was excluded.| Mistake | Fix |
|---|---|
| Skipping pass 1 and writing the report straight from skimming | Always extract per-source first. Synthesis without extraction reliably hallucinates. |
| Silently dropping sources you couldn't fetch | Record them as unreachable with a reason. The user needs to know what's missing. |
| Inventing cite keys that drift between prose and table | Build the Sources table first, then write prose against its keys. |
| Generic sub-themes ("approaches", "results") | Use the topic's own vocabulary. Sub-themes should be findings, not chapter labels. |
| Burying disagreement in soft language | When sources disagree on a number or claim, say so explicitly with both numbers and both citations. |
| Pasting long source quotes verbatim | Extract claims, not paragraphs. The reader wants synthesis, not a clip file. |
| Hardcoding the output path | Confirm with the user; default to report.md in cwd unless they pointed elsewhere. |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub codingthrust/templates --plugin research-convensions7 skills in this plugin
/fix-prUse when a pull request on the current branch has review comments, failing CI checks, or coverage gaps to address — guides a triaged cleanup pass that fixes feedback in priority order without bundling unrelated changes./issue-to-prUse when you have a GitHub issue and want to open a PR carrying an implementation plan — guides fetching the issue, brainstorming an approach with the user, writing a plan file, and pushing a plan-only PR ready for implementation (manual or automated)./repo-hygiene-auditUse when auditing a software repository for beginner-level best-practice violations, repo health, Git history hygiene, issue and PR usage, branch discipline, tests, docs, coding style, CI, security basics, or maintainability signals./report-writingUse when setting up or writing a research documentation/report site — scaffolds a fresh site (Makefile, build script, GitHub Pages workflow, HTML templates) or refreshes templates in an existing setup. Output is a single-page index with download cards, rendered markdown prose, and PDF viewers, all sharing the same neutral-academic stylesheet (ink + terracotta on warm paper). The build pipeline is a single Python script driven by a doc registry; the visual identity is fixed; the contents are yours./review-implementationUse when a code change is finished but not yet committed — dispatches a fresh-context subagent to review the diff for design principles (DRY/KISS/HC-LC), test quality, and (where applicable) public-API ergonomics, then consolidates findings and applies the clear fixes automatically./slide-writingUse when building a scroll-snapped, two-column slide deck in a neutral-academic house style — research-style and formal — for research talks, project briefings, group-meeting decks, anywhere a one-figure-plus-commentary rhythm beats bulleted Keynote slides. Forces a two-phase workflow — agree on the logic flow first, then design each page — so the deck has a thesis before it has visuals. The output is a single self-contained HTML file (CSS, JS, fonts via CDN) with arrow-key navigation, page indicators, and a section component library (masthead, spec list, stats grid, data table, conclusion 2x2, voice-quote wall, tool stack, key-links). The visual identity is fixed; the contents are yours.Other plugins' skills for the same job