AGENT SKILL

quickstart

暂无简介

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

03 SKILL.md 正文

tokf - LLM Context Compressor

Overview

tokf is a config-driven CLI tool that compresses command output before it reaches an LLM context. Reduces token usage for AI tools.

Quick Start

Run command with filtering

sc tokf run command <command>

Passthrough to tokf CLI

sc tokf _ <tokf-args>

Key Features

  • Context Compression: Reduce LLM token usage
  • Config-Driven: TOML configuration
  • Filter Library: Built-in filter library
  • Task Runner Integration: Works with make, just
  • Error Extraction: Extract errors from output
  • Test Failure Extraction: Extract test failures

Installation

cargo install tokf

Also available via:

  • Homebrew
  • Build from source

Usage Examples

Run command with filtering

tokf make test

Apply filter to fixture

tokf --filter error-filter fixture.txt

Verify filter test suites

tokf test

Explore available filters

tokf discover

Notes

  • Run tokf --help to see all available options

04 同仓库更多 Skills