Reduces AI response context usage by 30-50% through compression efficiency mode.
Compresses AI responses by 30-50% using visual symbols and abbreviations. Use this during long debugging sessions, code reviews, or monitoring to maintain conversation history while preserving code quality.
/plugin marketplace add wasabeef/claude-code-cookbook/plugin install cook-en@claude-code-cookbookReduces AI response context usage by 30-50% through compression efficiency mode.
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.
# Enable mode
"Respond in Token Efficiency Mode"
"--uc mode"
"Concise mode"
| 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 |
| 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 |
| 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 |
cfg → configurationimpl → implementationarch → architectureperf → performanceops → operationsenv → environmentreq → requirementsdeps → dependenciesval → validationauth → authenticationdocs → documentationstd → standardsqual → qualitysec → securityerr → errorrec → recoverysev → severityopt → optimizationNormal Mode (85 chars)
Security vulnerability found in the user validation function at line 45 of the auth system.
Token Efficient (39 chars)
auth.js:45 → 🛡️ sec vuln in user val()
Normal Mode (112 chars)
Build process completed successfully. Tests are currently running, followed by deployment.
Token Efficient (35 chars)
build ✅ » test 🔄 » deploy ⏳
Normal Mode (95 chars)
Performance analysis revealed slow processing due to O(n²) algorithm complexity.
Token Efficient (42 chars)
⚡ perf: slow ∵ O(n²) → optimize to O(n)
[14:23] breakpoint → vars: {user: null, token: expired}
[14:24] step → auth.validate() ❌
[14:25] check → token.exp < Date.now() ∴ expired
[14:26] fix → refresh() → ✅
[14:27] continue → main flow 🔄
/src/auth/: 🛡️ issues × 3
/src/api/: ⚡ bottleneck in handler()
/src/db/: ✅ clean
/src/utils/: ⚠️ deprecated methods
/tests/: 🧪 coverage 78%
Frontend: 🎨 ✅ 100%
Backend: ⚙️ 🔄 75%
Database: 🗄️ ✅ migrated
Tests: 🧪 ⚠️ 68% (target: 80%)
Deploy: 📦 ⏳ scheduled
Security: 🛡️ 🚨 1 critical
// Compression levels
--uc; // Ultra Compressed: Maximum compression
--mc; // Moderate Compressed: Medium compression
--lc; // Light Compressed: Light compression
// Domain-specific
--dev; // Development-focused compression
--ops; // Operations-focused compression
--sec; // Security-focused compression
# Enable
"Token Efficient Mode on"
"Respond concisely"
"Analyze with --uc"
# Disable
"Return to normal mode"
"Explain in detail"
"Token Efficient Mode off"
| 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.