视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
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…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
Run scripts/verify_doi.py "<doi>". Compare returned metadata (title, authors, journal, year) against the user's citation. Flag any mismatch.
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>".
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>.
Use WebSearch to query "ISBN <number>" site:openlibrary.org OR site:worldcat.org and verify the book record.
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 requires different verification strategies because most Chinese publications are not indexed in CrossRef. 当 Chrome MCP 工具可用时,必须使用知网 CDP 直接检索作为首选核查方法;MCP 工具不可用时,以 WebSearch 作为备选。不得仅生成搜索链接或以"需知网核实"搪塞。每条中文文献必须给出明确判定。
当 Chrome MCP 工具可用时(navigate_page、take_snapshot、take_screenshot、fill、click、evaluate_script、wait_for),对每条中文期刊论文优先使用此方法。此方法直接查询知网数据库,准确率远高于 WebSearch。
前置检查:尝试对任意页面执行 take_snapshot,若 MCP 工具正常响应则使用 CDP 方法;若不可用(报错/超时)则跳至下方 WebSearch 备选流程。
批量核查注意:连续检索多篇论文时,每次检索间隔 2-3 秒,避免触发知网反爬机制。
navigate_page → https://kns.cnki.net/kns8s/AdvSearch
验证码处理:snapshot 的 DOM 中可能始终包含隐藏的"拖动下方拼图完成验证"文本,不能仅凭 snapshot 文本判断验证码是否出现。必须用 take_screenshot 截图查看页面实际显示状态:
用 take_snapshot 找到检索输入框,然后:
fill → [检索输入框] → "<待核查论文的完整标题>"
默认检索字段为"主题",对精确标题核查已足够,无需修改字段类型或添加其他筛选条件。
点击"检索"按钮,等待结果页加载:
wait_for → "检索结果" 或结果列表出现
若此时出现验证码,按 Step 1 处理。
先用 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 备选流程检查万方和百度学术后再下结论。
将知网结果与声称的引用信息逐项比对:
| 字段 | 比对方法 |
|---|---|
| 标题 | 去除空白后精确匹配。若知网结果标题包含声称标题(或反之),视为匹配。 |
| 作者 | 检查声称的第一作者是否出现在知网作者列表中。作者顺序可能不同。 |
| 期刊 | 精确名称匹配。注意缩写差异(如"北京大学学报" vs "北京大学学报(哲学社会科学版)"),任一方向的子串匹配算作匹配。 |
| 年份 | 知网日期字段中的年份必须与声称年份一致。 |
| CDP 结果 | 判定 |
|---|---|
| 标题精确匹配 + 作者匹配 + 期刊匹配 + 年份匹配 | Confirmed |
| 标题精确匹配 + 其余3项中2项匹配 | Likely Real(标注差异项) |
| 标题精确匹配 + 期刊或作者不匹配 | Metadata Error(论文存在但引用信息有误) |
| 前10条结果中无标题匹配 | 继续执行 WebSearch 备选流程后再判定 |
take_snapshot 文本手动解析;也失败则跳至 WebSearch当 Chrome MCP 工具不可用时,或知网 CDP 检索返回零结果需要交叉验证时,或需要补充强化 CDP 判定时,使用以下 WebSearch 流程。执行以下所有搜索,不得跳过任何步骤,不得在未完成所有搜索前标记为"Uncertain"。
Execute these WebSearch queries in sequence for each paper:
"<完整论文标题>" (with quotes, no site restriction)<论文标题> <作者姓名> (without quotes, broader match)<论文标题> <期刊名> (cross-validate venue)"<论文标题>" site:cnki.net (知网)"<论文标题>" site:wanfangdata.com.cn (万方)If steps 1-3 already confirm the paper exists with matching metadata, steps 4-5 are supplementary. If steps 1-3 yield no results, steps 4-5 are MANDATORY.
From the search results, verify:
Based on search results, assign ONE of these verdicts — "Uncertain" is NOT acceptable as a final verdict for Chinese literature:
| Verdict | Criteria |
|---|---|
| Confirmed | Found on 2+ sources (CNKI, Wanfang, Baidu Scholar, Google Scholar) with matching metadata |
| Likely Real | Found on 1 source with matching metadata, OR found with minor metadata discrepancies |
| Likely Fabricated | No results from any search, OR title/author/journal combination not found anywhere |
| Confirmed Fabricated | Multiple fabrication indicators: journal doesn't exist, author not in claimed institution, impossible date, etc. |
| Metadata Error | Paper exists but with different author/year/journal than claimed |
scripts/search_cnki.py --title "<中文标题>" 尝试 CrossRef 查找(部分中文期刊有 DOI)scripts/verify_doi.py(注意:多数中文文献无 DOI,无 DOI 不代表虚构)"<书名>" "<作者>" site:book.douban.com (豆瓣读书)"ISBN <号码>" if ISBN is provided"<书名>" site:opac.nlc.cn"<论文标题>" 学位论文 site:cnki.net"<论文标题>" 学位论文 site:wanfangdata.com.cn"<发文字号>" site:gov.cn"<标题关键词>" site:<媒体域名>site:people.com.cn; for Xinhua: site:xinhuanet.comWhen a reference claims the journal is a core journal (核心期刊), verify against:
When verification fails or metadata doesn't match, consult references/hallucination-patterns.md (English) or references/chinese-hallucination-patterns.md (中文) to identify which hallucination pattern applies. Common red flags:
When the user provides a reference list, verify each entry sequentially. Produce a summary table:
| # | Citation (short) | DOI verified | Title match | Author match | Year match | Confidence |
|---|-----------------|-------------|-------------|--------------|------------|------------|
| 1 | Smith 2020... | Yes | Yes | Yes | Yes | Confirmed |
| 2 | Jones 2019... | No DOI | No match | - | - | Likely Fabricated |
| Level | Criteria |
|---|---|
| Confirmed | DOI resolves AND metadata matches across sources |
| Likely Real | DOI resolves OR title+author match found, minor discrepancies |
| Uncertain | No DOI, no exact title match, but components are plausible. For Chinese literature, this level is NOT acceptable as final verdict — must execute full WebSearch procedure first. |
| Likely Fabricated | DOI doesn't resolve, no matching work found, hallucination patterns detected |
| Confirmed Fabricated | Multiple fabrication indicators, no trace in any database |
When the user asks whether a specific claim is actually stated in a source:
For each verified reference, output:
**Reference**: [original citation text]
**Status**: [Confirmed / Likely Real / Uncertain / Likely Fabricated / Confirmed Fabricated]
**Findings**:
- DOI: [resolves / not found / not provided]
- Title: [exact match / partial match / no match]
- Authors: [match / mismatch / details]
- Journal/Venue: [verified / not found]
- Year: [correct / incorrect (actual: XXXX)]
**Issues**: [list any discrepancies or hallucination patterns detected]
**Actual Source** (if different): [correct metadata if the reference is a distortion of a real work]
scripts/verify_doi.py — Verify DOI existence via CrossRef and DOI.org APIs. Returns metadata for comparison.scripts/search_crossref.py — Search CrossRef by title/author/keywords. Find whether a claimed work exists.scripts/search_cnki.py — Generate search URLs for Chinese databases (CNKI, Wanfang, CQVIP, Baidu Scholar) and attempt CrossRef lookup. Supplementary tool — always use WebSearch as primary verification method for Chinese literature.scripts/verify_chinese.py — Attempt direct HTTP verification against Baidu Scholar, CNKI, and Wanfang. May be blocked by anti-bot measures — if so, fall back to WebSearch. Usage: python scripts/verify_chinese.py --title "<中文标题>" --author "<作者>"scripts/verify_url.py — Check URL reachability and extract page metadata (title, author, DOI from meta tags).references/hallucination-patterns.md — Catalog of common hallucination types for English literature. Read when fabrication is suspected.references/chinese-hallucination-patterns.md — Catalog of hallucination types specific to Chinese literature (中文文献幻觉模式). Read when Chinese reference fabrication is suspected.references/verification-checklist.md — Comprehensive step-by-step checklist for English literature verification.references/chinese-verification-checklist.md — Comprehensive checklist for Chinese literature verification (中文文献核验清单), including CNKI, Wanfang, core journal, dissertation, and government document checks.