Performs claim-centered source tracing on academic papers: extracts citation intents, entities/relations, builds citation graphs, and generates SVG/HTML citation maps with optional AMiner metadata enrichment.
Paper Source Trace turns one target paper into grounded, claim-centered source-tracing artifacts. It keeps one canonical skill name, paper-source-trace.
Invoke it through natural language or /paper-source-trace.
SKILL.zh.md when the user mainly writes in Chinese or explicitly requests Chinese output.SKILL.md for all other requests.json/graph/citation_graph.json keys, intent labels, relation types, source roles, and parameter names in English in both workflows.Produce these artifacts when evidence and filesystem access allow:
analysis.md: human-readable report.json/graph/citation_graph.json: canonical machine-readable graph following references/schema.md.citation_map.svg: static citation map when SVG generation is possible.citation_map.html: single-file interactive graph when graph data is available.citation_map_chain.svg: chain-style source trace SVG only when svg: both.citation_map_spec.md: only when SVG generation has caveats or fails.Default output directory:
outputs/paper-source-trace/<safe-paper-stem>/
Preferred layout:
analysis.md
citation_map.svg
citation_map.html
citation_map_chain.svg # only when svg is both
citation_map_spec.md # only when SVG generation has caveats or fails
json/graph/citation_graph.json
json/aminer/*.json # only when AMiner raw results are saved
json/extraction/*.json # only when structured intermediates are saved
Legacy compatibility: if the user writes mode: current, treat it as svg: radial; mode: example as svg: chain; and mode: all as svg: both. If svg and mode are both supplied and conflict, ask the user to confirm the intended SVG output. hybrid, interactive graph, or expandable knowledge graph means the user wants the standard citation_map.html; it is not an SVG mode and does not change the SVG choice.
Before reading the paper, extracting citations, checking AMINER_API_KEY, calling AMiner, or generating SVG, ask the user to confirm:
radial, chain, or both.on or off.If the user already supplied one or both values, restate them as provisional and still ask for final confirmation. Stop until the user answers.
If interactive confirmation is genuinely impossible, use the recommended defaults: svg: both and aminer: on. Still follow the high-cost confirmation rule before any AMiner call estimated at ¥5 or more; if AMINER_API_KEY is missing, skip AMiner enrichment and continue local analysis.
AMINER_API_KEY unless requested.citation_sentence and context in the source language of the target paper. They are original evidence anchors, not localized explanations.evidence, summary, notes, Markdown report text, and visible SVG/HTML UI.When confirmation is possible, treat AMiner as off unless the user confirms aminer: on or explicitly writes enhance with AMiner, use AMiner metadata, complete paper_id, or trace AMiner citation relationships. When confirmation is genuinely impossible, the recommended fallback is aminer: on.
When enabled:
AMINER_API_KEY exists; never print the token.paper_search or paper_search_pro, paper_detail, paper_relation, and paper_info.¥5 or more, ask for explicit confirmation before paid calls.metadata.aminer_enrichment in json/graph/citation_graph.json.Use only these labels unless the user explicitly extends the taxonomy:
background, problem, core-method, supporting-method, dataset, metric, baseline, tool-resource, theory, result-evidence, limitation, future-work.
references/evidence_protocol.md before important classification or source tracing.source_traces[] by linking claims to local citation contexts, cited-source roles, and evidence steps.json/graph/citation_graph.json before visual artifacts.analysis.md; use references/analysis_template.md only for explicit template or fixed-format requests.citation_map.html and the confirmed SVG output with one renderer command: python3 scripts/render_html.py --graph <output>/json/graph/citation_graph.json --output <output>/citation_map.html --svg <radial|chain|both> --language auto.radial / chain views must share the renderer layout, colors, language pack, text wrapping, node priority, and edge rules.references/schema.md: canonical schema and JSON example.references/evidence_protocol.md: evidence and uncertainty rules.references/prompts.md: English and Chinese extraction/review prompts.references/visual.md: SVG and HTML graph rules.references/analysis_template.md: fixed report templates for explicit template mode.scripts/render_html.py: standard graph renderer. Use it for citation_map.html, citation_map.svg, and citation_map_chain.svg; do not hand-write ad hoc SVG or HTML.intent, evidence, confidence, and either reference_id or unmatched_reference: true.citation_sentence and context preserve the target paper's original language; only explanation fields are localized.citation_map.html and SVG maps with scripts/render_html.py after json/graph/citation_graph.json is written. HTML and SVG must use one visible language, the same canonical group labels, the same node ranking, and the same reduced-edge layout strategy.+N, and avoid citation-to-citation cross-links or AMiner-only relation lines.json/graph/citation_graph.json remains complete even if Markdown, SVG, or HTML has caveats.README.md (opens in a new tab)README_zh.md (opens in a new tab)SKILL.zh.md (opens in a new tab)commands/paper-source-trace.md (opens in a new tab)evals/evals.json (opens in a new tab)references/analysis_template.md (opens in a new tab)references/evidence_protocol.md (opens in a new tab)references/prompts.md (opens in a new tab)references/schema.md (opens in a new tab)references/visual.md (opens in a new tab)requirements.txt (opens in a new tab)scripts/render_html.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/paper-source-trace:paper-source-trace runs instead · from paper-source-trace
This skill never runs in Claude Code
It ships in paper-source-trace at SKILL.md, but /paper-source-trace:paper-source-trace (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
npx claudepluginhub aminerorg/aminer-research-skills --plugin paper-source-traceOther plugins' skills for the same job