Paper Source Trace 标志

Paper Source Trace

组织
AMinerOrg
paper-source-trace

用户提供学术论文 PDF、提取出的论文文本、引用上下文或参考文献,并要求追踪论文来源、以论点为中心追踪来源、提取引用意图、提取实体/关系、梳理研究贡献、生成引用图 JSON、制作 SVG/HTML 引用图,或选择性地补充 AMiner 元数据/引用信息时使用。简单的论文标题查询、学者搜索或轻量级学术查询请勿使用此技能——此类查询请改用 aminer-free-academic 或 aminer-academic-search。

Add to TypingMind

概览

发布者AMinerOrg
代码仓库aminer-open-skill
技能名称paper-source-trace
星标数
66
复刻数
19
附带文件
11
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 11 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 AMinerOrg 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Paper Source Trace AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/AMinerOrg/aminer-open-skill/tree/main/skills/paper-source-trace
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AMinerOrg/aminer-open-skill.git /tmp/aminer-open-skill
mkdir -p .claude/skills
cp -r /tmp/aminer-open-skill/skills/paper-source-trace .claude/skills/paper-source-trace
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Paper Source Trace,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Paper Source Trace。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Paper Source Trace 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Paper Source Trace

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.

Language Routing

  • Use SKILL.zh.md when the user mainly writes in Chinese or explicitly requests Chinese output.
  • Use this SKILL.md for all other requests.
  • Keep json/graph/citation_graph.json keys, intent labels, relation types, source roles, and parameter names in English in both workflows.

English Workflow

Standard Artifacts

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:

text
outputs/paper-source-trace/<safe-paper-stem>/

Preferred layout:

text
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.

Startup Confirmation

Before reading the paper, extracting citations, checking AMINER_API_KEY, calling AMiner, or generating SVG, ask the user to confirm:

  • SVG output: radial, chain, or both.
  • AMiner enrichment: 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.

Core Rules

  1. Use only supplied paper text, citation contexts, reference entries, user notes, or explicitly requested AMiner results as evidence.
  2. Do not infer citation intent from domain memory alone.
  3. AMiner enrichment is explicit opt-in only. Do not check AMINER_API_KEY unless requested.
  4. AMiner may enrich IDs, URLs, candidate reference matches, and external citation relationships, but it cannot replace local citation contexts or prove intent/source traces by itself.
  5. Preserve uncertainty; lower confidence when citation context, reference matching, or source role evidence is incomplete.
  6. Keep citation_sentence and context in the source language of the target paper. They are original evidence anchors, not localized explanations.
  7. Use the user's output language for evidence, summary, notes, Markdown report text, and visible SVG/HTML UI.
  8. If output files can be written, do not stop at a chat-only summary.

AMiner Enrichment

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:

  1. Check only whether AMINER_API_KEY exists; never print the token.
  2. If missing, continue local analysis and record that enrichment was skipped.
  3. Use the shortest viable chain: paper_search or paper_search_pro, paper_detail, paper_relation, and paper_info.
  4. Output a cost summary for all planned or completed AMiner calls.
  5. If estimated cost is ¥5 or more, ask for explicit confirmation before paid calls.
  6. Record enrichment metadata under metadata.aminer_enrichment in json/graph/citation_graph.json.

Intent Labels

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.

Execution Steps

  1. Ask the startup confirmation question and wait for the answer.
  2. Resolve input evidence and output directory.
  3. Extract reliable paper text, reference entries, and citation contexts.
  4. Read references/evidence_protocol.md before important classification or source tracing.
  5. Classify citations with the allowed intent labels.
  6. Extract key target-paper claims or contributions when supported by text.
  7. Build source_traces[] by linking claims to local citation contexts, cited-source roles, and evidence steps.
  8. Extract entities and relations that explain the target paper.
  9. If AMiner is enabled, enrich metadata without replacing local evidence.
  10. Write json/graph/citation_graph.json before visual artifacts.
  11. Write analysis.md; use references/analysis_template.md only for explicit template or fixed-format requests.
  12. Generate 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.
  13. Do not hand-write ad hoc SVG or HTML; both static SVG modes and the HTML radial / chain views must share the renderer layout, colors, language pack, text wrapping, node priority, and edge rules.
  14. Validate artifacts before the final reply.

Reference Files

  • 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.

Quality Checks

  • Every citation has intent, evidence, confidence, and either reference_id or unmatched_reference: true.
  • Every intent label is in the allowed list.
  • Key citations trace back to a citation sentence or local context.
  • citation_sentence and context preserve the target paper's original language; only explanation fields are localized.
  • Every entity is supported by at least one citation.
  • Every source trace is grounded in at least one local citation context; AMiner metadata cannot be the sole support.
  • Generate 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.
  • Static SVG should use only useful main edges, summarize dense groups with +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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Paper Source Trace AI 技能有什么作用?

用户提供学术论文 PDF、提取出的论文文本、引用上下文或参考文献,并要求追踪论文来源、以论点为中心追踪来源、提取引用意图、提取实体/关系、梳理研究贡献、生成引用图 JSON、制作 SVG/HTML 引用图,或选择性地补充 AMiner 元数据/引用信息时使用。简单的论文标题查询、学者搜索或轻量级学术查询请勿使用此技能——此类查询请改用 aminer-free-academic 或 aminer-academic-search。

为什么在 TypingMind 中使用 Paper Source Trace?

因为您只需安装一次,就能搭配任何模型使用。Paper Source Trace 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Paper Source Trace?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/AMinerOrg/aminer-open-skill/tree/main/skills/paper-source-trace。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Paper Source Trace?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Paper Source Trace 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Paper Source Trace 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Paper Source Trace AI 技能免费吗?

是的。AMinerOrg 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇