Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

literature-verifier

БесплатноЗапускает вложенные скриптыНе проверен

Verify the authenticity of literature references and detect hallucinations in both English and Chinese (中文) sources. Use when users need to check if a…

yipng05-maxот yipng05-max★ 338 звёзд на GitHub23 установки в других каталогах

Об этом скилле

Literature Verifier

Verify authenticity and detect hallucinations in literature references of any type and any language: journal articles, books, web articles, conference papers, preprints, newspaper/magazine articles, dissertations, government documents, and more. Full support for both English and Chinese (中文) literature verification.

Verification Workflow

  1. Detect language: Determine if the reference is Chinese or English (or mixed)
  2. Parse the reference to extract structured fields (title, authors, year, journal/venue, DOI, URL, ISBN)
  3. Verify existence using appropriate sources:
    • English: DOI → CrossRef; URL → HTTP check; title → CrossRef search
    • Chinese: title → CNKI via Chrome CDP (primary), WebSearch (fallback); DOI → CrossRef (if available)
  4. Cross-check metadata between claimed and actual values
  5. Assess confidence and report findings
  6. Verify claims if the user asks about specific content attributed to the source

Verification by Identifier Type

Has DOI

Run scripts/verify_doi.py "<doi>". Compare returned metadata (title, authors, journal, year) against the user's citation. Flag any mismatch.

Has Title (No DOI)

Run scripts/search_crossref.py --title "<title>". If results return, compare the top match's metadata against the citation. If no match, try adding --author "<last_name>".

Has URL

Run scripts/verify_url.py "<url>". Check reachability, page title, and extracted metadata (citation_doi, citation_title, article_author). If URL is dead, suggest Wayback Machine: web.archive.org/web/<url>.

Has ISBN (Books)

Use WebSearch to query "ISBN <number>" site:openlibrary.org OR site:worldcat.org and verify the book record.

Minimal Information

Use WebSearch to search for the claimed title + author + year. Cross-reference results from Google Scholar (site:scholar.google.com), publisher sites, and library catalogs.

Chinese Literature Verification (中文文献核查)

Chinese literature requires different verification strategies because most Chinese publications are not indexed in CrossRef. 当 Chrome MCP 工具可用时,必须使用知网 CDP 直接检索作为首选核查方法;MCP 工具不可用时,以 WebSearch 作为备选。不得仅生成搜索链接或以"需知网核实"搪塞。每条中文文献必须给出明确判定。

知网 CDP 直接检索(中文期刊论文首选方法)

当 Chrome MCP 工具可用时(navigate_page、take_snapshot、take_screenshot、fill、click、evaluate_script、wait_for),对每条中文期刊论文优先使用此方法。此方法直接查询知网数据库,准确率远高于 WebSearch。

前置检查:尝试对任意页面执行 take_snapshot,若 MCP 工具正常响应则使用 CDP 方法;若不可用(报错/超时)则跳至下方 WebSearch 备选流程。

批量核查注意:连续检索多篇论文时,每次检索间隔 2-3 秒,避免触发知网反爬机制。

CDP Step 1: 打开知网高级检索页面

navigate_page → https://kns.cnki.net/kns8s/AdvSearch

验证码处理:snapshot 的 DOM 中可能始终包含隐藏的"拖动下方拼图完成验证"文本,不能仅凭 snapshot 文本判断验证码是否出现。必须用 take_screenshot 截图查看页面实际显示状态:

  • 若截图中可见验证码滑块弹窗遮挡页面,提示用户:"知网需要安全验证,请在浏览器中完成滑块验证,完成后告诉我。"
  • 若截图中页面正常显示检索表单(无遮挡),直接继续。

CDP Step 2: 输入待核查论文的精确标题

用 take_snapshot 找到检索输入框,然后:

fill → [检索输入框] → "<待核查论文的完整标题>"

默认检索字段为"主题",对精确标题核查已足够,无需修改字段类型或添加其他筛选条件。

CDP Step 3: 执行检索

点击"检索"按钮,等待结果页加载:

wait_for → "检索结果" 或结果列表出现

若此时出现验证码,按 Step 1 处理。

CDP Step 4: 读取并解析结果

先用 take_snapshot 查看结果页,然后用 evaluate_script 提取结构化数据:

evaluate_script → () => {
  const rows = document.querySelectorAll('.result-table-list tbody tr');
  if (!rows || rows.length === 0) return JSON.stringify({found: false, results: []});
  const results = [];
  rows.forEach((row, i) => {
    if (i >= 10) return;
    const titleEl = row.querySelector('.name a');
    const authorsEl = row.querySelector('.author');
    const sourceEl = row.querySelector('.source');
    const dateEl = row.querySelector('.date');
    results.push({
      title: titleEl ? titleEl.textContent.trim() : '',
      authors: authorsEl ? authorsEl.textContent.trim() : '',
      source: sourceEl ? sourceEl.textContent.trim() : '',
      date: dateEl ? dateEl.textContent.trim() : ''
    });
  });
  return JSON.stringify({found: results.length > 0, count: results.length, results});
}

若 JS 选择器不工作(知网可能更新 DOM 结构),回退到直接阅读 take_snapshot 的文本输出,其中包含可读的标题、作者、期刊、日期信息,手动解析即可。

若结果为零:论文未在知网检索到。这是重要信号但不是唯一依据,继续执行 WebSearch 备选流程检查万方和百度学术后再下结论。

CDP Step 5: 元数据比对

将知网结果与声称的引用信息逐项比对:

字段 比对方法
标题 去除空白后精确匹配。若知网结果标题包含声称标题(或反之),视为匹配。
作者 检查声称的第一作者是否出现在知网作者列表中。作者顺序可能不同。
期刊 精确名称匹配。注意缩写差异(如"北京大学学报" vs "北京大学学报(哲学社会科学版)"),任一方向的子串匹配算作匹配。
年份 知网日期字段中的年份必须与声称年份一致。

CDP Step 6: 根据 CDP 结果判定

CDP 结果 判定
标题精确匹配 + 作者匹配 + 期刊匹配 + 年份匹配 Confirmed
标题精确匹配 + 其余3项中2项匹配 Likely Real(标注差异项)
标题精确匹配 + 期刊或作者不匹配 Metadata Error(论文存在但引用信息有误)
前10条结果中无标题匹配 继续执行 WebSearch 备选流程后再判定

CDP 异常处理

  • MCP 工具不可用:整体跳过,使用 WebSearch 备选流程
  • 验证码持续阻塞:请用户处理;用户无法处理则跳至 WebSearch
  • 页面加载后搜索报错:重试一次;仍失败则跳至 WebSearch
  • 知网不可访问:跳至 WebSearch
  • DOM 选择器返回空:改用 take_snapshot 文本手动解析;也失败则跳至 WebSearch

WebSearch 中文核查流程(备选方法 / CDP 不可用时使用)

当 Chrome MCP 工具不可用时,或知网 CDP 检索返回零结果需要交叉验证时,或

Полный SKILL.md на GitHub

Установить literature-verifier в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

literature-review-writer.skillreferences/chinese-hallucination-patterns.mdreferences/chinese-verification-checklist.mdreferences/hallucination-patterns.mdreferences/verification-checklist.mdscripts/search_cnki.pyscripts/search_crossref.pyscripts/verify_chinese.pyscripts/verify_doi.pyscripts/verify_url.py

FAQ

Что делает скилл literature-verifier?

Verify the authenticity of literature references and detect hallucinations in both English and Chinese (中文) sources. Use when users need to check if a citation is real, verify a DOI, confirm a paper/article/book exists, cross-check author-title-journal-year metadata, detect fabricated references, validate URLs of online articles, or audit a reference list for accuracy. Covers journal papers, conference papers, preprints, books, monographs, newspaper articles, magazine articles, web articles, dissertations, government documents, and any other published works. Supports Chinese academic databases including CNKI (知网), Wanfang (万方), CQVIP (维普), Baidu Scholar (百度学术), and core journal list verification (北大核心, CSSCI, CSCD).

Как установить скилл literature-verifier?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл literature-verifier запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить literature-verifier с