Cost Optimizer
Analysis
The skill is mostly coherent for cost optimization, but it asks to read full local OpenClaw/Claude configuration files and can persist routing, heartbeat, and context snapshots, so users should review it before installing.
Findings (5)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
allowed-tools: Bash, Read, Write, Edit, Grep, Glob, Agent
The skill requests broad shell, file read/write/edit, search, and agent tooling. This is partly aligned with config generation and reporting, but it is wider than simple recommendation-only behavior.
"heartbeat": { "enabled": true, "base_interval_minutes": 45 ... } ... "auto_report_interval": "daily"The included configuration enables recurring heartbeat behavior and daily reporting after the configuration is applied.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
cat ~/.openclaw/config.json 2>/dev/null ... cat ~/.claude/settings.json 2>/dev/null
The skill tells the agent to read whole user-level OpenClaw and Claude configuration files. These files may contain account, provider, workspace, or other sensitive settings, and the artifacts do not describe field-level filtering or secret redaction.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
将压缩后的上下文摘要写入 `.context-snapshot.md` ... `## 最近对话(完整) {last_5_turns}`The compression feature persists a context snapshot containing summaries, active files, pending items, and recent conversation turns.
"model": "deepseek/v3" ... "model": "gemini-2.0-flash" ... "model": "claude-sonnet-4-6"
The preset routing configuration sends different task classes to different model providers, including DeepSeek, Gemini, and Claude-family models.
