闲社服务运行正常AI智能体自动化平台
c

引用锚定

技能标识:citation-anchoring

Regression-check citation anchoring (citations stay in the same subsection) to prevent “polish drift” that breaks

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

引用锚定

引用锚定(回归测试)

目的:防止一种常见故障模式:润色改写文本时意外将引用标记移动到不同的###子节中,破坏主张与证据的对齐。

输入

  • - output/DRAFT.md
  • output/citation_anchors.prepolish.jsonl(基线文件;由draft-polisher在首次运行时创建)

输出

  • - output/CITATIONANCHORINGREPORT.md(通过/失败 + 漂移示例)

基线策略

  • - draft-polisher每次运行捕获一次基线:output/citation_anchors.prepolish.jsonl
  • 后续润色运行应保持每个H3子节的引用集稳定

工作流程(仅分析)

角色:

  • - 审计者:仅检查并报告;不进行编辑。

步骤:

1) 加载基线锚定文件
2) 将当前output/DRAFT.md解析为###子节,并提取每个子节的引用键
3) 将当前引用集与基线引用集进行比较:

  • - 子节内新增/移除的引用键
  • 跨子节迁移的引用键

4) 写入output/CITATIONANCHORINGREPORT.md:
  • - - Status: PASS 仅当未检测到漂移时
  • 否则,- Status: FAIL 并附上简短差异表格 + 示例

备注

如果故意跨子节重组内容:

  • - 删除output/citation_anchors.prepolish.jsonl并重新生成新基线(然后将该基线视为新的回归锚定)

故障排除

问题:基线锚定文件缺失

解决方法:

  • - 运行一次draft-polisher生成output/citation_anchors.prepolish.jsonl,然后重新运行锚定检查

问题:引用被有意跨子节移动

解决方法:

  • - 删除output/citation_anchors.prepolish.jsonl并重新生成新基线(然后将该基线视为新的回归锚定)

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 citation-anchoring-1776103634 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 citation-anchoring-1776103634 技能

通过命令行安装

skillhub install citation-anchoring-1776103634

下载

⬇ 下载 citation-anchoring v1.0.0(免费)

文件大小: 114.81 KB | 发布时间: 2026-4-17 14:20

v1.0.0 最新 2026-4-17 14:20
- Initial release of citation-anchoring skill to detect and report citation drift across `###` subsections during editing/polishing.
- Compares baseline citation anchors with current draft to ensure claim→evidence alignment is preserved.
- Outputs a PASS/FAIL report with details of any drift, but does not modify content.
- Requires a baseline anchor file generated from a previous `draft-polisher` run.
- Designed as an analysis-only networkless tool; safe for audit use.
返回顶部