Claude
Skills
Sign in
Back

cognitive-checkpoint

Included with Lifetime
$97 forever

Detects passive-approval streaks in Claude Code sessions and prints a short checkpoint nudge so you notice when you may be rubber-stamping AI suggestions. The hook runs automatically on every UserPromptSubmit; this skill exists for documentation and runtime tuning.

AI Agents

What this skill does


# Cognitive checkpoint

## What it does

Counts consecutive short approvals (yes, ok, go ahead, ' + chr(0x05D9)+chr(0x05D0)+chr(0x05DC)+chr(0x05DC)+chr(0x05D4) + ', ' + chr(0x05DB)+chr(0x05DF) + ', ' + chr(0x1F44D) + ', etc.). After 3 in a row, prints a short nudge to stderr asking you to summarize the last 2-3 decisions you just approved.

The streak resets on substantial messages: at least 40 chars, contains a question mark / path / backtick, or words like no, wait, actually, instead, undo, revert.

If your first prompt is at least 200 chars, the threshold raises to 5. The assumption is you came with a plan, so a confirmation streak is execution, not surrender.

## Configuration

Drop overrides at `~/.claude/cognitive-checkpoint.toml`:

```toml
enabled = true
n_trigger = 3
plan_min_len = 200
substantial_min = 40
approval_max_len = 30
```

Set `enabled = false` to mute without uninstalling.

## Why this exists

The risk is cognitive surrender: accepting AI suggestions without staying mentally engaged. The hook is a small, deterministic, opt-in nudge - it does not check whether the AI is right. It checks whether you are still steering.

## State

State lives at `~/.claude/state/cc-<session_id>.json` and is safe to delete.

Related in AI Agents