install
source · Clone the upstream repo
git clone https://github.com/jmagly/aiwg
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jmagly/aiwg "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/citation-check" ~/.claude/skills/jmagly-aiwg-citation-check && rm -rf "$T"
manifest:
.agents/skills/citation-check/SKILL.mdsource content
Citation Check Command
Quick check of a single file for citation validity and GRADE-appropriate hedging.
Instructions
When invoked, perform quick citation check:
-
Parse File
- Extract all citations (REF-XXX, @-mentions, author-year)
- Map each citation to its GRADE level (from quality assessments)
-
Check Hedging Compliance
- For each citation, verify the surrounding language matches GRADE level:
- HIGH: "demonstrates", "shows", "confirms" - OK
- MODERATE: "suggests", "indicates" - OK
- LOW: Must use "limited evidence", "some data"
- VERY LOW: Must use "anecdotal", "exploratory"
- For each citation, verify the surrounding language matches GRADE level:
-
Report
- List each citation with its GRADE level
- Flag violations (overclaiming)
- Suggest fixes for violations
-
Auto-Fix (--fix)
- Replace overclaiming language with GRADE-appropriate hedging
- Preserve meaning while adjusting confidence level
Arguments
- File to check (required)[file-path]
- Automatically fix hedging violations--fix
- Treat all GRADE violations as errors--strict
References
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/citation-policy.md - Citation policy
- @.aiwg/research/docs/grade-assessment-guide.md - GRADE guide
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/agents/citation-verifier.md - Verifier agent