Documentation
README
tokf — Token Output Filter
tokf compresses verbose command output so you receive concise, structured results instead of raw terminal dumps. It saves context tokens and makes output easier to reason about.
Rule
When the tokf Codex hook is installed, run supported commands normally. The hook rewrites matching commands to tokf run <command> before execution.
If the hook is unavailable, blocked, or not rewriting a supported command, use the manual fallback:
tokf run <command>
Examples:
tokf run git status
tokf run cargo test
tokf run npm test
tokf run docker ps
This is the opening of the README. Read the full README on GitHub.