Logo Cnki Reference Writer

Cnki Reference Writer

Cộng đồng
j2596
cnki-reference-writer

Use the user's logged-in Chrome CNKI account with PDF download access to verify, replace, and add references for Chinese theses, graduation papers, course designs, and technical reports. Use when Codex must search CNKI, download PDF-only candidate papers, obtain GB/T 7714-2025 citation entries, read full PDFs, screen suitable references, clean old citation numbering and DOI residue, rewrite or add body text so citations match PDF evidence, insert verified citations into DOCX files, rebuild bibliographies, and produce one reference verification checklist.

Tổng quan

Nhà phát hànhj2596
Kho mãReference-Skill
Tên kỹ năngcnki-reference-writer
Sao
27
Bản fork
0
Tệp đi kèm
8
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ộ.

  • 8 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 j2596 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 Cnki Reference Writer 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/j2596/Reference-Skill/tree/main
  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/j2596/Reference-Skill.git \
  .claude/skills/cnki-reference-writer
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 Cnki Reference Writer 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 Cnki Reference Writer 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 Cnki Reference Writer 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.

CNKI Reference Writer

Turn a Chinese paper with missing, insufficient, fake, weak, or unverifiable references into a Word document with CNKI PDF-verified citations.

Required Confirmation

Before controlling Chrome or downloading from CNKI, confirm:

  1. Chrome is already logged in to CNKI.
  2. The account or institution has PDF download permission.
  3. The user can manually handle slider verification, permission prompts, blocked downloads, or payment prompts if they appear.
  4. The paper DOCX path, output folder, PDF folder, and desired reference count or range are clear.
  5. Source-quality preferences are clear, such as Peking University Core, CSCD, EI, master's or doctoral theses, recent-five-year journals, or ordinary journals.
  6. The task is PDF-only: papers without downloadable PDFs are skipped and recorded.

Required Chrome Capability

CNKI work must use the @chrome plugin and the Chrome:control-chrome skill because CNKI login state, institution access, download permission, verification prompts, and download behavior live in the user's Chrome profile.

When this skill needs to search CNKI, open CNKI pages, copy CNKI quote entries, or download PDFs:

  1. First use the available Chrome:control-chrome skill instructions.
  2. Prefer the Chrome plugin capability named @chrome / plugin://chrome@openai-bundled when tool or plugin routing is available.
  3. Use the Chrome skill's Node REPL browser-client.mjs bootstrap exactly as documented there when direct Chrome tools are not exposed.
  4. Do not use generic web browsing, a fresh browser profile, unauthenticated HTTP requests, or non-Chrome automation as a replacement for CNKI operations.
  5. If the Chrome plugin or Codex Chrome Extension cannot be reached after following Chrome:control-chrome, pause and report the Chrome setup issue instead of continuing with unverifiable sources.

Non-Negotiable Rules

  • Use the user's Chrome session for CNKI because login state, institution access, and download permission live there.
  • Do not implement a separate Chrome discovery or connection flow before checking and following Chrome:control-chrome; this skill only adds CNKI-specific rules on top of that Chrome capability.
  • Final citation evidence must come from PDF full text only.
  • Do not use CNKI abstracts, keywords, titles, search snippets, HTML reading pages, reference lists, or AI summaries as final evidence.
  • Download PDFs only from the CNKI article detail page visible selector a#pdfDown[name="pdfDown"].
  • Do not use HTML reading, CAJ download, original reading, recommendation-zone links, advertisement links, or any other non-PDF entry as final evidence.
  • Do not count a PDF as downloaded because a browser event fired, a click succeeded, or the detail page has a PDF button. Count a PDF as downloaded only after a new PDF actually appears in the user's default download folder, its size is stable, and it has been copied or moved into the task PDF folder.
  • If the detail page has no visible PDF download entry, only offers non-PDF entries, or the click does not create a new PDF or .crdownload in the default download folder, skip the paper and record the reason.
  • Use CNKI's quote button li.btn-quote[title="引用"] to obtain GB/T 7714-2025 citation entries when available.
  • Before writing CNKI citation entries into the paper, bibliography, verification checklist, or Word document, remove all DOI content. Delete DOI:, DOI:, https://doi.org/..., http://doi.org/..., and any obvious DOI URL or DOI marker with everything after it when it appears at the end of an entry. Final references must not contain DOI, DOI:, DOI:, or DOI URLs.
  • Use CNKI search filters in #ModuleGroupFilter when quality, year, source, document type, or subject constraints are required.
  • Do not cite weakly related papers just to reach a target count.
  • Do not replace user-specified references without explaining why and getting confirmation, unless the user already authorized replacement.
  • Do not insert a citation number into an unchanged sentence unless that sentence already directly matches the PDF evidence. Rewrite or add nearby body text so the citation supports the exact claim being made.
  • Pause for login, verification, permission, payment, or download problems. Do not bypass access controls.

Standard Workflow

  1. Read the DOCX and extract headings, paragraph order, existing citation numbers, existing bibliography entries, and claims that need support.
  2. If references already exist, verify them on CNKI before searching for additions or replacements.
  3. Plan CNKI searches from the paper topic, modules, methods, and paragraph-level claims.
  4. Search CNKI in Chrome, apply filters, open candidate detail pages, copy citation entries, close citation popups, and download PDFs. Download success must be verified by scanning the user's default download folder, not by browser download events.
  5. Save PDFs in a task-specific folder using the actual downloaded file object's path. Use traceable archive names such as 01_Title_FirstAuthor.pdf, but never hand-type or shell-concatenate complex CNKI filenames.
  6. Read each downloaded PDF and extract at least one complete full-text evidence sentence for every final cited paper.
  7. Screen references for authenticity, PDF availability, readability, relevance, source quality, and non-duplication.
  8. Insert body citations into the DOCX, defaulting to at most one citation number per paragraph. Rewrite or add concise body text when needed so every citation maps to a real PDF evidence sentence.
  9. Clean old citation numbers, then rebuild the bibliography with only PDF-verified references ordered by first appearance.
  10. Rescan the final DOCX to confirm body citation numbers and bibliography numbers match, numbering starts at [1] and is continuous, no old numbers remain, no DOI residue remains, and no obvious duplicate punctuation or replacement residue remains.
  11. Produce one 参考文献引用核验清单.md file and a final processing summary. Do not produce separate tracking-table and citation-mapping Markdown files unless the user explicitly asks for them.

Reference Files

Load these files only when their details are needed:

FileUse when
references/workflow.mdNeed the full process for no-reference, insufficient-reference, or existing-reference scenarios.
references/cnki-chrome.mdNeed Chrome/CNKI selectors, Chrome:control-chrome routing, quote dialog behavior, overlay closure, filesystem-based PDF download checks, file naming, or skip conditions.
references/screening.mdNeed screening criteria, quality filters, rejection reasons, or PDF evidence sentence rules.
references/docx-citation.mdNeed body citation placement, old-number cleanup, evidence-aligned rewriting, numbering, bibliography rebuild, saving, or formatting rules.
references/templates.mdNeed the single 参考文献引用核验清单.md template or final summary format.
references/qa-checklist.mdNeed final quality checks before delivery.

Script

Use scripts/validate_reference_checklist.py to validate the final 参考文献引用核验清单.md for citation numbering, DOI residue, required fields, and local PDF paths:

bash
python scripts/validate_reference_checklist.py path/to/参考文献引用核验清单.md

Run the script before delivery. If it reports old numbering residue, missing PDFs, DOI residue, or missing evidence fields, fix the Word document and checklist before final response.

Final Response

When completing a real CNKI reference task, include:

  • Modified Word file path.
  • 参考文献引用核验清单.md path.
  • PDF full-text folder path.
  • Counts for downloaded-and-read PDFs, no-PDF papers, click-without-PDF-landed papers, failed downloads, permission/verification/login/payment problems, unreadable PDFs, final cited references, and rejected candidates.
  • Short citation-change summary covering first-appearance order, removed citation piles, removed old numbering, removed unverified references, DOI cleanup, and body text adjusted to match verified PDF evidence.

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 Cnki Reference Writer làm được gì?

Use the user's logged-in Chrome CNKI account with PDF download access to verify, replace, and add references for Chinese theses, graduation papers, course designs, and technical reports. Use when Codex must search CNKI, download PDF-only candidate papers, obtain GB/T 7714-2025 citation entries, read full PDFs, screen suitable references, clean old citation numbering and DOI residue, rewrite or add body text so citations match PDF evidence, insert verified citations into DOCX files, rebuild bibliographies, and produce one reference verification checklist.

Vì sao nên dùng Cnki Reference Writer 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. Cnki Reference Writer 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 Cnki Reference Writer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/j2596/Reference-Skill/tree/main. 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 Cnki Reference Writer?

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 Cnki Reference Writer 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 Cnki Reference Writer 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 Cnki Reference Writer có miễn phí không?

Có. Kỹ năng này được j2596 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 👇