Cnki Reference Writer 标志

Cnki Reference Writer

社区
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.

概览

发布者j2596
代码仓库Reference-Skill
技能名称cnki-reference-writer
星标数
27
复刻数
0
附带文件
8
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 8 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/j2596/Reference-Skill.git \
  .claude/skills/cnki-reference-writer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Cnki Reference Writer。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

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.

附带文件

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

常见问题

Cnki Reference Writer AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Cnki Reference Writer?

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

如何在 TypingMind 中安装 Cnki Reference Writer?

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

哪些 AI 模型可以使用 Cnki Reference Writer?

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

Cnki Reference Writer 可以搭配多少个 AI 模型使用?

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

Cnki Reference Writer AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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