# chain-of-verification

chain-of-verification is a Claude Code skill that checks answers through independent questions and follow-up verification. It runs for fact-checking, technical claims, and multi-step reasoning.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 155 repo stars
- Author: serpro69
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/serpro69/claude-toolbox/tree/HEAD/kodex-plugin/skills/chain-of-verification/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/chain-of-verification

## What it does

The skill drafts an answer, then creates 3–5 questions aimed at testing its claims. It answers those questions separately and revises the draft when the findings disagree. The sequence matters: verification and source lookup start only after all questions have been formed.

In standard mode, the checks happen within one conversation turn. Isolated mode uses Claude Code’s Task tool to start subagents. It costs roughly 8–15 times the base token count; standard mode costs about 3–5 times. Knowledge lookup uses `capy_search`; `capy_index` and `capy_fetch_and_index` must not be called during the workflow. Automatic invocation is off by default.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill chain-of-verification -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/chain-of-verification/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/chain-of-verification/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill chain-of-verification -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/chain-of-verification/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill chain-of-verification -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/chain-of-verification/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install serpro69/claude-toolbox kodex-plugin/skills/chain-of-verification
```

2. **Manually: put the files in place**
- File: `.github/skills/chain-of-verification/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill chain-of-verification -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/serpro69/claude-toolbox --path kodex-plugin/skills/chain-of-verification
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/chain-of-verification/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/serpro69/claude-toolbox/tree/HEAD/kodex-plugin/skills/chain-of-verification/SKILL.md

## When to use it
- check a technical claim about an API or library
- spot errors in a chain of reasoning
- verify dates, statistics, or specifications
- review code analysis where security matters

## Example prompts
- Use `$kk:chain-of-verification` to check this answer: what is the complexity of Python’s `sorted()`?
- Verify how the authentication system works with `$kk:chain-of-verification:isolated --explore`.
- Check the year TCP was standardized with `$kk:chain-of-verification:isolated --haiku`.

## Similar
- [source-verification](https://affpapa.org/en/nevibecode/skills/source-verification.md) — skill · 490 installs
- [create-verification-skill](https://affpapa.org/en/nevibecode/skills/create-verification-skill.md) — skill · 10400 installs
- [verification-gate](https://affpapa.org/en/nevibecode/skills/verification-gate.md) — skill · 2600 installs
- [Data Wallet Verification](https://affpapa.org/en/nevibecode/mcp/data-wallet-verification.md) — MCP server · 6098 installs
- [app-verification](https://affpapa.org/en/nevibecode/skills/app-verification.md) — skill · 217 installs
- [Fetch SCITT receipts and on-chain anchors for offline verification](https://affpapa.org/en/nevibecode/mcp/fetch-scitt-receipts-and-on-chain-anchors-for-offline-verification.md) — MCP server

From the same set: [serpro69/claude-toolbox](https://affpapa.org/en/nevibecode/by/serpro69/claude-toolbox.md) — 30 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
