chat-arch-thrash-detect
This skill is a holder for the PostToolUse hook at
post-tool-use-hook.cjs. There is no slash-command surface — the hook
runs automatically on every tool call when the user has run
install.cjs AND set CHATARCH_THRASH_DETECT=1 in their environment.
If you reached this skill via a slash command by mistake, no-op: there is nothing to invoke here.
Calibration
Threshold values are duplicated in thresholds.cjs to keep the hook
hermetic (no chat-arch package import). The canonical source is
packages/analysis/src/thresholds.ts in the chat-arch repo
(THRESHOLDS.thrash). When that file changes, mirror the change
here.
Fire events are appended to
~/.claude/cache/chat-arch-thrash/fires.jsonl so the calibration pass
can audit fire rate, false-positive rate, and ack-or-pivot follow-up
rate per the plan's pre-registered launch criteria.