prompt-optimizer
БесплатноБез исполняемых скриптовНе проверенA/B test CLAUDE.md instruction changes against eval benchmarks. Capture baselines, test variants, compare results.
от haabe★ 55 звёзд на GitHubОб этом скилле
Prompt Optimizer
Systematically improve Mycelium instructions through measurement. Adapted from n-trax.
Commands
baseline -- Capture current performance
- Run
/mycelium:eval-runner run-split optimization— record as optimization scores - Run
/mycelium:eval-runner run-split holdout— record as holdout scores - Record both to
.claude/optimization/baseline.json: timestamp, CLAUDE.md hash, optimization metrics, holdout metrics, overall and per-category metrics
test <variant> -- Test a variant
- Read variant from
.claude/optimization/variants/<variant>.md - Apply the CLAUDE.md changes described
- Run
/mycelium:eval-runner run-split optimization— this is the hill-climbing signal - Run
/mycelium:eval-runner run-split holdout— this validates generalization - Store results in
.claude/optimization/results/<variant>.json - Compare against baseline. Flag overfitting if optimization improves but holdout degrades.
- Do NOT auto-revert -- let user decide
report -- Compare all variants
Generate comparison table with split-aware columns:
| Variant | Opt Pass Rate | Holdout Pass Rate | Delta Opt | Delta Holdout | Overfit? | Decision |
Flag Overfit? = YES when optimization delta is positive but holdout delta is negative.
exemplar <eval-name> -- Capture winning trajectory
After a clean eval win (1 iteration, fast), save the approach to .claude/optimization/exemplars/.
Workflow
- Capture baseline
- Hypothesize an instruction improvement
- Document in variants/ directory
- Test the variant
- Compare via report
- Keep or revert based on data
- Capture exemplars from clean wins
Установить prompt-optimizer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл prompt-optimizer?
A/B test CLAUDE.md instruction changes against eval benchmarks. Capture baselines, test variants, compare results.
Как установить скилл prompt-optimizer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prompt-optimizer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic