Agent skill · kochetkov-ma

think-short-setup

Installs or removes the think-short terse-mode hooks. Triggers: think-short, be terse, terse mode, инжект терс-режим.

What it needs

About 12k tokens when loaded.

What this skill does

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/<sessionid>.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 20th user prompt (20/40/60…, 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 Position 1 of $ARGUMENTS is a free-form prompt (RU/EN) — modes and the project/global target are optional and may follow in any order. Nobody types keys: resolve mode + target FROM the prompt. 1. Strip nothing beyond mode/target words themselves — no other flags exist. An explicit mode token anywhere wins outright, no scoring. 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills kochetkov-ma/think-short-setup--7c2fcd

View the source on GitHub

Browse the @skills marketplace