Chat arch thrash detect
Skill BryceEWatson/claude-global-skills/chat-arch-thrash-detect
A curated collection of Claude Code skills — code-review loop, local chat-history search, session end/resume, Gemini image generation, transcript retrospectives — that run machine-wide with just python and node.
npx -y skills add BryceEWatson/claude-global-skills --skill chat-arch-thrash-detectAssembled 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.
What its author says it does
Copied from the file, not written here
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).
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.