mpecanmpecanCommunity·3 Agent Skills Included

tokf

Compress verbose command output to save context tokens

Compresses noisy terminal output from commands like git push, cargo test, and docker build into clean one-line summaries. Eliminates progress bars, compile noise, and boilerplate that waste context tokens during coding sessions. Installs hooks that filter every command automatically, with TOML filters anyone can author, share, or override.
npx skills add mpecan/tokf --all -g -y

All Skills in This Repository (3)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install tokf?

Run `npx skills add mpecan/tokf --all -g -y` in your terminal to install all skills in this suite globally.

How does tokf reduce token usage?

It intercepts verbose command output, applies a TOML filter, and returns only the essential lines, cutting context consumption by 60 to 90 percent.

Which commands does tokf support?

Built-in filters cover git, cargo, npm, pnpm, yarn, docker, go, gradle, kubectl, gh, pytest, tsc, and more, and you can write custom TOML filters for anything else.

Does tokf work with Claude Code and Codex?

Yes. Run `tokf hook install --global` to automatically filter every command your coding assistant runs, with support for Claude Code, OpenCode, and Codex.

Can I create custom output filters without coding?

Yes. Filters are plain TOML files, and the included filter-authoring skill guides you through creating one for any command.

Related Repositories in Software Engineering

View All in Software Engineering