/install citation-anchoring
Citation Anchoring (regression)
Purpose: prevent a common failure mode: polishing rewrites text and accidentally moves citation markers into a different ### subsection, breaking claim→evidence alignment.
Inputs
output/DRAFT.mdoutput/citation_anchors.prepolish.jsonl(baseline; created bydraft-polisheron first run)
Outputs
output/CITATION_ANCHORING_REPORT.md(PASS/FAIL + drift examples)
Baseline policy
draft-polishercaptures a baseline once per run:output/citation_anchors.prepolish.jsonl.- Subsequent polish runs should keep per-H3 citation sets stable.
Workflow (analysis-only)
Role:
- Auditor: only checks and reports; does not edit.
Steps:
- Load the baseline anchors.
- Parse the current
output/DRAFT.mdinto###subsections and extract citation keys per subsection. - Compare current sets to baseline sets:
- keys added/removed within a subsection
- keys that migrated across subsections
- Write
output/CITATION_ANCHORING_REPORT.md:
- Status: PASSonly if no drift is detected- otherwise,
- Status: FAILwith a short diff table + examples
Notes
If you intentionally restructure across subsections:
- delete
output/citation_anchors.prepolish.jsonland regenerate a new baseline (then treat that as the new regression anchor).
Troubleshooting
Issue: baseline anchor file is missing
Fix:
- Run
draft-polisheronce to generateoutput/citation_anchors.prepolish.jsonl, then rerun the anchoring check.
Issue: citations intentionally moved across subsections
Fix:
- Delete
output/citation_anchors.prepolish.jsonland regenerate a new baseline (then treat that as the new regression anchor).
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install citation-anchoring - After installation, invoke the skill by name or use
/citation-anchoring - Provide required inputs per the skill's parameter spec and get structured output
What is Citation Anchoring?
Regression-check citation anchoring (citations stay in the same subsection) to prevent “polish drift” that breaks claim→evidence alignment. **Trigger**: cita... It is an AI Agent Skill for Claude Code / OpenClaw, with 213 downloads so far.
How do I install Citation Anchoring?
Run "/install citation-anchoring" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Citation Anchoring free?
Yes, Citation Anchoring is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Citation Anchoring support?
Citation Anchoring is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Citation Anchoring?
It is built and maintained by WILLOSCAR (@willoscar); the current version is v1.0.0.