dsh-context-slimmer: Collapse Main Agent Tool Documentation by Group, Expand on Demand

Every turn, the DSH main agent feeds the full descriptions of all global tools into the context — even definitions the model never calls still burn tokens. dsh-context-slimmer (v1.1.0, maintained by z11y11w) collapses the tool list via group-based organization and a three-tier configuration (global / workspace / window). Within a session, the model toggles visibility using tool_groups open/close calls; no capabilities are removed, only hidden. It is Host-only, installed as a local directory, and takes effect only after groups are configured; window-level selections are persisted under DSH_HOME. Ideal for setups with a large tool surface where reducing per-turn tool-definition overhead matters.

Read More