
Chhlafiu4312/citeguard
30最近提交 2026年8月14日
citeguard DSH 插件
CiteGuard 从草稿中提取并验证引用,使用离线验证和有界提供商检查。它从不将链接响应等同于事实,而是提供带置信度标签的状态(如 verified、mismatch、blocked)。
如何安装 citeguard DSH 插件
dsh plugin --profile web add https://github.com/Chhlafiu4312/citeguard/releases/download/v0.1.7/dsh-citeguard-0.1.7.tgz复制不会执行命令。安装 citeguard DSH 插件前请核对仓库和版本。
citeguard DSH 插件数据来源
citeguard DSH 插件快照日期:2026年8月16日
discovered
citeguard DSH 插件能做什么
- 提取 DOI、arXiv、HTTP URL 和 Markdown 链接引用,并进行归一化和去重。
- 执行离线验证和有界提供商检查(Crossref、arXiv),并带有 SSRF 防御。
- 提供可通过模型调用的 `citeguard_check` 工具、独立 CLI、稳定的 JSON 收据和可复用的 TypeScript API。
- 可配置网络模式(off、metadata、full),支持超时、大小限制和重定向上限。
- 检测描述性 Markdown 链接的标题相似性不匹配。
citeguard DSH 插件适合哪些场景
- 在提交前验证研究草稿中的引用。
- 自动检查 AI 生成内容中的 DOI 和 arXiv 标识符。
- 在 DeepSeek Harness 流程中强制执行引用质量和安全策略。
- 审计文档中的网页链接是否可达,且无 SSRF 风险。
- 将引用验证集成到持续集成工作流中。
citeguard DSH 插件适合谁
- 需要验证草稿中引用的研究人员和作者。
- 使用 DeepSeek Harness 构建带引用验证的 AI 应用的开发者。
- 审查 AI 生成参考文献的内容审核或质量保证团队。
citeguard DSH 插件的限制
- 仅支持 Crossref 和 arXiv 作为固定元数据提供商;任意 URL 验证需显式启用 `full` 网络模式。
- 需要 Node.js 22.19+ 和 pnpm;npm 包未发布(必须从源码构建或使用发布 tarball)。
- 早期版本(0.1.7),功能和稳定性可能变化。
- 无法验证语义正确性或研究质量;仅提供机械检查和置信度标签。
citeguard DSH 插件的仓库 README 摘录
以下文字摘自 citeguard DSH 插件的上游仓库 Chhlafiu4312/citeguard 的 README,版权归原作者,仅作引用。
English | [中文](README.zh.md) [](https://github.com/Chhlafiu4312/citeguard/actions/workflows/ci.yml) [](LICENSE) CiteGuard is a citation linter and bounded metadata verifier for DeepSeek Harness. It extracts DOI, arXiv, URL, and Markdown citations from drafts, checks what can be checked mechanically, and labels every conclusion at the right confidence level. It never turns “the link responded” into “the claim is true.” ## Why it exists AI-generated citations fail in several different ways: malformed identifiers, invented papers, wrong titles, dead links, or a real paper placed beside a claim it does not support. CiteGuard catches the mechanical failures while preserving a clear boundary around semantic review. ```text draft ──> extract + normalize ──> offline validation ──> bounded provider check │ │ └── proximity labels ────┴──> evidence receipt ``` ## What you get - DOI, arXiv, HTTP URL, and Markdown-link ex
阅读完整 README仓库许可: BSD-3-Clause
citeguard DSH 插件常见问题
如何在 DeepSeek Harness 中安装 CiteGuard?
在终端中运行命令 `npx -y @deepseek-ai/dsh plugin --profile web add https://github.com/Chhlafiu4312/citeguard/releases/download/v0.1.7/dsh-citeguard-0.1.7.tgz`,然后重启 Web UI。对于 headless 配置文件,将 `web` 替换为 `headless`。插件会注册一个名为 `citeguard_check` 的工具。
CiteGuard 可以自动验证任意 URL 吗?
不行,默认情况下它只检查固定的元数据提供商(Crossref 和 arXiv)。要启用任意 URL 验证,你需要在插件配置中设置 `networkMode: "full"`。此模式包含 SSRF 防御,并验证每个重定向目标。
状态 'mismatch' 是什么意思?
'mismatch' 表示 DOI 或 arXiv 标识符已解析到元数据,但 Markdown 中的描述性链接标签与提供商的标题不够相似(基于配置的 `minTitleSimilarity` 阈值)。它不表示抄袭或署名问题。
如何离线运行 CiteGuard?
使用 CLI 时,添加 `--text` 或 `--file` 参数,但不加 `--online` 或 `--full`。工具将仅提取引用并执行离线验证。或者,在 `citeguard_check` 工具中传入 `online: false`。
CiteGuard 能否保证引用是正确的?
不能。CiteGuard 仅执行机械检查:标识符语法、提供商解析、可达性和标题相似性。它无法验证语义正确性、研究质量或论文是否确实支持该主张。仍需人工审查。