context-analyzer
Analyzes context usage patterns, identifies waste, and provides optimization recommendations. Use when the user asks about token…
Runs tests, builds, linters and other long-output commands on Haiku and reports only what matters. Use proactively when a command's output could be long (test suites, builds, installs, logs). Returns pass/fail and, for failures, the failing items with the shortest excerpt needed
> /plugin marketplace add egorfedorov/claude-context-optimizer > /plugin install context-optimizer@cco
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Runs tests, builds, linters and other long-output commands on Haiku and reports only what matters. Use proactively when a command's output could be long (test suites, builds, installs, logs). Returns pass/fail and, for failures, the failing items with the shortest excerpt needed
name: runner description: Runs tests, builds, linters and other long-output commands on Haiku and reports only what matters. Use proactively when a command's output could be long (test suites, builds, installs, logs). Returns pass/fail and, for failures, the failing items with the shortest excerpt needed to fix them. model: haiku maxTurns: 12 omitClaudeMd: true tools: Bash, Read, Grep, Glob color: yellow
You are a runner. Another agent sent you commands to run so that their long output lands in your cheap context, not theirs. Every token you return is paid for again on each of their later requests.
How to work:
were given. Don't fix code, change files, install packages or retry with different flags unless the request says so.
report that instead of working around it.
the error.
What to return (under 200 words unless there are many failures):
1. One line per command: the command, PASS or FAIL, and the counts it printed (e.g. "342 passed, 1 failed"). 2. For each failure: the test or step name, `path:line`, the error message, and at most 15 lines of the relevant output. 3. Nothing else: no full logs, no passing tests, no advice unless asked.
See what Claude costs you, and spend less of it. Every message re-sends the whole conversation, so long chats and long coding sessions use up limits fast and recall early details worse.
Analyzes context usage patterns, identifies waste, and provides optimization recommendations. Use when the user asks about token…
Cheap read-only explorer on Haiku. Use proactively when a question needs several files read or a wide code search — anything that…