From justokenmax
Offloads heavy sub-tasks (research, large-file investigation, log triage, broad search) to isolated subagent contexts, merging back only a compact digest to keep the main conversation cheap.
How this skill is triggered — by the user, by Claude, or both
Slash command
/justokenmax:chat-branchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Every file read and tool result in the main conversation stays in its context
Every file read and tool result in the main conversation stays in its context for the rest of the session, compounding cost. The fix is to branch: run self-contained sub-tasks in a subagent whose context is thrown away afterward, returning only what matters.
file:line references, and a few lines of summary — never transcripts or
full file dumps.This is the cheapest big lever: the main conversation grows by a paragraph
instead of by tens of thousands of tokens. Combine with code-index (have the
subagent query the index) and justokenmax (have it digest logs) for compounding
savings.
The /justokenmax:branch command is a shortcut for this pattern.
npx claudepluginhub kalmantic/justokenmax --plugin justokenmaxCompresses subagent prompts into ≤200-word briefs before spawning to avoid excessive token costs from cold-start re-tokenization.
Guides Claude to read at the right altitude, delegate bulk reconnaissance to subagents, avoid redundant re-reads, and externalize durable facts to preserve context window space.
Creates structured context packets for subagent handoffs, packaging task details, constraints, progress, and decisions to prevent context loss in multi-agent delegation.