crates/tokf-cli/skills/codex-discover/SKILL.md
Find missed token savings by scanning AI coding session files for commands that ran without tokf filtering.
npx skillsauth add mpecan/tokf tokf-discoverInstall 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.
Use this skill to analyze past sessions and find commands that are running without tokf filtering, wasting tokens on verbose output.
Run tokf discover in the project directory to scan recent sessions:
tokf discover
--all — scan all projects, not just the current one--since 7d — only scan sessions from the last 7 days (also 24h, 30m)--limit 0 — show all results (default: top 20)--json — output as JSON for programmatic use--session <path> — scan a specific session file--project <path> — scan sessions for a specific project pathtokf discover to identify top savings opportunitiestokf hook install --tool codex to set up automatic filteringtokf ejecttokf discover after changes to verify improvementUse --json for integration with other tools:
tokf discover --json
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
tools
Compress verbose CLI output with tokf before returning results. Activates for git, cargo, npm, docker, go, gradle, kubectl, and other supported commands.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.