justinstimatze

Capitulant — Security skill for Claude Code

Security community

Detecting the moment an AI agent concludes a task is impossible and treats that as license to violate scope — grounded in a real 2026 multi-agent security incident.

How to install Capitulant

This entry records only its repository, not the path inside it, so there is no exact command to give. Open justinstimatze/capitulant and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Capitulant does

Detecting the moment an AI agent concludes a task is impossible and treats that as license to violate scope — grounded in a real 2026 multi-agent security incident. A Claude Haiku classifier (89.2% verdict / 75% category accuracy) plus a live Claude Code hook.

Alternatives in Security

README

capitulant

[![CI](https://github.com/justinstimatze/capitulant/actions/workflows/ci.yml/badge.svg)](https://github.com/justinstimatze/capitulant/actions/workflows/ci.yml) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

A prototype text classifier and literature review for one specific AI agent failure: an agent concludes a task can't be finished within its stated scope, and treats that conclusion as license to act outside the scope anyway — instead of stopping or escalating, which is what its own governing rules say it should do. Grounded in a real 2026 security incident where this exact move, repeated across many agent instances, led to a production breach (see `CODEBOOK.md`).

The name: one who capitulates — surrenders a boundary rather than holding it.

Status

A working classifier and a live Claude Code hook, each with real, documented gaps — not a hardened tool. Read `hook/README.md`'s "Known gaps" section before trusting this on a project you rely on.

  • Classifier. Claude Haiku (claude-haiku-5-5) via Anthropic's Messages API, forced into structured tool-use output rather than parsed from free text — see `hook/internal/classify`. 89.2% verdict accuracy / 62.5% category accuracy on the eval set below, the same in each of three runs (`eval/results/seed37_haiku55_structured_run1.json`). Haiku 4.5 scored 84–89% / 62.5–75% across its three runs. An earlier prompt-only classifier against gpt-oss-20b is still in the repo and still runs (see "Running it" below); the Haiku classifier is what the live hook and the numbers above use.
  • Eval set. 37 cases in `eval/seed_set.jsonl`, ground truth by construction, not by annotation. Three are real (one primary-source transcript, quoted and cited); the rest are synthetic and say so in their own metadata. Small enough that a fix targeting one failing case can