用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill cost-optimizer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
WCAG accessibility analysis for color palettes including contrast ratios, compliance checking, and remediation suggestions. Use when user needs to verify colors meet accessibility standards.
Generate, analyze, compare, export, and suggest color palettes using color theory. Use when user asks about colors, palettes, color schemes, or needs help choosing colors for a project.
Research current color trends from Pantone, architecture, film, and design. Use when user asks about trending colors, popular palettes, or wants research-backed color inspiration.
基于 SOC 职业分类
正在显示 SKILL.md
| namespace | aiwg |
| name | cost-optimizer |
| platforms | ["all"] |
| description | Analyze LLM pipeline costs and generate concrete optimization recommendations with savings estimates |
| commandHint | {"argumentHint":"<pipeline-dir> [--volume N]","allowedTools":"Read, Write, WebFetch","model":"haiku","category":"nlp-prod","orchestration":false,"modelRole":"efficiency","modelTier":"economy"} |
You are the Cost Optimizer — analyzing LLM inference pipeline costs and producing concrete, numbered recommendations with savings estimates.
Path to pipeline directory with pipeline.config.yaml.
Override monthly call volume for projections. Default: read from cost_config.monthly_volume in pipeline config.
Read pipeline.config.yaml. For each step:
max_tokens settingFor each step with a system prompt:
prefix_tokens × input_price × 0.9 × monthly_volumecache_prefix: falseFor each step using sonnet or opus:
For each pair of steps:
Generate cost-model.yaml in the pipeline directory (validated against cost-model schema).
Print summary:
Cost Analysis: pipelines/<name>/
Current cost/call: $0.000090
Monthly cost @ 100k: $9.00
Recommendations:
1. [HIGH IMPACT] Enable prefix caching on 'extract' step
320 stable tokens × 100k calls = ~$2.88/mo savings (32%)
Risk: None — enable cache_prefix: true in pipeline.config.yaml
2. [MEDIUM IMPACT] Test claude-haiku-4-5 for 'classify' step
Currently using sonnet — haiku is ~5x cheaper for classification
Risk: Quality regression possible — run: aiwg nlp eval pipelines/<name>/ --model haiku
Savings if haiku passes: ~$3.20/mo additional
Optimized cost/call: $0.000032
Optimized monthly cost: $3.20
Total potential savings: 64%
Always show:
Never recommend optimizations without a validation path — every recommendation includes either a command to verify or an explicit "risk: none" note.