Sctx
Description
Token-optimizing command wrapper 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
sctx
[Home](README.md) /
**Token-optimizing command wrapper for AI coding agents.**
`sctx` runs the commands your agent already runs and returns the same information in a fraction of the tokens - exit code intact, errors intact, every omission marked.
For more details and guides, please visit [**synapctx.com/sctx**](https://synapctx.com/sctx/)
[](https://synapctx.com/sctx/) [](https://github.com/synapctx/sctx/actions/workflows/ci.yaml) [](https://pkg.go.dev/github.com/synapctx/sctx) [](https://github.com/synapctx/sctx/tags) [](LICENSE.txt)
🔝 [back to top](#sctx)
Overview
An AI coding agent reads with its context window, and command output is the largest thing it reads that nobody chose. A test run that prints four hundred passing lines, a `git status` padded with hints, a recursive grep returning the same file forty times - all of it arrives in full, is paid for in full, and almost none of it is what the agent needed.
`sctx` sits in front of those commands. It parses the output it recognises and re-renders it around the part that carries the signal: the failures, the changed files, the matches grouped by location. Everything else is summarised behind an explicit marker, so the agent can always tell that something was left out.
**Measured across 6,361 real command runs: 61% of output tokens removed.**
| Command | Output tokens removed | Runs measured |
|---|---|---|
rg |
91.4% | 436 |
go test |
58.2% | 613 |
grep |
52.6% | 2,209 |
find |
48.1% | 141 |
git diff |
26.0% | 47 |
ls |
23.3% | 319 |
cat |
**0.5% |
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