用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Supernor/openclaw-skills --skill helm-optimize命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | helm-optimize |
| description | Analyze helm usage data and optimize agent-engine routing for cost and performance |
| tags | ["helm","routing","optimization","cost","quartermaster"] |
| version | 1.0.0 |
| owner | spec-quartermaster |
Analyze the Helm proxy usage data and recommend routing changes to minimize cost while maintaining quality.
The Helm is a local, zero-cost OpenAI-compatible proxy on port 18791 that routes tasks to 8 engines:
| Engine | CLI | Cost | Speed |
|---|---|---|---|
| ollama | ollama-task | free/local | fast |
| gemini | gemini-task | free | medium |
| openrouter | openrouter-task | free (Nemotron 30B) | fast |
| codex | codex-task | flat-rate ($20/mo) | medium |
| haiku | haiku-task | $1/$5 MTok | fast |
| nvidia | nvidia-task | per-token | fast |
| sonnet | sonnet-task | $3/$15 MTok | medium |
| opus | opus-task | $5/$25 MTok | slow |
Each of the 16 agents has a preferred engine mapped in /root/.openclaw/helm-config.json. The helm routes helm/auto calls by agent identity and walks a failover chain when engines fail.
Use MCP tools (works from inside container — no host paths needed):
helm_report MCP tool with action: "report"helm_report MCP tool with action: "apply"helm_report MCP tool with action: "cooldowns"helm_report MCP tool with action: "usage"engine_trust MCP tool for measured per-engine accuracyFallback (host only):
helm-optimize --report
helm-optimize --apply
curl -s http://localhost:18791/v1/cooldowns | python3 -m json.tool
curl -s http://localhost:18791/v1/usage | python3 -m json.tool
Run weekly (Sunday 5am via helm-learn cron):
helm-optimize --report — review metricshelm-optimize --apply — apply high-confidence changes/root/.openclaw/helm-config.json (agent-engine mappings, failover chain)/root/.openclaw/helm-usage.log (every call logged with agent, engine, timing)/root/.openclaw/logs/helm-optimize-report.json/usr/local/bin/helm-server (port 18791)/usr/local/bin/helm-optimize