token-optimizer
Skill0 starsChanged 7 months agoMITView on GitHub
Uzun prompt veya dosya içeriğini Claude/Gemini/Groq'a göndermeden önce sıkıştırır. Caveman tarzı filler-silme + TR/EN kısa kalıp eşlemeleri ile ortalama %40-60 input token tasarrufu sağlar. Kullanıcı "bu promptu sıkıştır", "token düşür", "maliyet azalt" dediğinde veya 2000+ karakterlik bir metni işlerken devreye gir.
27 other projects use a version of this.
Adopted by
Most recently taken up by
- aayushostwal/nexustheir own version, first seen Nov 20, 2026
- arturseo-geo/token-optimizer-skilltheir own version, first seen Nov 16, 2026
- tokensafe-dev/tokensafetheir own version, first seen Nov 15, 2026
- tingyulu/MyR2D2their own version, first seen Nov 10, 2026
- blinkboxhq/Blinkboxtheir own version, first seen Nov 8, 2026
- ZhouYinLong-lab/Dog-Skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use mcp-builder and webapp-testing.
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.
MicrosoftSkillmcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Also in 4 projects that use this
JetBrainsSkillwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Also in 3 projects that use this
Other versions27 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 27
- alexgreensh/token-optimizer★ 3.2ksame name
- nitinjain999/platform-skills★ 71same name
- tokensafe-dev/tokensafe★ 47same name
- georgekhananaev/claude-skills-vault★ 32same name
- tingyulu/MyR2D2★ 20same name
- aayushostwal/nexus★ 19same name
- thesaifalitai/claude-setup★ 9same name
- GPire/claude-skills-swarm★ 8same name
- ZhouYinLong-lab/Dog-Skills★ 7same name
- samibajwaisking/Token-Optimizer-Skill★ 6same name
17 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 repository13 other files it gives its agents.
- auto-code-qualitySkill
- claude-plugins-marketplaceSkill
- context-engineeringSkill
- elevenlabsSkill
- hybrid-memorySkill
- notebooklmSkill
- os-framework-5Skill
- prp-frameworkSkill
- skill-creatorSkill
- udemy-video-pipelineSkill
- video-montajSkill
- yt-notebooklm-pipelineSkill
- yt-searchSkill
The file
Files
Token Optimizer Skill
Kullanım
python <workspace>/mcp-servers/kesif-token-optimizer/src/compressor.py "metin"
# veya
cat uzun.md | python <workspace>/mcp-servers/kesif-token-optimizer/src/compressor.pyNe zaman otomatik kullan
- Bir dosya/metni LLM'e göndermeden önce 2000+ karakterse
- Kullanıcı token maliyetinden şikayet ederse
- Pipeline'larda batch işlemden önce (her girdi için)
Sıkıştırma stratejisi
- Filler silme: lütfen, aslında, yani, eee, please, kindly, very, really
- Uzun→kısa kalıp: "in order to"→"to", "yapabilir misin"→"yap", "approximately"→"≈"
- Boşluk normalizasyonu: çoklu ws ve nokta birleşimi
- Agresif mod: gereksiz "that" silme, virgül öncesi ws
Entegrasyon Noktaları
instagram-orkestrasyonpipeline'ında her post taslağı → compressudemy-video-pipeline'da script üretiminden önce input compressnotebooklmkaynak yüklemeden önce
Ölçüm
Her çağrıda stats döner:
char_saving_pct,word_saving_pct— tasarruf oranı- Aylık toplam:
<workspace>/scripts/connectome/output/token_stats.json
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.

