Skip to content
Back to skills

Codex Discover

ASecurity

Find missed token savings by scanning AI coding session files for commands that ran without tokf filtering.

  • 197 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 26, 2026
toolsbash

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add mpecan/tokf --skill codex-discover --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Discover?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Discover
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mpecan-codex-discover/badge)](https://www.skillsdirectory.com/skills/mpecan-codex-discover)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tokf-discover
description: Find missed token savings by scanning AI coding session files for commands that ran without tokf filtering.
---

# tokf discover — Find Missed Token Savings

Use this skill to analyze past 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:

```bash
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

## Workflow

1. Run `tokf discover` to identify top savings opportunities
2. For commands with existing filters: run `tokf hook install --tool codex` to set up automatic filtering
3. For commands without filters: create a custom filter with `tokf eject`
4. Re-run `tokf discover` after changes to verify improvement

## JSON Output

Use `--json` for integration with other tools:

```bash
tokf discover --json
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.