← Back to Skills Marketplace
106
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install token-optimization-sinoslug
Description
Reduce unnecessary token usage with the current production-proven workflow. Use when users ask to optimize token consumption, reduce prompt/context bloat, st...
Usage Guidance
Before installing or enabling this skill, verify the following: (1) Ask the skill author to provide the exact contents of /home/admin/.openclaw/workspace/scripts/token-show.py and any referenced state files so you can review what will be executed and read. (2) Confirm whether token-show.py makes network calls or writes/reads sensitive data; if it does, require explicit disclosure and least-privilege controls. (3) Update the skill metadata to declare required binaries (python3) and required config paths, or change the SKILL.md to avoid executing undocumented local scripts. (4) If you cannot review the script, run the skill in a constrained sandbox or deny file-execution until you can audit it. These steps reduce the risk of hidden data access or unwanted code execution.
Capability Analysis
Type: OpenClaw Skill
Name: token-optimization-sinoslug
Version: 1.0.0
The skill bundle is designed for token usage optimization, providing instructions for concise communication and log filtering. It references a local script (/home/admin/.openclaw/workspace/scripts/token-show.py) and state files for tracking token consumption, which are consistent with the stated purpose. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found in SKILL.md or the reference documentation.
Capability Assessment
Purpose & Capability
The name and description align with the included ruleset (short answers, log trimming, token counting). However, the shipped spec refers to an external helper script and state files used in production; these resources are not declared in the skill metadata (no required binaries, no config paths). That omission is inconsistent with the runtime needs implied by the spec.
Instruction Scope
SKILL.md (via references/current-spec.md) instructs the agent to execute a local command: `python3 /home/admin/.openclaw/workspace/scripts/token-show.py` and to read state files such as `memory/token-agg-state.json` and `memory/token-counter.json`. Those are explicit file-system and command actions outside of the skill bundle and were not declared. The skill therefore directs actions on local files and execution of local code that the user cannot audit from the skill package itself.
Install Mechanism
There is no install spec (instruction-only), which lowers surface risk, but the spec implicitly depends on files and a script existing on the host. The skill does not include the referenced script or explain how it is installed, creating a hidden dependency.
Credentials
The skill declares no required environment variables or config paths, yet the runtime spec expects access to `/home/admin/.openclaw/...` and `memory/*.json` paths and execution of `python3`. This mismatch is disproportionate: either the metadata should declare those config paths and the binary requirement, or the instructions should avoid requiring local privileged paths.
Persistence & Privilege
The skill does not request always-on presence (always: false) and does not change other skills' configs. Autonomous invocation is allowed (platform default). There is no explicit request for persistent installation or elevated privileges in the metadata.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install token-optimization-sinoslug - After installation, invoke the skill by name or use
/token-optimization-sinoslug - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: current-state token optimization workflow and guardrails
Metadata
Frequently Asked Questions
What is Token Optimization?
Reduce unnecessary token usage with the current production-proven workflow. Use when users ask to optimize token consumption, reduce prompt/context bloat, st... It is an AI Agent Skill for Claude Code / OpenClaw, with 106 downloads so far.
How do I install Token Optimization?
Run "/install token-optimization-sinoslug" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Token Optimization free?
Yes, Token Optimization is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Token Optimization support?
Token Optimization is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Token Optimization?
It is built and maintained by sinoslug (@sinoslug); the current version is v1.0.0.
More Skills