← Back to Skills Marketplace
smartpeopleconnected

Tokenoptimizer

by smartpeopleconnected · GitHub ↗ · v1.0.18
cross-platform ✓ Security Clean
11086
Downloads
27
Stars
102
Active Installs
19
Versions
Install in OpenClaw
/install token-optimizer
Description
Reduce OpenClaw AI costs by 97%. Haiku model routing, free Ollama heartbeats, prompt caching, and budget controls. Go from $1,500/month to $50/month in 5 min...
Usage Guidance
Install only if you want a tool that can change OpenClaw cost settings. Run preview commands first, inspect generated diffs and prompt files, and use --apply only after confirming the model routing, budgets, heartbeat provider, memory rules, and local stats/report files are acceptable.
Capability Analysis
Type: OpenClaw Skill Name: token-optimizer Version: 1.0.18 The OpenClaw Token Optimizer skill bundle is benign. Its code and documentation are entirely focused on optimizing OpenClaw AI costs through model routing, heartbeat configuration, caching, and budget controls. The `CHANGELOG.md` explicitly details significant security improvements, such as the removal of all `subprocess.run` calls in favor of safer `shutil.which` and `urllib.request` for health checks, and defaulting commands to dry-run mode. Instructions for the AI agent in `SKILL.md` and template files (`templates/SOUL.md`, `templates/OPTIMIZATION-RULES.md`) are defensive, guiding the agent towards cost-aware and responsible behavior, rather than attempting prompt injection. There is no evidence of data exfiltration, malicious execution, persistence, or obfuscation.
Capability Assessment
Purpose & Capability
The capabilities fit the stated purpose: model routing, heartbeat configuration, caching, budgets, rollback, verification, and prompt templates are all tied to reducing OpenClaw token costs.
Instruction Scope
The triggers are broad and the generated prompt rules affect future agent behavior, but the behavior is visible, cost-focused, and not automatically injected without user action.
Install Mechanism
The package uses a local Python CLI with no runtime dependencies or post-install execution shown; state-changing optimization commands default to preview unless --apply is used.
Credentials
File access is mostly scoped to ~/.openclaw plus a local analysis report, and network activity is limited to provider reachability checks such as localhost Ollama/LM Studio or Groq; no credential harvesting or exfiltration path was found.
Persistence & Privilege
It can persist config, backups, workspace templates, prompt rules, stats, and an analysis report; these are mostly disclosed, though analyze/verify and dry-run directory creation are minor least-surprise gaps.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install token-optimizer
  3. After installation, invoke the skill by name or use /token-optimizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.18
Remove slack target, default all CLI commands to dry-run, add file modification docs
v1.0.17
- Removed 27 files, including all marketing materials, PDFs, scripts, and comparison skills to streamline the codebase. - Cleaned up documentation in SKILL.md and README.md for a more focused and concise overview. - Dropped references to removed features and scripts from user guides. - No core logic changes to the skill; optimization features remain unchanged.
v1.0.16
Version 1.0.16 introduces major new skills, marketing materials, and testing updates. - Added new skills including agent-memory, better-memory, context-optimizer, personas, and startclaw-optimizer for expanded optimization capabilities. - Introduced marketing folder with plans and social media post templates to support outreach. - Added comprehensive PDF documentation and status reports. - Updated core modules and tests for stability and integration of new features. - Enhanced documentation and marketplace materials for improved onboarding and visibility.
v1.0.15
Docs consistency: removed all references to install scripts, pure Python CLI only
v1.0.14
Exclude install scripts from publish - pure Python only, no shell script execution
v1.0.13
Exclude marketing files from publish to resolve scanner findings
v1.0.12
Security: removed curl|sh pattern, installer now downloads to temp with user confirmation before execution
v1.0.11
Security scanner clean: removed all unicode control chars, sanitized prompt references, softened changelog wording
v1.0.10
Security scan fix: removed emoji unicode chars and prompt-injection patterns from SKILL.md
v1.0.9
Updated listing with v1.0.8 features: multi-provider heartbeat, rollback, health check, diff preview
v1.0.8
v1.0.8: Multi-provider heartbeat (ollama/lmstudio/groq/none), rollback command, health check, diff preview in dry-run, --no-color flag, shared colors module, extended triggers, version and license fixes
v1.0.7
Added discovery tags
v1.0.6
Added viral discovery keywords and agent-friendly documentation
v1.0.5
Added simulation test for performance comparison
v1.0.4
Fixed YAML frontmatter - using description field
v1.0.3
Added summary in YAML frontmatter
v1.0.2
Added summary and updated metadata
v1.0.1
Improved skill description and documentation
v1.0.0
- Initial public release of Token Optimizer. - Provides configuration analyzer and basic optimization templates. - Includes prompt caching, model routing, and session management guidelines. - Added quick start instructions and clear cost-saving breakdowns. - Documentation includes free and premium feature comparison, installation guides, and generated configuration examples.
Metadata
Slug token-optimizer
Version 1.0.18
License
All-time Installs 380
Active Installs 102
Total Versions 19
Frequently Asked Questions

What is Tokenoptimizer?

Reduce OpenClaw AI costs by 97%. Haiku model routing, free Ollama heartbeats, prompt caching, and budget controls. Go from $1,500/month to $50/month in 5 min... It is an AI Agent Skill for Claude Code / OpenClaw, with 11086 downloads so far.

How do I install Tokenoptimizer?

Run "/install token-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Tokenoptimizer free?

Yes, Tokenoptimizer is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Tokenoptimizer support?

Tokenoptimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Tokenoptimizer?

It is built and maintained by smartpeopleconnected (@smartpeopleconnected); the current version is v1.0.18.

💬 Comments