/kk:chain-of-verificationfrom kk
Applies Chain-of-Verification (CoVe) prompting to improve response accuracy through self-verification. Useful for complex questions requiring fact-checking, technical accuracy, or multi-step reasoning.
Ships in kk. 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.
Read when SKILL.md points to them.
CoVe is a verification technique that improves response accuracy by making the model fact-check its own answers. Instead of accepting an initial response at face value, CoVe instructs the model to generate verification questions, answer them independently, and revise the original answer based on findings.
Capy restriction: CoVe is a read-only verification tool. Do NOT call capy_index or capy_fetch_and_index during this workflow. Use capy_search only. If corrections reveal knowledge worth persisting, the calling agent handles indexing after CoVe completes.
CoVe adds the most value in these scenarios:
Precision-required questions:
Complex reasoning:
Fact-checking scenarios:
High-stakes accuracy:
Self-correction triggers:
Note: These heuristics can be copied to your project's CLAUDE.md if you want Claude to auto-invoke CoVe for matching scenarios. By default, CoVe requires manual invocation to give you control over when to invest additional tokens/time for verification.
CoVe offers two verification modes to balance accuracy vs. cost:
/kk:chain-of-verification)Uses prompt-based isolation within a single conversation turn.
See chain-of-verification-process.md for the standard workflow.
/kk:chain-of-verification:isolated)Uses Claude Code's Task tool to spawn isolated sub-agents for true factored verification.
Sub-agent customization flags:
| Flag | Effect |
|---|---|
--explore | Use Explore agent for codebase verification |
--haiku | Use haiku model for faster/cheaper verification |
--agent=<name> | Use custom agent type |
See chain-of-verification-isolated.md for the isolated workflow.
| Use Case | Recommended Mode |
|---|---|
| Quick fact-checking | /kk:chain-of-verification |
| High-stakes accuracy | /kk:chain-of-verification:isolated |
| Codebase verification | /kk:chain-of-verification:isolated --explore |
| Cost-sensitive verification | /kk:chain-of-verification or /kk:chain-of-verification:isolated --haiku |
Mandatory order — questions before verification. The flow below is strictly sequential. Do not answer verification questions, consult external sources, or revise the original response until you have generated the full initial response and formulated all verification questions. Jumping to verification before questions are fully formed collapses the independence that makes CoVe effective.
capy_search if needed. In isolated mode, sub-agents handle this step.See chain-of-verification-process.md for the standard workflow, or chain-of-verification-isolated.md for the isolated sub-agent workflow.
Use the /kk:chain-of-verification skill followed by your question:
/kk:chain-of-verification What is the time complexity of Python's sorted() function?
Or invoke /kk:chain-of-verification after receiving a response to verify it.
For isolated verification with sub-agents:
/kk:chain-of-verification:isolated What is the time complexity of Python's sorted() function?
With flags:
/kk:chain-of-verification:isolated --explore How does the auth system work?
/kk:chain-of-verification:isolated --haiku What year was TCP standardized?
Claude should recognize these phrases as requests to invoke the CoVe skill:
For isolated mode:
Important: This is guidance for manual recognition only. Auto-trigger is NOT implemented by default per design goals. Users who want automatic CoVe invocation for certain scenarios can add the heuristics from "When to Use This Skill" to their project's CLAUDE.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub serpro69/agentstakk --plugin kk16 skills in this plugin
/brainstormTRIGGER when: asked to brainstorm, think through, explore, or pressure-test a technical idea or decision through conversation. Interviews adaptively, asks one question at a time, and closes with a chat recap.
For technical products, architecture, infrastructure, tools, operations, and engineering workflows. Written design/specification and task-list requests belong to /kk:design; durable domain glossary/reference kits to /kk:model; implementation and fixes to /kk:implement. Not for nontechnical brainstorming.
/clarify-docsTRIGGER when: asked to clarify or improve existing documentation, PR drafts or
issue descriptions, including URLs and pasted bodies. Saves results locally,
grounded in requirements and source while preserving meaning. Not for requests
to implement, fix or work on an issue, code, config, generic response brevity,
or agent instructions. Explicit instruction or SKILL.md targets receive a
/kk:implement suggestion without edits or invoking implementation.
/dependency-handlingTRIGGER when: adding or upgrading any dependency — library, SDK, framework, API, IaC API version (K8s/Terraform/Helm), CRD, or container image. Use BEFORE writing the call. Forces context7/capy lookup instead of guessing.
/designTRIGGER when: asked to write or refine a technical design, PRD, specification, implementation plan, or task list, or resume an existing docs/feat/wip feature.
Turns ideas and requirements into written design documents, implementation plans, and tasks in docs/feat/wip/ before coding. For conversational exploration without written planning, use /kk:brainstorm.
/diff-skillCompare two versions of a skill's instructions to detect degradations and complexity increases.
TRIGGER when: user asks to diff, compare, or review changes to a skill's markdown instructions.
Asymmetric check — only regressions count. Additions, clarifications, and strengthenings are not degradations.
Compares HEAD → working tree by default. Walks the full reachable file set from SKILL.md via markdown links.
Produces a report file under docs/reviews/diff-skill/ and an inline summary.
/documentAfter implementing a new feature or fixing a bug, make sure to document the changes.
Use when writing documentation, after finishing the implementation phase for a feature or a bug-fix.
Other plugins' skills for the same job