crates/tokf-cli/skills/codex-run/SKILL.md
Compress verbose CLI output with tokf before returning results. Activates for git, cargo, npm, docker, go, gradle, kubectl, and other supported commands.
npx skillsauth add mpecan/tokf tokf-runInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
When running a supported command, prefix it with tokf run:
tokf run <command>
Examples:
tokf run git status
tokf run cargo test
tokf run npm test
tokf run docker ps
The following commands have built-in filters. Prefix these with tokf run:
git status, git diff, git log, git push, git add, git commit, git showcargo build, cargo test, cargo check, cargo clippy, cargo installnpm test, npm run, yarn test, pnpm testdocker build, docker compose, docker ps, docker imagesgo build, go vetgradle build, gradle test, gradle dependenciesgh pr view, gh pr list, gh pr checks, gh issue view, gh issue listkubectl get podsnext buildpnpm add, pnpm installprisma generatepytesttsclsCommands not in this list pass through unchanged when prefixed with tokf run.
tokf run, do not add it again.tokf run cargo test --release -- my_test.tokf is not installed or not on PATH, run the command without the prefix.tokf run: RUST_LOG=debug tokf run cargo test.| grep, | tail, | head) after tokf run commands — tokf already compresses the output. Piping tokf's output for other purposes (e.g. tokf run cargo test | wc -l) is fine.tools
This skill should be used when the user asks to "create a filter", "write a tokf filter", "add a filter for <tool>", "how do I filter output", or needs guidance on tokf filter step types, templates, pipes, or placement conventions.
development
Find missed token savings in Claude Code sessions and create filters for unfiltered commands
data-ai
Find missed token savings by scanning AI coding session files for commands that ran without tokf filtering.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.