wasabeef/claude-code-cookbook/token-efficient
Claude Code and agent skill by wasabeef/claude-code-cookbook
- community
Checking that the SKILL.md file is still in the repository.
Compress responses to reduce context usage by 30-50%. Trigger with "token efficient mode", "compress responses", "save context", "save tokens".
Install
npx vskill@latest install wasabeef/claude-code-cookbook/token-efficientSKILL.md
Compress responses to reduce context usage by 30-50%
Reduces AI response context usage by 30-50% through compression efficiency mode.
Compress responses to reduce context usage by 30-50%
Token Efficiency Mode leverages visual symbols and abbreviation systems to compress Claude's responses. Generated code quality and content remain unchanged. Only the explanation method changes.
Usage
How It Works
1. Symbol System
Logic & Flow
| Symbol | Meaning | Example | ||||
|---|---|---|---|---|---|---|
| → | leads to, causes | auth.js:45 → 🛡️ security risk | ||||
| ⇒ | converts to | input ⇒ validated_output | ||||
| ← | rollback, revert | migration ← rollback | ||||
| ⇄ | bidirectional | sync ⇄ remote | ||||
| & | and, combine | 🛡️ security & ⚡ performance | ||||
| \ | or, separator | `react\ | vue\ | angular` | ||
| : | define, specify | `scope: file\ | module` | |||
| » | then, sequence | build » test » deploy | ||||
| ∴ | therefore | tests ❌ ∴ code broken | ||||
| ∵ | because | slow ∵ O(n²) algorithm |
Status & Progress
| Symbol | Meaning | Usage | |
|---|---|---|---|
| ✅ | complete, success | Task completed normally | |
| ❌ | failed, error | Immediate action needed | |
| ⚠️ | warning | Review recommended | |
| 🔄 | in progress | Currently active | |
| ⏳ | pending | Scheduled for later | |
| 🚨 | urgent, critical | High priority |
Technical Domains
| Symbol | Domain | Usage | |
|---|---|---|---|
| ⚡ | Performance | Speed, optimization | |
| 🔍 | Analysis | Search, investigation | |
| 🔧 | Configuration | Setup, tools | |
| 🛡️ | Security | Protection, safety | |
| 📦 | Deployment | Package, bundle | |
| 🎨 | Design | UI, frontend | |
| 🏗️ | Architecture | System structure | |
| 🗄️ | Database | Data persistence | |
| ⚙️ | Backend | Server processing | |
| 🧪 | Testing | Quality assurance |
2. Abbreviation System
System & Architecture
cfg→ configurationimpl→ implementationarch→ architectureperf→ performanceops→ operationsenv→ environment
Development Process
req→ requirementsdeps→ dependenciesval→ validationauth→ authenticationdocs→ documentationstd→ standards
Quality & Analysis
qual→ qualitysec→ securityerr→ errorrec→ recoverysev→ severityopt→ optimization
Example Comparisons
Example 1: Error Report
Normal Mode (85 chars)
Token Efficient (39 chars)
Example 2: Build Status
Normal Mode (112 chars)
Token Efficient (35 chars)
Example 3: Performance Analysis
Normal Mode (95 chars)
Token Efficient (42 chars)
Use Cases
✅ Effective Scenarios
- Long debugging sessions: Efficiently maintaining history
- Large code reviews: Concise analysis of many files
- CI/CD monitoring: Real-time status updates
- Project progress reports: Overview of multiple task states
- Error tracking: Visual representation of problem chains
❌ Scenarios to Avoid
- Explanations for beginners
- Detailed documentation creation
- Initial requirements definition
- Communication with non-technical stakeholders
Implementation Examples
Debugging Session
File Analysis Results
Project Status
Configuration Options
Benefits
- Context saving: 30-50% token reduction
- Visual understanding: Intuitive grasp through symbols
- Information density: More information in the same space
- History retention: Maintain longer conversation history
- Pattern recognition: Easier problem detection through visual patterns
Notes
- This mode only changes AI response style
- Code quality remains unchanged
- Can switch with "explain in normal mode" as needed
- Normal mode recommended for beginners and non-technical users
Command Examples
Implementation Impact
| Item | Impact | |
|---|---|---|
| Generated code quality | No change ✅ | |
| Implementation accuracy | No change ✅ | |
| Functionality | No change ✅ | |
| AI explanation method | Compressed 🔄 | |
| Context usage | 30-50% reduction ⚡ |
💡 Pro Tip: For long work sessions, start with normal mode to build understanding, then switch to Token Efficient Mode to optimize efficiency and context retention.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/en/skills/token-efficient/SKILL.md
Popularity
- Repository stars
- 1,132
- Repository forks
- 114
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wasabeef/claude-code-cookbook/token-efficient)