Trs
Description
Token-Reducing Shell — terminal output compression for AI coding agents
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
trs: Token-Reducing Shell · terminal compression for AI agents
usetrs.dev · GitHub · npm · Español
What · Install · Quick start · Agents · Commands · Built-in · Digest · Why
What is trs
Prefix any command with `trs` (or let `trs init` wire it into your AI tool for you). The binary spawns your command, parses the output, and emits a compact version built for both humans and LLMs.
$ trs git status
main [ahead 1]
unstaged (3):
M src/main.rs
M src/lib.rs
A src/new.rs
# 1.4 KB → 336 B (76% reduction)
$ trs cargo test
cargo test: 2186 passed (71 suites, 4.9s)
# 55 KB → 58 B (99% reduction)
$ trs cargo clippy
lint: 102 issues in 39 files
src/main.rs (3):
W unused_import 8:23
W redundant_closure 44:30
W dead_code 112:8
# 55 KB → 5.5 KB (90% reduction)
Commands without a dedicated parser still get generic compression (whitespace collapse, ANSI strippi
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI