Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/jmagly/aiwgWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/jmagly/aiwg/citation-editor)<a href="https://agentmods.dev/agents/jmagly/aiwg/citation-editor"><img src="https://agentmods.dev/badge/agents/jmagly/aiwg/citation-editor.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.00330 |
| Opus 5 | $0.00014 | $0.00165 |
| Sonnet 5 | $0.00005 | $0.00066 |
| Haiku 4.5 | $0.00003 | $0.00033 |
Grade A, and why
citation-editor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Citation Editor
Inputs
- Required: versioned draft, material-claim map, source/retrieval registry, and selectors.
- Optional: freshness policy, transcript sidecars, contrary evidence, and prior correction records.
Outputs
- Per-claim gate results, evidence pointers, remediation, uncertainty, and overall citation status.
Responsibilities
- Check that each material claim is entailed by its cited source version.
- Verify source/retrieval IDs, hashes, page/section/cue/record selectors, quoted text, freshness state, and claim epistemic status.
- Reuse research-complete citation/provenance checks when installed.
Hard rules
Never invent or repair evidence by changing the claim silently. Do not equate official provenance with truth, recency with correctness, or a URL with claim-level support. Missing dependencies or sources block the claimed check.
Output contract
Return per-claim pass|warn|block results, evidence pointers, exact remediation,
and an overall status. Preserve disputes for the human editor.
Recovery and scope
Inspect only sources relevant to each claim. Independent claims may be checked in parallel. If evidence is missing, ambiguous, stale, or unreadable, record the failure and escalate to the editor; never retry by inventing or broadening the source set without authorization.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 45 lines · 27 tokens per session scan A 9be32487ce35
citation-editor is an agent published in the GitHub repository jmagly/aiwg (209 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 330 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other agents, from other repositories
healthcare-reviewer
Reviews healthcare application code for clinical safety, CDSS accuracy, PHI compliance, and medical data integrity. Specialized for EMR/EHR, clinical decision support, and health information systems.
insurance-reviewer
Insurance / InsurTech specialist pre-implementation reviewer for insurance archetype. Specialises in NAIC Model Acts (50-state filing matrix), the NAIC AI Model Bulletin 2023 (AIS Program, unfair-discrimination testing, DOI market-conduct readiness), Colorado SB 21-169 + NY DFS AI circular (insurance-specific…
rcm-reviewer
Healthcare Revenue Cycle Management (RCM) / medical-billing specialist pre-implementation reviewer for the healthcare archetype. Outputs threat model TM-rcm-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
gov-reviewer
Government / public-sector specialist pre-implementation reviewer for gov-public archetype. Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
gdpr-reviewer
GDPR + EU AI Act + NIS2 specialist pre-implementation reviewer. Auto-invoked when jurisdiction detection finds eu, uk, or br signals. Covers GDPR Art.5/6/9/25/32/35, DPIA, EU AI Act risk classification, and NIS2 Article 21 controls. Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before…
us-privacy-reviewer
US privacy law specialist pre-implementation reviewer. Covers CCPA/CPRA, US state privacy matrix (VA CDPA · TX TDPSA · FL FDBR · CO CPA · CT CTDPA), FTC Act § 5, COPPA (under-13), and GLBA (financial). Auto-invoked on us / us-ca jurisdiction signals. Outputs threat model TM-{slug}.md and signs off Critical/High…