rtk-token-killer

rtk-token-killer is a skill for Claude Code, Codex from S3YED/appie-kit. It costs 63 tokens per session (520 once invoked), scanned C, original, MIT.

A Rust command-line tool that filters and summarises developer command output before it reaches an AI agent's context. Rust is the programming language used to build the tool.

In plain words
What is it for?
Getting compact listings, file reads, searches, Git output, test failures, diffs, JSON, dependency information, and summaries from commands such as Docker, GitHub, and database tools.
Why use it?
It reduces repetitive terminal output so the agent can focus on errors, warnings, and the most relevant results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Getting compact listings, file reads, searches, Git output, test failures, diffs, JSON, dependency information, and summaries from commands such as Docker, GitHub, and database tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s3yed/appie-kit/rtk-token-killer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add S3YED/appie-kit --skill rtk-token-killer
Clone the repo
git clone --depth 1 https://github.com/S3YED/appie-kit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rtk-token-killer

README.md
[![agentmods](https://agentmods.dev/badge/skills/s3yed/appie-kit/rtk-token-killer/github.svg)](https://agentmods.dev/skills/s3yed/appie-kit/rtk-token-killer)
Your own site
<a href="https://agentmods.dev/skills/s3yed/appie-kit/rtk-token-killer"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/rtk-token-killer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rtk-token-killer

Your own site · 80×15
<a href="https://agentmods.dev/skills/s3yed/appie-kit/rtk-token-killer"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/rtk-token-killer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 520 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00520
Opus 5.5 $0.00025 $0.00208
Sonnet 5.5 $0.00013 $0.00104
Haiku 4.5 $0.00006 $0.00052

Measured 3mo ago against content hash 1ea96edb69ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

rtk-token-killer scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh # Linux/macOS -> ~/.local/bin

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh # Linux/macOS -> ~/.local/bin
skills/automation/rtk-token-killer/SKILL.md · 41 lines

What it actually says

rtk — Rust Token Killer (token discipline)

A single Rust binary that filters and summarises command output before it hits the LLM context. ~80% fewer tokens on common dev commands, <10ms overhead, 100+ commands. Apache-2.0. Directly serves token-reduction doctrine.

Install

brew install rtk                                  # macOS
curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh   # Linux/macOS -> ~/.local/bin
rtk --version

Use it (prefix the command)

rtk ls            rtk tree           rtk read <file>        # token-optimized read/list
rtk git status    rtk git diff       rtk git log            # compact git
rtk grep <pat>    rtk find -name x   rtk diff a b           # condensed search/diff
rtk test          rtk err <cmd>                             # tests: only failures; cmd: only errors/warnings
rtk gh ...        rtk docker ...     rtk psql ...           # compact gh/docker/db
rtk json <file>   rtk env            rtk deps               # compact json/env/deps

rtk smart gives a 2-line technical summary of output.

rtk init -g       # installs a global hook so common commands route through rtk automatically

Without the hook, just prefix manually with rtk.

When to use

  • DEFAULT for any read-only inspect command whose raw output is large (file reads, listings, grep, git status/diff/log, test runs, logs, docker ps, json).
  • Pairs with token discipline: reference-over-inline, deltas-over-dumps — rtk enforces it at the shell layer.
  • Not for commands whose full output you genuinely need verbatim (then run the raw command).

Verified

Tested on macOS (rtk 0.42.4): rtk git status, rtk ls return compact output correctly.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 41 lines · 63 tokens per session scan C 1ea96edb69ae

Subscribe to this mod's changes

rtk-token-killer is a skill published in the GitHub repository S3YED/appie-kit (14 stars, last pushed 3mo ago), licensed MIT. It adds 63 tokens to every session and 520 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

rtk-token-killer compared with skills from other repositories

rtk-token-killer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rtk-token-killerS3YED/appie-kitSkill143mo agoMITC63Claude Code, Codex
seo-geo-optimizerViryaZheng/recomby-geoSkill4624mo agoMITA121Claude Code
internal-linking-optimizerViryaZheng/recomby-geoSkill4624mo agoMITA38Claude Code
geo-review-htmlViryaZheng/recomby-geoSkill4624mo agoMITA140Claude Code
geo-pipelineViryaZheng/recomby-geoSkill4624mo agoMITA169Claude Code
content-quality-auditorViryaZheng/recomby-geoSkill4624mo agoMITC44Claude Code
content-writerViryaZheng/recomby-geoSkill4624mo agoMITC163Claude Code