← Back to Skills Marketplace
3294
Downloads
3
Stars
9
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-token-save
Description
Optimize OpenClaw token usage and cost by auditing context injection, trimming workspace files (AGENTS.md/SOUL.md/MEMORY.md and daily memory), enabling promp...
Usage Guidance
This skill is internally consistent and appears to do what it says: audit configs and recommend concrete openclaw.json edits and workspace trimming. Before installing or following its recommendations, backup your openclaw.json and workspace files and review any config patches the skill provides. Be cautious about: (1) automated 'heartbeat' or cron recommendations that could increase API calls if applied without adjustment, (2) compaction/memory-flush prompts that change where session content is stored, and (3) any advice that instructs the agent to search or modify many files — run that with explicit user approval. Verify suggested JSON keys are supported by your OpenClaw version/provider before applying, and roll out changes in stages (quick wins first) as the skill itself recommends.
Capability Analysis
Type: OpenClaw Skill
Name: openclaw-token-save
Version: 1.0.0
The skill instructs the OpenClaw agent to perform high-privilege actions, including locating and reading OpenClaw configuration files (e.g., `~/.openclaw/openclaw.json`), listing and proposing modifications to workspace files (`AGENTS.md`, `SOUL.md`, `MEMORY.md`), and auditing system cron and scheduled tasks. While the stated purpose is benign (token optimization), these capabilities (file system access, system-level auditing) are inherently risky and could be exploited if the agent's execution environment or interpretation of instructions were vulnerable, even without explicit malicious intent in the provided `SKILL.md` instructions.
Capability Assessment
Purpose & Capability
Name/description match the instructions: the SKILL.md explicitly audits OpenClaw config and workspace injections and produces openclaw.json patches and trimming plans. It does not request unrelated binaries, credentials, or config paths.
Instruction Scope
The runtime instructions ask the agent to locate and inspect local OpenClaw config files and injected workspace files (e.g., ~/.openclaw/openclaw.json, AGENTS.md, MEMORY.md, memory/YYYY-MM-DD.md). That behavior is proportionate to a token-optimization audit, but it means the agent will be guided to read local files and suggest edits; the SKILL.md does not include explicit safeguards (backup/review steps) before applying changes, so the user should review any proposed edits before applying them.
Install Mechanism
Instruction-only skill with no install spec and no code files. This is low-risk from an installation/execution perspective (nothing is downloaded or written by an installer).
Credentials
The skill declares no required environment variables, credentials, or config paths. Mentioned filesystem paths are reasonable and relevant for the stated purpose (auditing OpenClaw config and workspace files).
Persistence & Privilege
always:false and no install means the skill does not request forced persistence. The skill's recommendations (e.g., enabling heartbeats, cache warmers, compaction, cron changes) could increase automated activity or change runtime behavior if applied — users should consider these operational effects before applying changes. Autonomous invocation (disable-model-invocation:false) is platform-default and not by itself a red flag.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-token-save - After installation, invoke the skill by name or use
/openclaw-token-save - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
OpenClaw Token Optimizer initial release
- Audits OpenClaw token usage and provides configurable strategies to reduce token spend.
- Offers detailed guidance to trim workspace and memory files to shrink input context.
- Enables prompt caching, heartbeat, and context pruning to minimize redundant token use.
- Recommends efficient model tiering and use of subagents for lower-cost operations.
- Generates concrete config edits, file size targets, and a prioritized rollout plan.
Metadata
Frequently Asked Questions
What is OpenClaw Token Optimizer?
Optimize OpenClaw token usage and cost by auditing context injection, trimming workspace files (AGENTS.md/SOUL.md/MEMORY.md and daily memory), enabling promp... It is an AI Agent Skill for Claude Code / OpenClaw, with 3294 downloads so far.
How do I install OpenClaw Token Optimizer?
Run "/install openclaw-token-save" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is OpenClaw Token Optimizer free?
Yes, OpenClaw Token Optimizer is completely free (open-source). You can download, install and use it at no cost.
Which platforms does OpenClaw Token Optimizer support?
OpenClaw Token Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created OpenClaw Token Optimizer?
It is built and maintained by ccjingeth (@ccjingeth); the current version is v1.0.0.
More Skills