Back to skills
SKILL.md
Token Efficient
ASecurityCompress responses to reduce context usage by 30-50%. Trigger with "token efficient mode", "compress responses", "save context", "save tokens".
- 1,132 stars
- 0 votes
- 0 copies
- 3 views
- Added May 29, 2026
Works with
Security analysis
100/100npx -y skills add wasabeef/claude-code-cookbook --skill token-efficient --agent claude-codeAre you the author of Token Efficient?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/wasabeef-token-efficient)---
description: 'Compress responses to reduce context usage by 30-50%. Trigger with "token efficient mode", "compress responses", "save context", "save tokens".'
---
# 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
```bash
# Enable mode
"Respond in Token Efficiency Mode"
"--uc mode"
"Concise mode"
```
## 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` β configuration
- `impl` β implementation
- `arch` β architecture
- `perf` β performance
- `ops` β operations
- `env` β environment
### Development Process
- `req` β requirements
- `deps` β dependencies
- `val` β validation
- `auth` β authentication
- `docs` β documentation
- `std` β standards
### Quality & Analysis
- `qual` β quality
- `sec` β security
- `err` β error
- `rec` β recovery
- `sev` β severity
- `opt` β optimization
## Example Comparisons
## Example 1: Error Report
**Normal Mode (85 chars)**
```text
Security vulnerability found in the user validation function at line 45 of the auth system.
```
**Token Efficient (39 chars)**
```text
auth.js:45 β π‘οΈ sec vuln in user val()
```
## Example 2: Build Status
**Normal Mode (112 chars)**
```text
Build process completed successfully. Tests are currently running, followed by deployment.
```
**Token Efficient (35 chars)**
```text
build β
Β» test π Β» deploy β³
```
## Example 3: Performance Analysis
**Normal Mode (95 chars)**
```text
Performance analysis revealed slow processing due to O(nΒ²) algorithm complexity.
```
**Token Efficient (42 chars)**
```text
β‘ perf: slow β΅ O(nΒ²) β optimize to O(n)
```
## 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
```text
[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 π
```
## File Analysis Results
```text
/src/auth/: π‘οΈ issues Γ 3
/src/api/: β‘ bottleneck in handler()
/src/db/: β
clean
/src/utils/: β οΈ deprecated methods
/tests/: π§ͺ coverage 78%
```
## Project Status
```text
Frontend: π¨ β
100%
Backend: βοΈ π 75%
Database: ποΈ β
migrated
Tests: π§ͺ β οΈ 68% (target: 80%)
Deploy: π¦ β³ scheduled
Security: π‘οΈ π¨ 1 critical
```
## Configuration Options
```javascript
// 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
```
## Benefits
1. **Context saving**: 30-50% token reduction
2. **Visual understanding**: Intuitive grasp through symbols
3. **Information density**: More information in the same space
4. **History retention**: Maintain longer conversation history
5. **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
```bash
# Enable
"Token Efficient Mode on"
"Respond concisely"
"Analyze with --uc"
# Disable
"Return to normal mode"
"Explain in detail"
"Token Efficient Mode off"
```
## 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.
Attribution
Comments
Loading commentsβ¦