An aggressive optimization skill designed to minimize input tokens, slash API costs, and prevent context truncation in AI agent sessions.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install aggressive-context-optimizer
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install aggressive-context-optimizer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Context Optimizer is a specialized utility within the Openclaw Skills ecosystem focused on maximizing efficiency. It addresses the common pain points of modern AI development: high API costs, context window overflow, and performance degradation during long sessions. By utilizing a diagnostic-first approach, the skill identifies token sinks—such as bloated bootstrap files, excessive tool outputs, or noisy memory recall—and provides concrete, opinionated configuration fixes.
Unlike generic optimization advice, this skill provides a systematic framework to prune unnecessary data while preserving the high quality of agent tasks. Whether you are dealing with expensive vision model calls or complex coding sessions that hit token limits, Context Optimizer ensures your Openclaw Skills remain lean, fast, and cost-effective.
To begin optimizing your Openclaw Skills environment, use the bundled Python script to audit or apply standard fixes:
# Audit current configuration and detect token sinks
python scripts/context_optimizer.py
# Apply default optimization settings
python scripts/context_optimizer.py --apply
# Apply aggressive settings for maximum cost reduction
python scripts/context_optimizer.py --apply --aggressive
After applying changes, run openclaw config validate to ensure your configuration is correctly formatted.
The Context Optimizer manages and modifies specific metadata and configuration files to streamline Openclaw Skills performance:
| Component | Target File | Optimization Strategy |
|---|---|---|
| Bootstrap | AGENTS.md, SOUL.md | Removes filler and moves verbose detail to external references. |
| Tools | openclaw.json | Implements line-range excerpts and throttles fetch payloads. |
| Memory | memory.json | Adjusts relevance thresholds and enables aggressive deduplication. |
| Sessions | Context Buffer | Automates pruning of stale tool results and manages image dimensions. |
Loading
A systematic framework for AI agents to evaluate claims using psychological principles and structured critical inquiry.

A comprehensive AI skill for managing TickTick/Dida365 tasks, projects, and productivity metrics through an MCP-compatible interface.

A comprehensive tracking system to define, monitor, and achieve SMART health and fitness objectives.

A professional AI tool designed to condense complex scientific papers into publication-ready structured abstracts while maintaining 100% quantitative accuracy.

A specialized preparation assistant that organizes symptoms, medication lists, and medical history into a professional checklist for doctor appointments.

A specialized AI skill that converts campaign goals and product facts into structured, actionable ad creative briefs for marketing teams.








































