Quickstart
Get started with tokf in two commands.
Quickstart
brew install mpecan/tokf/tokf # or: cargo install tokf
tokf setup # detect your AI tools and install hooks
That’s it. Every command your AI agent runs is now automatically filtered.
Run tokf gain to see how many tokens you’ve saved, or tokf setup --refresh to re-run detection.