mpecan/tokf/codex-run
Claude Code and agent skill by mpecan/tokf
- community
Checking that the SKILL.md file is still in the repository.
Compress verbose CLI output with tokf before returning results. Activates for git, cargo, npm, docker, go, gradle, kubectl, and other supported commands.
Install
npx vskill@latest install mpecan/tokf/codex-runSKILL.md
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:
Examples:
Supported commands
The following commands have built-in filters. The hook can rewrite them automatically; use tokf run manually only as fallback:
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 generatepytesttscls
Commands not in this list pass through unchanged when prefixed with tokf run.
Important rules
- Never double-prefix. If a command already starts with
tokf run, do not add it again. - Arguments pass through. In manual fallback mode, include all flags and arguments after the base command:
tokf run cargo test --release -- my_test. - Fail-safe. If
tokfis not installed or not on PATH, run the command without the prefix. - Environment variables. Place env vars before
tokf run:RUST_LOG=debug tokf run cargo test. - Pipes. Do not add redundant filtering pipes (e.g.
| grep,| tail,| head) aftertokf runcommands — tokf already compresses the output. Piping tokf's output for other purposes (e.g.tokf run cargo test | wc -l) is fine.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcrates/tokf-cli/skills/codex-run/SKILL.md
Popularity
- Repository stars
- 199
- Repository forks
- 19
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 28 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mpecan/tokf/codex-run)