Quick overview
Reduces AI API costs by compressing workspace files (SOUL.md, USER.md, MEMORY.md, etc.) that are sent with every API call. Detects the active model and adapts compaction thresholds to its actual context window size. Supports 24+ models including Claude, GPT-4, Gemini, and DeepSeek.
Dynamic presets scale compaction thresholds to each model's actual context window, so the same preset works correctly whether you're on GPT-4o's 128K or Gemini's 1M context.
Common tasks
- Cutting API costs on long agent sessions with large workspace files
- Auditing which workspace files consume the most tokens before a project
- Setting automatic chat compaction thresholds matched to the active model
- Compressing MEMORY.md and USER.md into dense key-value format
- Reverting workspace files to their pre-compression state after testing
Install paths
Primary command
openclaw install rubenaquispe/token-saver
ClawHub installer
npx clawhub@latest install rubenaquispe/token-saver
OpenClaw CLI
openclaw skills install rubenaquispe/token-saver
Direct OpenClaw install
openclaw install rubenaquispe/token-saver
Skill metadata
- Category: Coding Agents & IDEs
- Language: Markdown
- Version: 3.0.0
- Security status: Suspicious
Review upstream source
The full public SKILL.md body is not directly fetchable for this entry right now, so this page is using the best available catalog metadata. Review the upstream source page for the latest files, version history, and security scan details: https://clawhub.ai/rubenaquispe/token-saver



