context-slim
Installation
SKILL.md
Context Slim
Cuts the size of potential context sources with three levers — cross-layer dedup,
default-knowledge removal, deep per-file compression. Every exact value, key, path, pin and
non-default instruction survives byte-exact or acceptance fails. Orchestration only: every
decision rule lives in references/, read at the phase that needs it.
Prompt contract
$ARGUMENTS is one free-form RU/EN prompt; mode tokens and flags (--target=N%, --global,
--memory, --noask) may sit anywhere in it.
- Mode: an explicit mode token wins outright; else the most distinct whole-word keyword hits
(table below). Tie with a destructive mode ->
AskUserQuestion; withmeasure->measure; of two mutating modes -> the keyword that comes first. No hit or empty ->measure. - Scope: prose that is not a mode/path is still input: take the target, the ratio and the layer from
it (
сожми контекст на 40%, глобальный тоже-> modeslim,--target=40%,--global). - Ask: at most ONE
AskUserQuestion(max 4 questions) to resolve mode and scope, before any work, only when the answer changes what gets written. A read-only run asks nothing.