rtk
Skill1 starsChanged 31 days agoMITView on GitHub
Instructions for the upstream workflow: Compact command output before it reaches the model — prefix a shell command with the wrapper and it returns a filtered, smaller form (test failures only, build errors grouped, compact diff, compact status), with meta commands for savings statistics, missed-usages discovery and an unfiltered proxy mode. Use on the verbose and repetitive commands: tests, builds, git, package managers, containers and file listings. Not for compressing model input in general — use universal-compressor; not for the per-turn compression policy — use token-shaper.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Buddhilive/buddhi-clitheir own version, first seen Nov 1, 2026
- hongphuc5497/skillstheir own version, first seen Nov 1, 2026
- okfriansyah-moh/agentic-workflowtheir own version, first seen Oct 25, 2026
- GeekFamilyCorp/TricorderKittheir own version, first seen Oct 13, 2026
- lesterppo/hermes-token-efficiencytheir own version, first seen Sep 30, 2026
- EDM115/skillstheir own version, first seen Aug 3, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- GeekFamilyCorp/TricorderKit★ 32same name
- EDM115/skills★ 4same name
- hongphuc5497/skills★ 2same name
- lesterppo/hermes-token-efficiency★ 2same name
- Buddhilive/buddhi-cli★ 1same name
- okfriansyah-moh/agentic-workflow★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository114 other files it gives its agents.
- agent-cacheSkill
- agent-compressionSkill
- agent-intelSkill
- agent-overlapSkill
- agent-stateSkill
- ambient-hudSkill
- app-testSkill
- audit-dagSkill
- auto-distillSkill
- auto-memorySkill
- auto-routerSkill
- benchSkill
- bootstrapSkill
- botte-learnSkill
- botte-nnSkill
- botte-proxySkill
- botte-wrapSkill
- cacheSkill
- call-chainsSkill
- capabilitiesSkill
- cardinalSkill
- checkupSkill
- clarificationSkill
- clusterSkill
- code-complexitySkill
- code-duplicationSkill
- code-fingerprintSkill
- code-rulesSkill
- code-stateSkill
- code-wrappersSkill
- comfyuiSkill
- completion-proofSkill
- conductorSkill
- context-budgetSkill
- context-compressorSkill
- context-profilerSkill
- context-slicerSkill
- context-windowsSkill
- control-loopSkill
- cost-estimatorSkill
- dag-optimizerSkill
- dashboardSkill
- decision-ladderSkill
- demoSkill
- diff-languageSkill
- directives-auditSkill
- docgenSkill
- docs-stewardSkill
- dynamic-workflowsSkill
- efficiencySkill
- eventsSkill
- fallow-likeSkill
- fallowSkill
- fast-contextSkill
- fixSkill
- fleetSkill
- hailo-visionSkill
- harness-deltaSkill
- harvestSkill
- hermes-bridgeSkill
- The first 60 shown.
The file
Files
RTK — compact shell output
Package scope and prerequisites
This catalog ships instructions, not the executable runtime. Python modules, scripts, local services and optional tools named below must be installed separately from the upstream project. Check their availability before running commands; if they are missing, explain the prerequisite instead of claiming execution or results. The host agent may use model tokens while following these instructions.
A terminal wrapper that compacts command output to cut token usage.
Purpose
Prefix a command with the wrapper; if it has a dedicated filter the output is compacted, otherwise it passes through unchanged. Categories with the largest savings are tests, builds, package managers, containers and git.
rtk <command> # filtered output
rtk gain # savings statistics
rtk discover # find missed usages in past sessions
rtk proxy <command> # run WITHOUT filtering (debugging)
rtk --versionProvenance and boundaries
- Upstream is an external project; this repository pins and reviews a specific stable version. Check the local version and keep it current — the tool ships fixes frequently, including Windows shell detection and exit-code visibility.
- Filtering can hide detail. Use proxy mode whenever the compacted view is not enough to understand a failure.
- Known local limitation on Windows: some builtins are not wrapped, so reading a file directly through it fails; use proxy mode for those.
The full command table belongs to the separately installed RTK CLI and is not bundled here. Inspect that version's help and upstream documentation before using commands outside this summary.
When NOT to use
- You want model input compressed rather than shell output — use universal_compressor.
- You want the per-turn compression decision — use token_shaper.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

