compress
Skill425 starsChanged 5 months agoMITView on GitHub
Use when the user says 'tokenstack', 'compression', 'token savings', 'proxy status', or asks about context window usage.
17 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- voxlo-dev/Lean-Coding-Workspacetheir own version, first seen Nov 8, 2026
- xcota/postheir own version, first seen Oct 18, 2026
- dev-willbird1936/skillstheir own version, first seen Sep 15, 2026
- dorian-akhs/skillstheir own version, first seen Sep 1, 2026
- crfldrxyz/AuthorOps-Skillstheir own version, first seen Sep 1, 2026
- utk2103/Prompt-Studiotheir own version, first seen Aug 22, 2026
Used with
Projects with it also use caveman-review, caveman-commit and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
huangzidaSkillcaveman-review
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
Also in 3 projects that use this
huangzidaSkillcaveman-commit
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
Also in 3 projects that use this
MicrosoftSkillcaveman
Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules
Also in 6 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- vbrevik/claude_code_skills★ 018% same
Wrote their own version · 16
- xcota/pos★ 32same name
- JPauravS/claudecode-token-optimizer★ 8same name
- utk2103/Prompt-Studio★ 8same name
- hmzainjamil/claude-ai-skills★ 3same name
- huangzida/skills★ 2same name
- skytiger6724/qwen-skills★ 2same name
- voxlo-dev/Lean-Coding-Workspace★ 2same name
- waseemnasir2k26/skynetlabs-all-claude-code★ 2same name
- caseyng/Claude-skills★ 1same name
- marmutapp/superbased-claude-code-plugin★ 1same name
6 more not listed
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 repository87 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- memstack-automation-api-integrationSkill
- memstack-automation-content-pipelineSkill
- memstack-automation-cron-schedulerSkill
- memstack-automation-hosted-mcp-catalogSkill
- memstack-automation-n8n-workflow-builderSkill
- memstack-automation-webhook-designerSkill
- memstack-business-client-onboardingSkill
- memstack-business-contract-templateSkill
- memstack-business-financial-modelSkill
- memstack-business-freelancer-toolkitSkill
- memstack-business-gdprSkill
- memstack-business-invoice-generatorSkill
- memstack-business-licensingSkill
- memstack-business-proposal-writerSkill
- memstack-business-scope-of-workSkill
- memstack-business-sop-builderSkill
- memstack-content-blog-postSkill
- memstack-content-email-sequenceSkill
- memstack-content-landing-page-copySkill
- memstack-content-newsletterSkill
- memstack-content-product-descriptionSkill
- memstack-content-tiktok-scriptSkill
- memstack-content-twitter-threadSkill
- memstack-content-youtube-scriptSkill
- memstack-deployment-ci-cd-pipelineSkill
- memstack-deployment-docker-setupSkill
- memstack-deployment-domain-sslSkill
- memstack-deployment-hetzner-setupSkill
- memstack-deployment-netlify-deploySkill
- memstack-deployment-railway-deploySkill
- memstack-development-api-designerSkill
- memstack-development-changelog-generatorSkill
- memstack-development-code-reviewerSkill
- memstack-development-mentorSkill
- memstack-development-migration-plannerSkill
- memstack-development-performance-auditSkill
- memstack-development-refactor-plannerSkill
- memstack-development-test-writerSkill
- memstack-development-webapp-testingSkill
- diarySkill
- echoSkill
- familiarSkill
- forgeSkill
- goalSkill
- governorSkill
- grimoireSkill
- humanizeSkill
- memstack-marketing-competitor-analysisSkill
- memstack-marketing-facebook-adSkill
- memstack-marketing-google-adSkill
- memstack-marketing-launch-planSkill
- memstack-marketing-lead-magnetSkill
- memstack-marketing-marketplace-submitSkill
- memstack-marketing-pricing-strategySkill
- memstack-marketing-sales-funnelSkill
- memstack-marketing-webinar-scriptSkill
- memstack-product-feature-specSkill
- memstack-product-feedback-analyzerSkill
- memstack-product-mvp-scoperSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
When this skill activates, output:
- Distinctive: line 20
Contextual: When user asks about token usage, context window limits, or session cost
- Distinctive: line 71
If nothing is listening, start it:
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Compress - TokenStack Proxy Manager
Monitor and troubleshoot the built-in TokenStack compression proxy for CC sessions.
Activation
When this skill activates, output:
Compress - Checking TokenStack status...
Then execute the protocol below.
- Keywords: tokenstack, compression stats, token savings, proxy status, check proxy
- Contextual: When user asks about token usage, context window limits, or session cost
- Level: 2 (explicit trigger only)
Context Guard
| Context | Status |
| User says "tokenstack", "compression stats", "check proxy" | ACTIVE - run status check |
| User asks about token savings or context window | ACTIVE - point to dashboard report |
| Proxy errors or API connection failures appear | ACTIVE - run health diagnostics |
| General discussion about CC features | DORMANT - do not activate |
| User is actively coding (no proxy issues) | DORMANT - do not activate |
What It Does
TokenStack is a transparent proxy between Claude Code and the Anthropic API. It compresses tool output before it reaches the API, extending effective context and lowering token cost.
This skill checks that the proxy is running and routing, and troubleshoots connection issues. For the full feature overview, enable steps, and transform tables, use the Token Optimization skill.
Prerequisites
TokenStack ships inside the memstack-skill-loader package. There is no separate install.
- Start with the dashboard (recommended):
python -m memstack_skill_loader dashboard --with-proxy- Starts the proxy on
127.0.0.1:8787and setsANTHROPIC_BASE_URLautomatically.
- Starts the proxy on
- Run only the proxy:
python -m memstack_skill_loader proxy
Workflow
1. Health Check
curl http://127.0.0.1:8787/healthA healthy proxy responds on /health. If there is no response, the proxy is not running.
Note: the proxy has no /stats endpoint. Live savings are reported in the dashboard, not over curl. See "Reading Savings" below.
2. Confirm Routing
Open the dashboard and look at the proxy indicator. A live PRO or FREE badge means Claude Code traffic is routing through TokenStack. If the badge reads "not detected," the dashboard was started without --with-proxy; restart it with the flag.
3. Diagnose "not running"
Check the port:
netstat -ano | findstr 8787If nothing is listening, start it:
python -m memstack_skill_loader dashboard --with-proxy4. Reading Savings
Savings live in the dashboard (default http://localhost:3333):
- Proxy indicator: PRO or FREE badge with session and 30-day percentages
- Overview header: session and lifetime tokens saved
- Burn Report: per-transform breakdown, estimated cost, time filters (all-time, daily, weekly, monthly), and a per-agent split for the Manager, Builder, and Reviewer
Tier Behavior
| Tier | Transforms |
| Free | Six lossless text reductions, always applied |
| Pro | Adds seven transforms including AST truncation (license-gated) |
A valid Pro license switches the proxy to Pro tier automatically. The dashboard badge shows the active tier.
Troubleshooting
| Symptom | Fix |
No response on /health | Proxy not running. Start with python -m memstack_skill_loader dashboard --with-proxy. |
| Proxy indicator shows "not detected" | Dashboard was started without --with-proxy. Restart with the flag. |
| Badge shows FREE but you hold Pro | License cache may be stale. The proxy revalidates the license on next start. |
| Cost figures differ from Anthropic Console | Estimates use list token prices and do not model server-side prompt caching. For billed cost, check console.anthropic.com. |
Output Format
TokenStack Status
Proxy: Running on :8787
Tier: PRO
Savings: read in the dashboard (Overview header and Burn Report)Integration
- Dashboard: proxy indicator, Overview header, and Burn Report
- CC sessions: auto-routed when the dashboard is started with
--with-proxy - Standalone proxy:
python -m memstack_skill_loader proxy
Relationship to Other Skills
| Skill | Scope | When to Use |
| Token Optimization | Full TokenStack overview, enable steps, transform tables | Understanding or turning on compression |
| Compress (this) | Health, routing, troubleshooting | Proxy not running or not routing |
Level History
- Lv.1 - Base: health check and stats reporting for the legacy Headroom proxy. (Origin: MemStack, Feb 2026)
- Lv.2 - Rewrite: retargeted to the built-in TokenStack proxy. Removed the external Headroom install and the
/statscurl; savings are now read from the dashboard. (Jun 2026)
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.

