OpenClaw Token Optimizer
AdvisoryAudited by Static analysis on Apr 30, 2026.
Overview
No suspicious patterns detected.
Findings (0)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Applying suggestions without review could remove useful instructions or memories, or change model behavior across future OpenClaw sessions.
The skill asks the agent to recommend configuration patches and memory/context-file trimming. This can change how the user's agent behaves and what context it retains, but it is central to the advertised token-optimization purpose.
Provide: ... A concrete config patch or JSON snippet for `openclaw.json`. ... `MEMORY.md`: keep durable facts only; archive the rest.
Back up openclaw.json and memory files, review patches manually, and apply changes in small reversible steps.
Private notes or agent memories may become searchable and reused in later tasks if included in the indexed paths.
The reference suggests local memory search/qmd indexing and caching of workspace Markdown files. This is purpose-aligned for reducing full-file injection, but it can persist and reuse private workspace content.
"memorySearch": { "provider": "local", "cache": { "enabled": true, "maxEntries": 50000 } } ... "path": "/home/user/.openclaw/workspace", "pattern": "**/*.md"Limit qmd/memory-search paths to necessary files, exclude sensitive notes, understand cache retention, and clear indexes if content should no longer be reused.
Heartbeat and subagents could continue making model calls or increase concurrency until disabled, affecting cost and background activity.
The examples include recurring heartbeat activity and parallel subagents. These are disclosed cost/context-management mechanisms, but they create ongoing or parallel agent activity once configured.
"heartbeat": { "every": "55m", "target": "last", "model": "minimax/MiniMax-M2.5" } ... "subagents": { "model": "minimax/MiniMax-M2.5", "maxConcurrent": 12, "archiveAfterMinutes": 60 }Enable heartbeat or subagents only if you want ongoing activity, set clear limits and quiet hours, monitor token spend, and document how to disable them.
