🗜️
AutomationRust

Tokf Run

by mpecan

Tokf Run is an Automation 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 Run
Copy Tokf Run 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/codex-run ~/.claude/skills/codex-run

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/codex-run/SKILL.md in mpecan/tokf
Installs to
~/.claude/skills/codex-run
Collection
One of 4 skills cataloged from this repository
Category
Automation1956 skills

What Tokf Run does

Tokf Run compresses verbose CLI output from supported commands into concise results before returning them. Use it for git, cargo, npm, docker, kubectl, and similar commands when terminal output is too long.

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

Documentation

README

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:

tokf run <command>

Examples:

tokf run git status
tokf run cargo test
tokf run npm test
tokf run docker ps

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

Frequently asked about Tokf Run

  • What else does mpecan publish alongside Tokf Run?

    Tokf Run is one of 4 skills that DirSkills catalogs from mpecan/tokf, the repository it ships in. Its siblings there include Tokf Discover, Tokf Discover and Tokf Filter Authoring. Each one is a separate skill with its own page in this directory, installs the same way Tokf Run 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 Run compare to other Automation skills?

    Tokf Run ranks #1798 by stars among the 1956 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. 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 Run against them. Open each page to compare what they document and how they install.