run-tool: Claude Code token optimization by tool call
github.com/ibrahim-bayer/claude-code-token-optimization-by-tool-call- Category
- Developer Tools
- Rank
- No. 3382Tools index
- Pricing
- Open Source
- Type
- TOOL
- Date
About
run-tool is a zero-dependency Node.js command runner that ships as a Claude Code hook, an MCP server, and a CLI. When a test, build, install, lint, or git push succeeds it returns a single line, and when a command fails it returns a deterministic extract of the failing tests, compiler errors, and stack frames with line references into the full log on disk. This keeps long shell output out of the context window, which reduces the tokens an agent re-reads on every later call, without using an extra model call to summarize.
Similar tools
ctxvitalsgithub.comCLI that measures token cost of MCP servers, skills and rules, flags issues, and grades your agent setup A-F.context-taxgithub.comCLI that audits Claude Code transcripts to show per-turn context overhead and unused tools, skills and servers.Chislechisle.jaypokale.meInstalls a terse persona and tool-output compressor to cut token use in Claude Code and 12 other coding agents.Skillzerogithub.comCLI that hides or bundles unused agent skills to cut context-window token overhead.
Browse all tools →Tags
claude-codemcphookstoken-optimizationcontext-windowcli
Tech Stack
Node.js
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.