🔎
AI EngineeringRust

Tokf Discover

by mpecan

Tokf Discover is an AI Engineering skill for Claude Code, published by mpecan in tokf.

196 stars19 forkson mpecan/tokfAdded 2026/09/05Repository updated 2026/09/02
ai-toolsclaude-codeclicommand-linecontext-windowdeveloper-toolshomebrewllmoutput-filterrusttoken-optimizationtoml
Install in seconds
Install Tokf Discover
Copy Tokf Discover into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/mpecan/tokf/tree/main/crates/tokf-cli/skills/tokf-discover ~/.claude/skills/tokf-discover

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/mpecan/tokf.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
crates/tokf-cli/skills/tokf-discover/SKILL.md in mpecan/tokf
Installs to
~/.claude/skills/tokf-discover
Collection
One of 4 skills cataloged from this repository
Category
AI Engineering3101 skills

What Tokf Discover does

Tokf Discover scans Claude Code sessions for unfiltered commands that produce verbose output. Use it to identify token-saving opportunities and create filters for commands without one.

Tokf Discover is cataloged under AI Engineering on DirSkills. Tokf Discover comes from a repository tagged ai-tools, claude-code, cli, command-line and context-window.

Documentation

README

tokf discover — Find Missed Token Savings

Use this skill to analyze Claude Code sessions and find commands that are running without tokf filtering, wasting tokens on verbose output.

Quick Start

Run tokf discover in the project directory to scan recent sessions:

tokf discover

Options

  • --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 path

Interpreting Results

This is the opening of the README. Read the full README on GitHub.

Commands Tokf Discover provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /tokf-filter

Frequently asked about Tokf Discover

  • What else does mpecan publish alongside Tokf Discover?

    Tokf Discover is one of 4 skills that DirSkills catalogs from mpecan/tokf, the repository it ships in. Its siblings there include Tokf Discover, Tokf Filter Authoring and Tokf Run. Each one is a separate skill with its own page in this directory, installs the same way Tokf Discover does, and is maintained by mpecan in that same repository. The rest of the collection is listed on the mpecan/tokf page.

  • How does Tokf Discover compare to other AI Engineering skills?

    Tokf Discover ranks #2864 by stars among the 3101 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Tokf Discover against them. Open each page to compare what they document and how they install.