From research
Audit research topics for cross-topic contradictions and inconsistent terminology. Produces AUDIT directive comments for the refine phase. Arguments: optional topic path.
How this skill is triggered — by the user, by Claude, or both
Slash command
/research:research-audit-consistency [topic-path][topic-path]opusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are auditing research content for cross-topic contradictions. You produce structured AUDIT comments that the refine phase will resolve.
You are auditing research content for cross-topic contradictions. You produce structured AUDIT comments that the refine phase will resolve.
Arguments: $ARGUMENTS
research/content/ — a file or directory. Omit to audit all topics.research/INDEX.md to identify which topics are in scope.
stub or inquiry are skipped (not yet ready for audit).draft, audited, or done are eligible.stub or inquiry, abort with an error.research/CLAUDE.md for project conventions.research/DECISIONS.md for prior decisions.research/glossary.md for term definitions.Before running the audit, resolve outstanding <!-- CONFIDENCE: low --> and <!-- CONFIDENCE: medium --> markers in the in-scope files. These are the highest priority items.
Scan the in-scope files (use Grep for <!-- CONFIDENCE:) and build a marker list. For each match capture:
file, line, level (low/medium), and the marker's existing reason: text.claim text the marker qualifies (typically the lines immediately above the marker, within the same paragraph).[citation-key] slugs already cited in that claim, plus the matching entries from the relevant <topic>_references.yaml (URL, title, authors, published, verified).If the list is empty, skip to the cross-topic audit.
Spawn the confidence-verifier subagent via the Agent tool with the marker list as input. Pass it the research/CLAUDE.md path and the relevant <topic>_references.yaml paths so it can reuse existing citation keys.
For very large batches (>30 markers spread across many topics), split by topic file and spawn multiple confidence-verifier subagents in parallel — one per topic, each receiving only that file's markers.
Apply the subagent's recommended-action per marker:
remove marker; set verified: true on <key> — delete the marker; update references.yaml (verified: true, last-checked: <today>); ensure the key is in the section's ### References list.remove marker; add new citation <key> + section reference — delete the marker; add the new entry to references.yaml; add the in-text [citation-key] and the ### References line.keep marker; downgrade low→medium or update reason: — edit the marker in place.convert marker to AUDIT type: contradiction; ref: <URL> — leave the CONFIDENCE marker; insert an AUDIT comment immediately after the claim. Severity is the audit skill's call (see this skill's severity guide).convert marker to AUDIT type: weak-source — leave the CONFIDENCE marker; insert an AUDIT comment.skipped — leave as-is and note in the user-facing summary.Spot-check with WebFetch only when a recommended-action carries unusually high weight (e.g., a contradiction that would force a DECISIONS.md entry).
Compare claims across all in-scope topics. Look for:
For each finding:
<!-- AUDIT:
type: contradiction
severity: minor | major
detail: "This section claims X, but <other-topic>#<section> states Y"
ref: "<other-topic-path>#<section-slug>"
-->
research/INDEX.md: change status to audited only if the file's audit frontmatter field now contains all four types (consistency, coverage, quality, coherence). Otherwise leave the status unchanged.updated date in frontmatter for each modified file.audit field in each audited file's YAML frontmatter listing completed audit types — e.g. audit: [consistency]. If the field already exists, append consistency to the list (avoid duplicates).Do NOT commit. The user will review and use /commit when ready.
The expected commit message format: research(audit): <scope> consistency
major = factual errors, direct contradictions. minor = inconsistent terminology, style issues.audited status in INDEX.md when its frontmatter audit field contains all four types: consistency, coverage, quality, coherence.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub mtrense/skills --plugin research