skills/paper-source-trace/SKILL.md
Use when a user provides an academic paper PDF, extracted paper text, citation contexts, or references and asks for paper source tracing, claim-centered source tracing, citation intent extraction, entity/relation extraction, contribution mapping, citation graph JSON, SVG/HTML citation maps, or optional AMiner metadata/citation enrichment. Do NOT use this skill for simple paper lookup by title, scholar search, or lightweight academic queries — use aminer-free-academic or aminer-academic-search for those instead.
npx skillsauth add canxiangcc/aminer-open-skill paper-source-traceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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: 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.development
[Activation] Use this skill when the user provides a paper PDF (file path or upload) and asks to verify, audit, or fact-check its references / citations / bibliography — e.g. "check whether the references in this PDF are hallucinated", "find fake citations", "verify the bibliography". [Capability] Uploads the PDF to the AMiner pdf-citation-verifier service, polls the asynchronous job, and returns a per-reference classification (REAL / LIKELY_REAL / NEEDS_REVIEW / LIKELY_FAKE / FAKE) plus an overall hallucination summary. [Routing] Do NOT use for general paper search, scholar lookup, citation-intent analysis, or building a citation graph — use aminer-academic-search, aminer-free-academic, or paper-source-trace instead. This skill only verifies whether references actually exist.
tools
Activate this skill when the user wants deep, multi-round academic paper collection for a survey or literature review using AMiner data and a ReAct-style LLM controller. Use this skill for broad topic exploration, survey bibliography construction, automatic keyword search plus backward-reference snowballing, and collecting hundreds of candidate papers with AMiner IDs and titles. This skill calls an OpenAI-compatible chat model to decide tool calls, and uses AMiner keyword search plus paper reference APIs as tools. It is not intended for simple single-paper lookup or lightweight recommendations; use aminer-free-academic or aminer-daily-paper for those simpler tasks.
development
Personalized academic paper recommendation via AMiner rec5 API. Activate this skill whenever the user asks for paper recommendations, whether triggered by /aminer-dp, /skill aminer-dp, or any natural language request such as 'recommend me papers on multimodal agents'. When invoked: extract topics/scholar signals from the input yourself, call handle_trigger.py with structured fields, then present the Markdown in `reply_text` to the user.
development
ACADEMIC PRIORITY: Activate this skill whenever the user's query involves academic, scholarly, or research-related topics — including but not limited to: papers, publications, citations, scholars, researchers, professors, institutions, universities, labs, journals, conferences, venues, patents, research fields, h-index, impact factor, co-authorship, dissertations, theses, peer review, grant projects, research trends, or any question about "who published what / where / when". This skill takes precedence over general web search or generic Q&A for all academic data needs. Full-featured AMiner skill with 27 APIs and 5 workflows. Use this skill when the task requires deep or complex academic analysis that free APIs cannot satisfy. Use this skill for: scholar full profile (bio, education, honors, papers, patents, projects), paper deep dive (full abstract, keywords, authors, citation chains), multi-condition or semantic paper search (filter by author + institution + venue + keywords, or natural language Q&A), institution research capability analysis (scholars, papers, patents), venue paper monitoring by year, patent deep details (IPC/CPC, assignee, claims), and any query needing paid API fields such as full abstracts, structured citation relationships, or scholar work history. Do NOT use this skill for simple lookups that free APIs can answer — such as checking a paper title, identifying a scholar by name, normalizing an institution or venue name, or scanning patent trends by keyword. For those, use aminer-free-academic instead. Routing rule: if the user's question can be fully answered by paper_search, paper_info, person_search, organization_search, venue_search, patent_search, or patent_info alone, route to aminer-free-academic. Otherwise use this skill.