一键导入
cost-optimize
Analyze token usage patterns and recommend cost optimizations with estimated savings
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze token usage patterns and recommend cost optimizations with estimated savings
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when a conversation is getting long, drifting, juggling multiple tasks, re-pasting the same files, or showing stale/confused context — and at the start of any new task. Triggers: long thread, context bloat, topic switch, repeated file uploads, 'why is it forgetting', degraded answers, finished one task and starting another.
Use when a user wants to deconstruct a complex problem, business challenge, product decision, strategy question, career crossroads, or stuck situation by stripping assumptions, identifying first principles, rebuilding options from foundational truths, and choosing one high-leverage action.
Audit role-based access control and permission drift across product surfaces.
Add a new feature to an existing @fabrk/* package following monorepo conventions
Build or rebuild the ADR index and dependency graph in AgentDB
Query AgentDB with semantic routing, hierarchical recall, causal graphs, and context synthesis
| name | cost-optimize |
| description | Analyze token usage patterns and recommend cost optimizations with estimated savings |
| argument-hint | |
| allowed-tools | mcp__claude-flow__agentdb_hierarchical-recall mcp__claude-flow__agentdb_pattern-search mcp__claude-flow__agentdb_pattern-store mcp__claude-flow__agentdb_semantic-route Bash |
Analyze recent token usage across agents and models, identify waste, and recommend specific optimizations with estimated dollar savings.
When costs are higher than expected or you want to proactively reduce spending. Analyzes model selection efficiency, cache utilization, agent redundancy, and prompt efficiency.
mcp__claude-flow__agentdb_hierarchical-recall to fetch recent token usage records from cost-tracking namespace (last 7 days)mcp__claude-flow__agentdb_pattern-search for previously successful optimizationsmcp__claude-flow__agentdb_pattern-store to record optimization recommendations in cost-patterns namespacenpx @claude-flow/cli@latest memory search --query "cost optimization strategies" --namespace cost-patterns