Skip to content

aetox-skills/token-saver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ Token Saver — RTK Protocol

Default-on protocol: Try rtk for any command with long output. Skip only when output is trivially short. Saves 60-90% of tokens wasted on progress bars, boilerplate, and long listings. Recovers full error output via tee files when commands fail.

Token Saver is an AI agent skill that wraps RTK (Rust Token Killer, 67k⭐) — a CLI proxy that intercepts bash commands and strips redundant output before it reaches the LLM context.

Quick Start

rtk --version          # check installed
skill("rtk")           # load this skill
rtk git status         # use it

Core Principle

  1. Long/noisy output → rtk prefix. Always.
  2. Short output → run directly.
  3. Failure → read the tee file for full error output.

See SKILL.md for the full protocol (tee recovery, before/after examples, troubleshooting).

Related

About

Token Saver: RTK Protocol — CLI proxy that filters bash output to save 55-90% LLM tokens. Platform-agnostic: works with any AI coding tool (OpenCode, Claude Code, Codex, Cursor, Gemini CLI).

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors