think-short-setup

Installation
SKILL.md

Think-Short

Installer/configurator skill. It wires three self-contained hooks (SessionStart, UserPromptSubmit, SubagentStart) that inject a terse-output prompt — or configures/removes them. No profiles and no project-level config: the only state is the copied think-short-prompt.md plus an ephemeral per-session counter in the OS temp dir (os.tmpdir()/brewtools-think-short/<session_id>.think-short-counter), auto-pruned. The hooks own all runtime behavior. This skill only decides mode and project vs global, then delegates the file work to the brewcode:hook-creator agent following the runbook.

What the hooks do (informational — skill does NOT implement)

Hook Behavior
SessionStart inject the full terse prompt + reset the per-session counter
UserPromptSubmit inject the full prompt every 10th user prompt (10/20/30…, not the 1st)
SubagentStart inject the full terse prompt into spawned subagents (additionalContext accumulates across hooks — no coexistence/yield logic needed)

All three read think-short-prompt.md from their OWN directory and emit {} when it cannot be read. There is no enabled flag and no config file to add one to — so disable renames the copied prompt to think-short-prompt.md.disabled: the hooks stay wired, find no prompt, and every event becomes a genuine no-op. enable renames it back. This is the hooks' existing fail-open path, not new machinery.

think-short-prompt.md is copied into the target at install — an existing install keeps its old text forever. After the prompt changes (incl. a brewtools update), run upgrade on that target to pick it up.

Prompt contract

Installs
1
GitHub Stars
31
First Seen
9 days ago
think-short-setup — kochetkov-ma/claude-brewcode