/cc-skills-analysis:epistemic-checkfrom cc-skills-analysis
Validate any Q&A response against the 4-section epistemic contract. Runs 3-phase audit (format → causal → comparative), reports violations and minimal repairs.
Ships in cc-skills-analysis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Validate any Q&A response against the 4-section epistemic contract using the same three-phase logic the Stop hook uses.
Verdict (allow | warn | block) + per-phase issues + minimal repair suggestions.
Parse the response into sections. Check:
[FACT], [INFERENCE], [UNKNOWN], [RECOMMENDATION]- Report format issues here.
Check causal language (because, causes, leads to, is caused by, due to, the reason is, etc.):
(source: ...) or must move to INFERENCEmay, might, could, seems, appears)is, are, ensures, guarantees) require rationale markers (because, so that, in order to, to ensure, based on)Check comparative/superlative language (best, optimal, safest, most efficient, lowest risk, simplest, etc.):
given, assuming, if your goal is) OR rationale markers — state the criterion: "best for X" or "optimal given Y"EPISTEMIC CHECK
Question: {truncated question}
Verdict: {allow|warn|block}
--- Phase 1: Format ---
[pASS] All four sections present in correct order
[FAIL] UNKNOWN section missing
--- Phase 2: Causal ---
[pASS] No causal violations
[FAIL] [INFERENCE] bullet 2 lacks uncertainty marker
--- Phase 3: Comparative ---
[pASS] No comparative violations
[FAIL] [RECOMMENDATION] bullet 0: superlative without criterion
--- Minimal Repairs ---
[UNKNOWN] bullet 0 — remove causal claim or move to INFERENCE
Current: "X causes Y"
Fix: "X may cause Y" (add uncertainty) or "X is associated with Y"
[RECOMMENDATION] bullet 0 — add criterion for superlative
Current: "Use the simplest approach"
Fix: "Use the simplest approach for minimal code churn"
| Section | Causal rule | Comparative rule |
|---|---|---|
| FACT | Requires citation | Requires citation or external quote |
| INFERENCE | Requires uncertainty marker | Superlatives require uncertainty |
| UNKNOWN | BLOCKED | BLOCKED |
| RECOMMENDATION | Hard assertions require rationale | Superlatives require criterion/assumption |
GATE 1 (STOP after Phase 1: Format & Structure): Before moving to Phase 2 (Causal Claims), verify:
- If gate fails: report format violations before proceeding to causal analysis.
GATE 2 (STOP after Phase 2: Causal Claims): Before moving to Phase 3 (Comparative Claims), verify:
If gate fails: report causal violations before proceeding.
STOP between phases:
/epistemic-check "what is X?" "X works because..."Before claiming code is absent, unchanged, or non-existent — search the codebase and verify with tools first. Claims of absence are only valid after confirmed Read/Grep/git failures.
Do NOT answer without reading relevant source files first. Do not ask the user for information you can obtain yourself via Read, Grep, Bash, git, or available MCP tools.
Prohibited:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (enduser123/cc-skills-analysis) — no native marketplace selected
npx claudepluginhub p/enduser123-cc-skills-analysis14 skills in this plugin
/behaveStructured behavioral analysis for LLM performance debugging — hypothesis testing for session patterns (loops, context degradation, decision inefficiency, cognitive overload, attention drift)/claude-auditAudit and optimize Claude Code configuration (CLAUDE.md, .claude/rules/, skills, hooks, agents, MCP, plugins, MEMORY.md) for over-engineering, token waste, and rule-shape — whether each rule lives in the right mechanism. Consolidates claudit + config-audit. Self-contained; no external subagent fleet./debriefUnified analysis hub — mines transcripts for unfinished work + origin-anchored tasks. Modes: default (transcript → root-cause tasks), chain (multi-session retrospective: /recap→gaps→/friction→/red-team→/rns + SCORES), gaps (deterministic gap detectors + mandatory haiku gap reviewer + RNS + artifact contract), top (6-source problem scan → ranked tasks). Trigger phrases: 'debrief this transcript', 'mine the chat history', 'victim log', 'why is this broken', 'run a retro', 'top problems', 'what gaps remain'. Absorbs /retro and /top-problems; gap detection is debrief-owned./doc-compilerCompile skills, plugins, projects, and workflows into interactive, verified HTML documentation with Mermaid diagrams, TOC, proof metadata, and browser validation./frictionDetect interaction friction and workflow automation opportunities from chat history and session evidence./recapGenerate a handoff-ready session recap across the full session chain, with an optional evidence-scoped pre-handoff check