Logo Paper Source Trace

Paper Source Trace

Tổ chức
AMinerOrg
paper-source-trace

Dùng khi người dùng cung cấp PDF bài báo học thuật, văn bản bài báo đã trích xuất, ngữ cảnh trích dẫn hoặc tài liệu tham khảo, và yêu cầu truy vết nguồn của bài báo, truy vết nguồn xoay quanh nhận định, trích xuất ý định trích dẫn, trích xuất thực thể/quan hệ, lập bản đồ đóng góp, tạo JSON đồ thị trích dẫn, sơ đồ trích dẫn SVG/HTML hoặc bổ sung siêu dữ liệu/trích dẫn tùy chọn từ AMiner. KHÔNG dùng kỹ năng này để tra cứu đơn giản bài báo theo tiêu đề, tìm học giả hoặc thực hiện truy vấn học thuật cơ bản — hãy dùng aminer-free-academic hoặc aminer-academic-search cho các tác vụ đó.

Add to TypingMind

Tổng quan

Nhà phát hànhAMinerOrg
Kho mãaminer-open-skill
Tên kỹ năngpaper-source-trace
Sao
66
Bản fork
19
Tệp đi kèm
11
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 11 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được AMinerOrg công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Paper Source Trace trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/AMinerOrg/aminer-open-skill/tree/main/skills/paper-source-trace
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Paper Source Trace trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Paper Source Trace ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Paper Source Trace với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Paper Source Trace làm được gì?

Dùng khi người dùng cung cấp PDF bài báo học thuật, văn bản bài báo đã trích xuất, ngữ cảnh trích dẫn hoặc tài liệu tham khảo, và yêu cầu truy vết nguồn của bài báo, truy vết nguồn xoay quanh nhận định, trích xuất ý định trích dẫn, trích xuất thực thể/quan hệ, lập bản đồ đóng góp, tạo JSON đồ thị trích dẫn, sơ đồ trích dẫn SVG/HTML hoặc bổ sung siêu dữ liệu/trích dẫn tùy chọn từ AMiner. KHÔNG dùng kỹ năng này để tra cứu đơn giản bài báo theo tiêu đề, tìm học giả hoặc thực hiện truy vấn học thuật cơ bản — hãy dùng aminer-free-academic hoặc aminer-academic-search cho các tác vụ đó.

Vì sao nên dùng Paper Source Trace trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Paper Source Trace là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Paper Source Trace trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/AMinerOrg/aminer-open-skill/tree/main/skills/paper-source-trace. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Paper Source Trace?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Paper Source Trace với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Paper Source Trace với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Paper Source Trace có miễn phí không?

Có. Kỹ năng này được AMinerOrg phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇