SKILLEMALL.ai

BF token-optimizer

Reduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.

modbender/skill-library-mcp Agent Skills author: modbender MIT 9 files · 1 script body ≈ 5 005 tokens Open the sourcegithub.com analyzed 2 d ago

Reduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session…

As a process F 43/100 · Will not run — References files that are not bundled: assets/cronjob-model-guide.md, references/PROVIDERS.md, assets/config-patches.json

IntegrationAI and agentstype and topics are labelled automatically from the skill text
JSON
Technical rating
B
83/100
safety, quality, tests
Safety 60%
99
Quality 40%
59
Run on models
none yet
Process rating
F
43/100
Will not run
References files that are not bundled: assets/cronjob-model-guide.md, references/PROVIDERS.md, assets/config-patches.json
Tools and files w 18
0
Inputs and preconditions w 11
0
Running it twice w 4
30
the three weakest of ten parameters · all ten

How to improve

  1. The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
  2. The text references files that are not there: add them or drop the references.
For the model run — optional
  • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 1

✓ No critical or high findings

Medium and low: 1

✓ Guard found no suspicious behaviour. 1 matches are attack strings quoted in this security skill's own documentation.

Files scanned: 9. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • warning body-long SKILL.md body ≈ 5005 tokens (recommended < 5000); move details to references/
  • warning missing-ref reference to a missing file: assets/cronjob-model-guide.md
  • warning missing-ref reference to a missing file: references/PROVIDERS.md
  • warning missing-ref reference to a missing file: assets/config-patches.json
  • note frontmatter-key unknown frontmatter key "homepage"
  • note frontmatter-key unknown frontmatter key "source"
  • note frontmatter-key unknown frontmatter key "security"

Process rating: all ten parameters 43/100

Will not run. References files that are not bundled: assets/cronjob-model-guide.md, references/PROVIDERS.md, assets/config-patches.json
  • 0Tools and files. 3 referenced file(s) missing: assets/cronjob-model-guide.md, references/PROVIDERS.md, assets/config-patches.json
  • 0Inputs and preconditions. Does not say what the process needs to start
  • 30Running it twice. 7 mutating operations with no state check
  • 40Consistency. Frontmatter name (token-optimizer) differs from the folder (openclaw-token-optimizer)
  • 50When it triggers. No condition that starts the skill
  • 50Failures and branches. 0 branches, has a failure section
  • 60Result and completion. Output format stated, no completion criterion
  • 70Execution cost. Instruction body is 5005 tokens
  • 85Steps. 86 steps, 2 vague phrases
  • 100Progress reporting. Reports progress
  • medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
  • low 12 top-level sections: this looks like several domains in one skill

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +5Description has no quoted example phrases that should trigger the skill
  • +4Description does not say when NOT to use the skill (false activations)
  • -31 of 5 scripts are never mentioned in SKILL.md
  • +1No license
  • +2Single-language instructions
  • +3Description length 691: enough signal without eating the budget
  • +4Structure: 31 headings
  • +3Step-by-step instructions: 86 items
  • +3Output format is stated explicitly
  • +4Has examples (32 code blocks)

Quality base 70; lint remarks subtract, signals add up to 100. Result: 59.