agentsclimarketplace

Chat arch thrash detect

Skill BryceEWatson/claude-global-skills/chat-arch-thrash-detect

Calibration-gated PostToolUse hook that watches the rolling window of tool calls in a Claude Code session and emits a stderr nudge when it detects an Edit-thrash, Read-loop, Test-loop, or Tool-flail pattern. NOT a user-invokable skill — the directory exists to host the hook script + install/uninstall machinery alongside the rest of the chat-arch skill family. Gated behind `CHATARCH_THRASH_DETECT=1` for the 4-week calibration window (plan §Phase 4 #8).From its SKILL.md

Install
npx -y skills add BryceEWatson/claude-global-skills --skill chat-arch-thrash-detect

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.4 KB, 225 tokens by cl100k_base, as published. Nobody here has run it

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.

What ships with it: 7 files

48.1 KB alongside SKILL.md, 7 of them executable

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.