mcpbeat Sign in

Chain Of Verification Agent Skill

| Apply Chain-of-Verification (CoVe) prompting to improve response accuracy through self-verification. Use when complex questions require fact-checking, technical accuracy, or multi-step reasoning.

6k tokens
context cost
the whole folder, loaded on every use
4
files
instructions only
0
copies elsewhere
how many repositories repackaged it
147
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/serpro69/claude-toolbox --skill chain-of-verification

What comes with it

18 194 bytes besides the instruction
chain-of-verification-isolated.md
chain-of-verification-process.md
shared-capy-knowledge-protocol.md

What it tells the agent to use

found in the instruction text
Task spawns other agents

The instruction itself

10 sections, as written by the author

<!-- codex: tool-name mapping applied. See .codex/scripts/session-start.sh -->

Chain-of-Verification (CoVe)

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.

Conventions

  • Read capy knowledge base conventions at shared-capy-knowledge-protocol.md.

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.

When to Use This Skill

CoVe adds the most value in these scenarios:

Precision-required questions:

  • Questions containing precision language ("exactly", "precisely", "specific")
  • Complex factual questions (dates, statistics, specifications)

Complex reasoning:

  • Multi-step reasoning chains (3+ logical dependencies)
  • Technical claims about APIs, libraries, or version-specific behavior

Fact-checking scenarios:

  • Historical facts, statistics, or quantitative data
  • Technical specifications and API behavior

High-stakes accuracy:

  • Security-critical code paths or analysis
  • Code generation requiring accuracy verification
  • Any response where correctness is critical

Self-correction triggers:

  • When initial response contains hedging language ("I think", "probably", "might be")

> 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.

Verification Modes

CoVe offers two verification modes to balance accuracy vs. cost:

Standard Mode ($kk:chain-of-verification)

Uses prompt-based isolation within a single conversation turn.

  • Token cost: ~3-5x base tokens
  • Isolation: Best-effort (mental reset instructions)
  • Speed: Faster, single context
  • Best for: Quick fact-checking, cost-sensitive scenarios

See chain-of-verification-process.md for the standard workflow.

Isolated Mode ($kk:chain-of-verification:isolated)

Uses Claude Code's Task tool to spawn isolated sub-agents for true factored verification.

  • Token cost: ~8-15x base tokens
  • Isolation: True (sub-agents have zero context about initial answer)
  • Speed: Parallel execution minimizes latency
  • Best for: High-stakes accuracy, codebase 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.

Mode Selection Guide

| 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 |

Workflow

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.

  • Generate initial response. Produce a baseline answer to the user's question. This is the subject matter — it exists in context but is not yet verified.
  • Formulate verification questions. Create 3–5 targeted questions designed to expose errors in the initial response. The questions must be formulated without consulting external sources — they probe the response's own claims.
  • Independent verification. Answer each question independently, without referencing the initial response. Use capy_search if needed. In isolated mode, sub-agents handle this step.
  • Reconciliation. Compare verification answers against the initial response. Revise where discrepancies are found.

See chain-of-verification-process.md for the standard workflow, or chain-of-verification-isolated.md for the isolated sub-agent workflow.

Invocation

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?

Natural Language Invocation

Claude should recognize these phrases as requests to invoke the CoVe skill:

  • "verify this using chain of verification"
  • "use CoVe to answer"
  • "fact-check your response"
  • "double-check this with verification"
  • "use self-verification for this"
  • "apply chain of verification"
  • "verify this answer"

For isolated mode:

  • "use isolated verification"
  • "verify with sub-agents"
  • "use factored verification with isolation"

> 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.

Other skills for the same job

different authors, same section of the catalogue
Content Research Writer
by frostant
×10

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

4k tokens
Lead Research Assistant
by frostant
×8

Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.

2k tokens
Notebooklm
by ZhanlinCui
×6

Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.

26k tokens scripts
Biorxiv Database
by christophacham
×4

Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.

9k tokens scripts
Openalex Database
by christophacham
×4

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.

13k tokens scripts
Uspto Database
by christophacham
×4

Access USPTO APIs for patent/trademark searches, examination history (PEDS), assignments, citations, office actions, TSDR, for IP analysis and prior art searches.

21k tokens scripts
Denario
by christophacham
×3

Multiagent AI system for scientific research assistance that automates research workflows from data analysis to publication. This skill should be used when generating research ideas from datasets, developing research methodologies, executing computational experiments, performing literature searches, or generating publication-ready papers in LaTeX format. Supports end-to-end research pipelines with customizable agent orchestration.

11k tokens
Hypogenic
by christophacham
×3

Automated LLM-driven hypothesis generation and testing on tabular datasets. Use when you want to systematically explore hypotheses about patterns in empirical data (e.g., deception detection, content analysis). Combines literature insights with data-driven hypothesis testing. For manual hypothesis formulation use hypothesis-generation; for creative ideation use scientific-brainstorming.

7k tokens

How to use it

Copy the folder

Take serpro69/claude-toolbox-chain-of-verification from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.