brewtools:think-short
Installation
SKILL.md
Think-Short
Toggle terse-output mode. Writes state to
$CLAUDE_PLUGIN_DATA/think-short.json(global) or.claude/brewtools/think-short.json(project). Hooks read state and inject profile-specific directives into SessionStart + PreToolUse:Task. This skill ONLY parses intent and mutates state.
Robustness Rules
| Rule | Applies |
|---|---|
Every Bash call ends with && echo "OK ..." || echo "FAILED ..." |
ALL |
Never use Write/Edit on ~/.claude/* or $CLAUDE_PLUGIN_DATA — use Bash + Node fs via helpers |
ALL |
State writes go through writeState() in helpers/state.mjs (atomic, O_NOFOLLOW, 0600, merges defaults + timestamps) |
P2 |
State reads go through resolveEffectiveState() in helpers/state.mjs (merges hardcoded → global → project → env) |
P0, status |
NL-prompt resolution ALWAYS logged via log() from helpers/state.mjs at INFO level (auto-prefixed think-short), to .claude/logs/brewtools.log |
P0 |
BT_ROOT Resolver
$CLAUDE_PLUGIN_ROOT is NOT inherited by the Bash tool in main-conversation slash invocations. Every Bash block MUST resolve BT_ROOT dynamically (no hardcoded version):