Skills for Real Engineers. Straight from my .agents directory.
prompt-regression
Agent skill fromagentscope-ai/OpenJudge
Use when the user has changed a prompt (system prompt, RAG template, agent instruction, etc.) and wants to know whether the candidate is better or worse than the baseline. Also use when the user mentions prompt A/B testing, prompt comparison, prompt optimization validation, "did my prompt change help," or prompt regression testing. Outputs per-dimension win rates with statistical significance using OpenJudge PairwiseAnalyzer.
How to install prompt-regression
npx skills add agentscope-ai/OpenJudge# or add only this skill to Claude Code: copy the folder
skills/eval_pipeline/06-prompt-regression/
# into
~/.claude/skills/06-prompt-regression/ (all projects)
.claude/skills/06-prompt-regression/ (one project)
1<HARD-GATE>2NO conclusion about which prompt is better WITHOUT bootstrap 95% CI reported.3NO candidate declared "better" WITHOUT position-debiased (swap-aggregate) comparison.4NO comparison with fewer than 10 samples per axis — CI is too wide to be meaningful.5</HARD-GATE>67# Prompt Regression89Compare two prompts head-to-head and determine, with statistical rigor, whether10the candidate is better, worse, or tied on each evaluation dimension.1112## When to Activate1314- You changed the system prompt and want to verify it's actually better15- You're iterating on RAG answer templates16- You're optimizing agent step-by-step instructions17- You want data to support a prompt change decision1819## Checklist2021You MUST create a task for each item and complete them in order:22231. **Load and analyze prompts** — diff the baseline vs candidate242. **Derive comparison dimensions** — from the prompt changes + task type253. **Select graders per dimension** — pairwise, judge, or rule264. **Run position-debiased comparison** — swap-aggregate to eliminate order bias275. **Compute statistics** — win rates + bootstrap 95% CI per dimension286. **Present results** — per-dimension verdict with confidence intervals2930## Fast path: run the bundled script3132Don't hand-write the win-rate + bootstrap math (the swap-aggregation and CI are easy to get33wrong). Run the bundled, tested script (`scripts/pairwise.py`, standard library only, **no34OpenJudge dependency**):3536```bash37…
Excerpt shown under the repository's Apache-2.0 license.
More skills in OpenJudge
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
