mpecan / tokf
Config-driven CLI tool that compresses command output before it reaches an LLM context
Why this job: works in the areas we cover, but does not say which job it does
What it does
Commands like git push, cargo test, and docker build produce verbose output packed with progress bars, compile noise, and boilerplate. tokf intercepts that output, applies a TOML filter, and emits only what matters — so your AI agent sees a clean signal instead of hundreds of wasted tokens.
Get started
brew install mpecan/tokf/tokf
# or: cargo install tokf
tokf setup
# detect your AI tools and install hooks brew install mpecan/tokf/tokf You need: The filter must be a user-level or project-local filter (not a built-in). Use tokf eject first if needed.; At least one test file must exist in the adjacent _test/ directory. The server runs these tests against your filter before accepting the upload.; You must accept the MIT license (prompted on first publish, remembered afterwards).
- Maintenance
- Active
- Last commit 2 months ago
- Stars
- 200
- On GitHub
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest tag
- catalog-types-v0.2.54
- Released 2 months ago
- Built with
- Rust
- 99% of the code
Is it looked after?
- Contributors
- 3
- Last 90 days
- Issues
- 97% closed
- 4 still open
- Pull requests
- 311 merged
- 6 waiting
- Releases
- 263
- 30+ in the last year
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| day50-dev / streamdown | 363 | 16 days ago | MIT | No downloads |
| yucchiy / UniCli | 258 | 2 months ago | MIT | Mac, Linux |
| jrswab / axe | 910 | 3 days ago | Apache-2.0 | Mac, Windows, Linux |
More: languages, topics and project record
Languages
- Rust 99%
- Shell <1%
- Python <1%
- TypeScript <1%
Topics
- ai-tools
- claude-code
- cli
- command-line
- context-window
- developer-tools
- homebrew
- llm
- rust
- token-optimization
- toml
- output-filter
Project record
- JobOther AI tools
- StatusListed
- Commits355
- Forks18
- Watching1
- Stars in 28 days0
- CreatedFeb 18, 2026
- First seen by usNov 7, 2026
- CheckedNov 12, 2026
