TokenMiser is a modified fork of RTK, rebuilt as a lean command-output proxy with telemetry, SQLite history tracking, and analytics dashboards removed.
TokenMiser runs common developer commands through compact, LLM-friendly filters. It keeps the useful failure details, drops progress bars and boilerplate, and preserves the underlying command exit code.
TokenMiser keeps the useful command-output filtering core and removes the parts that made the tool heavier than it needed to be for local assistant workflows.
- No telemetry, daily ping path, device salt, or telemetry commands.
- No SQLite command-history database or analytics dashboard.
- No runtime analytics writes on the hot path.
- No optimization loop that depends on stored command history.
- A smaller README and docs surface focused on what the tool does now.
- Compatibility shims for legacy config, filters, trust stores, and hooks so existing users can migrate without losing local behavior.
The goal is a boringly local utility: run the command, compact the output, preserve the exit code, and avoid collecting anything along the way.
- Filters noisy command output before it reaches an AI coding assistant.
- Supports common Git, Rust, JavaScript, Python, Go, Ruby, .NET, Docker, Kubernetes, cloud, and system commands.
- Installs optional assistant hooks so supported shell commands can be rewritten automatically.
- Saves full raw output for selected failures through the local tee system.
- Supports trusted project-local TOML filters.
- Avoids telemetry, command-history persistence, and runtime analytics writes.
tokenmiser --version
tokenmiser git status
tokenmiser cargo test
tokenmiser pytestInstall assistant hooks:
tokenmiser init --global
tokenmiser init --showPreview a hook rewrite without running the command:
tokenmiser rewrite "cargo test"tokenmiser ls .
tokenmiser read src/main.rs
tokenmiser grep "pattern" .
tokenmiser git diff
tokenmiser gh pr list
tokenmiser cargo clippy
tokenmiser lint
tokenmiser docker ps
tokenmiser kubectl pods
tokenmiser discoverUnsupported commands can run through passthrough:
tokenmiser proxy make installTokenMiser has no telemetry path. It does not send daily pings, create a telemetry device salt, expose telemetry commands, or write command-history analytics to a local database.
Config lives in the platform config directory under tokenmiser/config.toml.
[display]
colors = true
emoji = true
max_width = 120
[tee]
enabled = true
mode = "failures"
max_files = 20
[hooks]
exclude_commands = []Environment variables:
| Variable | Purpose |
|---|---|
TOKENMISER_DISABLED=1 |
Disable hook rewriting for one command |
TOKENMISER_TEE_DIR |
Override the tee output directory |
TOKENMISER_HOOK_AUDIT=1 |
Enable hook audit logging |
Apache License 2.0 - see LICENSE for details.
See DISCLAIMER.md.