Real Skill packageSource verifiedClawHub registry

token-optimizer

AI Agent token 消耗体检与优化。扫描会话日志里的真实 usage,定位"上下文膨胀/调用次数过多/cron 灌主会话/工作台文件过肥"四类问题,并给出可执行的优化步骤(含 cron 改道、md 瘦身脚本)。当用户说"token 太多了"、"API 调用多"、"费用高"、"省 token"、"上下文太大"、"优化消耗"时触发。

Identity and source

Publisher attributionHongwei Zhaoregistry owner unverified by skillvetai
Functional categoryAgent Engineering, Security & Governanceautomatically inferred · 55% rule confidence
Package forminstruction with code15 recorded files
Canonical sourceClawHub registryclawhub:lilozhao:token-optimizer
Open canonical source ↗

Platform declarations

These states come from the source or distribution context. None of the entries below are SkillVetAI compatibility test results.

OpenClawnative officialProvenance: registry distribution

Independent structural checks

These checks parse the fixed package against dated platform rules. They do not execute the Skill or verify task behavior.

Claude Codepasses structure
Checker 0.1.0 · agent-skills-2026-08-13+claude-code-docs-2026-08-13 · 9/12/2026.claude/skills/token-optimizer

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenAI Codexpasses structure
Checker 0.1.0 · agent-skills-2026-08-13+codex-docs-2026-08-13 · 9/12/2026.agents/skills/token-optimizer

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenClawpasses structure
Checker 0.1.0 · agent-skills-2026-08-13+openclaw-docs-2026-08-13 · 9/12/2026skills/token-optimizer

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

Installation and inspection

This command is recorded from the source ecosystem and resolves the registry's latest release. The fixed release shown on this page should be inspected before adoption.

clawhub install @lilozhao/token-optimizer
clawhub inspect @lilozhao/token-optimizer --version 1.0.2

Security evidence

SkillVetAI static result: no findings detected

This automated, non-executing scan is bound to this release hash. It is not a safety certification and may contain false positives or false negatives.

Status
completed
Coverage
full text content
Files
15 / 15 inspected as text
Checked
9/12/2026, 4:34:07 AM
Scanner
0.1.3
Policy
1.0.3
4 inferred permission indicators
  • network access — automatically inferred
  • filesystem read — automatically inferred
  • filesystem write — automatically inferred
  • credential access — automatically inferred
1 dependency and API indicators
  • api: clawhub.ai
External clawhub result: suspicious

This is registry-supplied evidence for the recorded release, not an independent SkillVetAI scan. Check the canonical source for the full report, scanner versions, scope, and current moderation state.

Evidence checked
9/12/2026, 4:15:52 AM
Release binding
Matches this record
  • skillspector: suspicious
  • llm: suspicious

Recorded files

The catalog stores hashes and an inventory summary for change detection. It does not republish the package contents.

Package content hashsha256:3ba2e3f3d1ded69ed7b0291a1c2946f1acf348decab21386f4edae3fe2a7133c
Show up to 15 recorded paths
  • AUDIT.md
  • docs/case-cross-agent.md
  • docs/methodology.md
  • docs/self-serve-playbook.md
  • README.md
  • scripts/audit.js
  • scripts/cron-audit.js
  • scripts/cron-migrate-isolated.js
  • scripts/lib.js
  • scripts/md-audit.js
  • scripts/md-slim.js
  • scripts/selftest.js
  • scripts/session-context-check.js
  • skill-card.md
  • SKILL.md

Source changelog

新增 md-slim.js(安全瘦身执行器:只移动不删除 + 备份 + 动完自证 + 保守白名单)与 docs/self-serve-playbook.md(自助手册:决策矩阵 / md 瘦身专项 / 回执模板 / 三条纪律 / 五个真坑);自检 6→11 例