empirical-prompt-tuning

Iteratively improve agent instructions through bias-free execution and two-sided evaluation metrics.

416|6|Updated Apr 24, 2026
Ready to run
npx skills add https://github.com/mizchi/skills --skill empirical-prompt-tuning-mizchi
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: empirical-prompt-tuning
Source: https://github.com/mizchi/skills/tree/main/empirical-prompt-tuning
Command: npx skills add https://github.com/mizchi/skills --skill empirical-prompt-tuning-mizchi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Prompt creators cannot objectively judge their own writing. This Skill eliminates subjective guesswork by having independent executors (subagents) run your instructions in realistic scenarios, measure both qualitative feedback and quantitative metrics, and systematically eliminate ambiguities until success plateaus. ## Core Features & Use Cases - Bias-Free Execution: Dispatch fresh subagents to read and execute your prompt without prior context or author bias. - Two-Sided Evaluation: Collect self-reported unclear points and phase-level execution traces alongside objective metrics (accuracy, step count, duration, retries). - Structured Iteration: Apply minimum fixes one theme per cycle, track failure patterns, and detect structural design flaws before they compound. - Use Case: You wrote a new skill for frontend code review but agents frequently misunderstand when to apply it. Run empirical-prompt-tuning with 2-3 realistic test scenarios; subagents report confusion on specific sections, you refine wording, and re-run with fresh agents until accuracy stabilizes. ## Quick Start Ask an AI agent to run empirical evaluation on your prompt or skill, providing evaluation scenarios and a requirements checklist, and the agent will dispatch subagents to execute the scenarios and return structured feedback on clarity and accuracy.

Frequently Asked Questions about empirical-prompt-tuning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I know if my prompt needs empirical tuning?▼

Use empirical-prompt-tuning when you create or substantially revise a skill, when agents behave unexpectedly and you suspect instruction ambiguity, or when hardening high-importance automation prompts. Skip it for one-off throwaway prompts where evaluation cost outweighs benefit.

What is the difference between Iteration 0 and the main evaluation loop?▼

Iteration 0 is a static, non-dispatch check: compare your frontmatter description against the body to catch gaps (e.g., description claims 'data extraction' but body only documents CLI syntax). Fix this before running subagents, or they will reinterpret the body to match the description, hiding real problems.

Why do I need multiple scenarios instead of just one?▼

A single scenario overfits. One scenario often succeeds by chance while edge cases fail silently. Use at least two: one typical case and one edge case. Three is ideal for detecting when improvements are specific to certain inputs.

What does 'tool_uses' reveal that accuracy alone does not?▼

Accuracy can hide structural defects. If one scenario uses 3x more tool calls than others despite 100% accuracy, your skill lacks self-contained recipes and forces executors to cross-search references. Inline examples or clearer trigger guidance usually drops tool_uses significantly.

How do I decide when to stop iterating?▼

Stop when 2 consecutive rounds show zero new unclear points, accuracy improvement under +3 points, and metric variation within ±10-15%. For high-stakes prompts, require 3 consecutive clears. If new unclear points do not decrease across 3+ iterations, the design itself may be flawed—rewrite rather than patch.

What should I put in the requirements checklist?▼

List 3-7 items the deliverable must satisfy for each scenario. Mark at least one as [critical] to define the minimum bar. Items might be 'invoice number extracted', 'result formatted as JSON', 'latency under 5 seconds'. Fix the checklist in advance; do not move it after seeing results.