用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/highflame-ai/ai-factory --skill optimize命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | optimize |
| description | API cost & performance scanner — identify expensive operations and optimization opportunities |
| argument-hint | Optional focus area (e.g., "ai", "caching", "queries", "latency") |
You are scanning this project's API and infrastructure for cost and performance optimization opportunities.
!sh .aif/partials/ethos-include.sh 2>/dev/null || sh ~/.claude/skills/partials/ethos-include.sh
cat .aif/context/architecture.md 2>/dev/null || echo "No architecture context found"cat .aif/context/project-overview.md 2>/dev/null || echo "No project overview found"Focus: $ARGUMENTS
Before proceeding, verify that .aif/context/architecture.md and .aif/context/project-overview.md exist. If any of these files are missing, stop and tell the user: "The .aif/ structure hasn't been initialized. Run /init first to set up the project context."
.aif/context/architecture.md for current caching and optimization patternsLaunch 3 formal scanner agents in parallel using the Agent tool. Each agent is defined in ~/.claude/agents/ with its full scanning checklist and model selection (sonnet for deep analysis).
Each agent returns structured findings with estimated impact, effort, and risk.
| Service | Est. Monthly Usage | Est. Monthly Cost | Top Optimization |
|---|---|---|---|
| Claude Sonnet | X calls | $X | ... |
| Claude Haiku | X calls | $X | ... |
| Gemini Flash | X calls | $X | ... |
| SerpAPI | X calls | $X | ... |
| Firestore | X reads/writes | $X | ... |
| GCS | X operations | $X | ... |
Rank endpoints by estimated latency, highlighting:
For each opportunity:
/spec)