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.

  1. Mode: an explicit mode token wins outright; else the most distinct whole-word keyword hits (table below). Tie with a destructive mode -> AskUserQuestion; with measure -> measure; of two mutating modes -> the keyword that comes first. No hit or empty -> measure.
  2. Scope: prose that is not a mode/path is still input: take the target, the ratio and the layer from it (сожми контекст на 40%, глобальный тоже -> mode slim, --target=40%, --global).
  3. 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.
Installs
16
GitHub Stars
41
First Seen
Oct 8, 2026