/justokenmax:chat-branchfrom justokenmax
Offloads heavy sub-tasks (research, large-file investigation, log triage) to isolated subagents, merging back only a compact digest to keep the main conversation cheap.
Ships in justokenmax. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kalmantic/justokenmax --plugin justokenmax5 skills in this plugin
/attachmentsCompress heavy context before it costs tokens. Use when the user attaches or asks to read a PDF, scanned document, screenshot/large image, or a verbose log / build output / CI output — convert PDFs to Markdown, compress oversized images, and digest noisy logs so the same content costs a fraction of the tokens./cache-alignPreserve prompt-prefix stability so the provider's KV cache keeps hitting, cutting cost and latency on long sessions. Use when structuring system prompts, memory files, or tool definitions, when a long session is getting expensive, or when deciding where to put changing vs stable content./code-indexFind code by symbol name instead of reading whole files. Use when you need to locate a function, class, or method, understand where something is defined, or navigate an unfamiliar repo — query the jusTokenMax code index to get file:line + signature in a few tokens, then read only that range./terse-outputCut the tokens the agent WRITES, not just what it reads. Activate when the user asks for terse/concise/brief output, says responses are too long, wants to save output tokens or cost, or runs /justokenmax:terse — then answer in a compressed style that preserves all technical substance while dropping filler.Other plugins' skills for the same job