Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By letzdoov1.0.0MITIn 1 marketplace
Cuts token use on Odoo work by filtering test runs, Docker logs and git output before Claude reads them. A PreToolUse hook rewrites commands through the otk CLI on its own; it claims 60-90% token savings.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Reduce Claude Code token consumption by 60-90% on Odoo development operations.
Inspired by and built upon the ideas of RTK (Rust Token Killer) by the rtk-ai team. We are grateful for their pioneering work on token-optimized CLI proxies for LLM development workflows. OTK applies the same principles -- transparent output filtering, hook-based command rewriting, and data-driven analytics -- to the Odoo ERP development ecosystem.
OTK is a CLI proxy that filters command outputs before they reach Claude's context window. A PreToolUse hook transparently rewrites commands so Claude never sees the overhead:
Claude runs: invoke test sale_module
Hook rewrites: otk invoke test sale_module
Claude sees: "Tests: 142 passed, 1 failed\nFAILED test_sale_discount: AssertionError..."
Instead of: 3,000 lines of Odoo logs, module loading, SQL queries, and XML-RPC traces
| Operation | Freq | Without OTK | With OTK | Savings |
|---|---|---|---|---|
invoke test | 5x | 50,000 | 5,000 | -90% |
docker compose logs | 10x | 30,000 | 3,000 | -90% |
Reading .py files | 20x | 40,000 | 12,000 | -70% |
Reading .xml views | 15x | 30,000 | 9,000 | -70% |
git status/diff/log | 10x | 15,000 | 3,000 | -80% |
grep/rg searches | 8x | 16,000 | 3,200 | -80% |
| Total | ~181,000 | ~35,200 | -81% |
/otk-setup # Install, register hook, validate
That's it. Commands are now transparently optimized.
| Command | Description |
|---|---|
/otk-setup | Install OTK and register the PreToolUse hook |
/otk-gain | Show token savings analytics dashboard |
/otk-gain DashboardSee exactly what OTK saves you:
OTK Token Savings (Odoo Development)
==================================================
Total commands: 89
Input tokens: 181.0K
Output tokens: 35.2K
Tokens saved: 145.8K (81.0%)
Exec time: 12,340ms
Command Count Saved Avg%
------------------------------------------------
otk invoke test 12 45.0K 90.0%
otk docker compose logs 18 27.0K 90.0%
otk read *.py 25 28.0K 70.0%
otk git status 15 12.0K 80.0%
otk grep 8 12.8K 80.0%
otk read *.xml 11 21.0K 70.0%
| # | Filter | Target | Savings | What It Does |
|---|---|---|---|---|
| 1 | Test | pytest, invoke test | 90-95% | Failures + summary only |
| 2 | Log | Docker, Odoo logs | 85-95% | Errors + warnings + context |
| 3 | Python | .py source files | 40-70% | Signatures, fields, docstrings |
| 4 | XML | .xml views/data | 60-80% | Tags, attributes, structure |
| 5 | Git Status | git status | 80% | File counts by category |
| 6 | Git Diff | git diff | 70-80% | Stats + key hunk headers |
| 7 | Git Log | git log | 80% | One-line per commit |
| 8 | Grep | grep, rg | 70-85% | Grouped by file, deduped |
| 9 | LS/Tree | ls, tree, find | 50-70% | Compact tree + extension counts |
| 10 | Docker | docker ps/images | 60-80% | Truncated IDs, compact tables |
| 11 | Pip | pip list/install | 80-90% | Package count summaries |
| 12 | SQL | psql queries | 60-80% | Truncated columns, row limits |
Claude Code runs a command
|
PreToolUse Hook (hooks/otk-rewrite.sh)
|
Pattern match → rewrite to otk prefix
|
OTK CLI (scripts/cli.py)
|
Route to filter (src/filters.rs)
|
Execute command → capture raw output
|
Apply filter strategy → compressed output
|
Save full output to tee file (src/tee.rs)
|
Track metrics (src/tracking.rs → SQLite)
|
Return filtered output + [full output: ~/.local/share/otk/tee/...] hint
When OTK filters output, the complete raw version is saved to disk. The filtered output includes a hint line that Claude can use to access the full content:
Tests: 142 passed, 1 failed
FAILED test_sale_discount: AssertionError: expected 10.0, got 9.5
[full output: ~/.local/share/otk/tee/1234567890_invoke_test.log]
If the agent needs the full unfiltered output, it reads the tee file.
Tee modes: failures (default), always, never — via OTK_TEE_MODE env var.
7-day copy clicks
npx claudepluginhub letzdoo/claude-marketplace --plugin odoo-token-killerBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground