guia-matthieu/clawfu-skills/agent-evaluation-4f45776fecc4
Claude Code and agent skill by guia-matthieu/clawfu-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when testing skills, commands, or agents for quality. Use after creating new skills, before deploying agents, or when debugging inconsistent agent behavior. Triggers on "evaluate", "test quality", "is this skill working", or QA of AI workflows.
Install
npx vskill@latest install guia-matthieu/clawfu-skills/agent-evaluation-4f45776fecc4SKILL.md
Agent Evaluation
Overview
Core principle: Agents are non-deterministic. Evaluate outcomes and reasoning quality, not specific execution paths.
Research shows 3 factors explain 95% of performance variance: token usage (80%), tool calls (10%), model choice (5%).
When to Use
- After creating a new skill
- Before deploying an agent to production
- When agent behavior is inconsistent
- For
/qa-reviewof AI-assisted work - Comparing approaches or models
Quick Reference: 5-Dimension Rubric
| Dimension | Weight | What to check | |
|---|---|---|---|
| Instruction Following | 30% | Did it do what was asked? | |
| Output Completeness | 25% | Are all requirements covered? | |
| Tool Efficiency | 20% | Minimal, appropriate tool use? | |
| Reasoning Quality | 15% | Is the logic sound? | |
| Response Coherence | 10% | Clear, well-structured? |
Pass threshold: 0.70 (general), 0.85 (critical operations)
Evaluation Methods
1. Direct Scoring (Fast)
For quick skill checks:
Critical: Always require justification BEFORE the score. This improves reliability 15-25%.
2. LLM-as-Judge (Scalable)
For systematic testing:
3. Pairwise Comparison (Reliable for subjective)
When comparing two approaches:
4. Pressure Testing (For discipline skills)
For skills that enforce rules (TDD, verification, etc.):
Bias Detection
| Bias | Detection | Mitigation | |
|---|---|---|---|
| Position bias | Swap A/B order, check consistency | Use position-swapping protocol | |
| Length bias | Long outputs scored higher | Add "conciseness" criterion | |
| Self-enhancement | Agent rates own work higher | Use different model for eval | |
| Verbosity bias | More words = more complete | Score relevance, not volume |
Metrics by Task Type
| Task Type | Primary Metrics | |
|---|---|---|
| Pass/fail tasks | Precision, Recall, F1 | |
| Rated scales | Spearman correlation (ρ > 0.8 = good) | |
| Preferences | Agreement rate, Position consistency |
Good evaluation system thresholds:
- Spearman's ρ > 0.8
- Cohen's κ > 0.7
- Position consistency > 0.9
- Length correlation < 0.2
Practical Workflow
For New Skills
For Agent QA
- Define criteria with specific level descriptions
- Create test cases stratified by complexity (easy/medium/hard)
- Run direct scoring with justification-first
- Validate against known-good/known-bad outputs
- Monitor agreement with human spot-checks
- Iterate prompts based on failure patterns
Test Case Design
Stratify by Complexity
Include Edge Cases
- Empty inputs
- Very long inputs
- Ambiguous instructions
- Conflicting requirements
- Tasks outside skill scope (should decline gracefully)
Common Failure Patterns
| Pattern | Symptom | Likely cause | |
|---|---|---|---|
| Inconsistent scores | Same input, different outputs | Non-determinism not accounted for | |
| Always passes | No failures detected | Test cases too easy | |
| Always fails | Nothing meets threshold | Threshold too strict or rubric misaligned | |
| Length correlation | Longer = better scores | Verbosity bias in rubric | |
| Position effects | A>B but B>A | Missing position-swapping |
Integration with Existing Workflows
With /qa-review
Use 5-dimension rubric as structured checklist:
- Instruction Following → Does it match the PRD?
- Output Completeness → All acceptance criteria met?
- Tool Efficiency → Clean implementation?
- Reasoning Quality → Sound architecture?
- Response Coherence → Maintainable code?
With /retro
After evaluating, capture:
- What patterns led to failures?
- What rubric adjustments needed?
- What test cases were missing?
Key Insight
"Judge whether the agent achieves the right result through a reasonable process, not whether it took specific steps."
Agents are non-deterministic. Two perfect executions may look completely different. Evaluate outcomes and reasoning, not paths.
What Claude Does vs What You Decide
| Claude handles | You provide | |
|---|---|---|
| Executing 5-dimension rubric scoring | Definition of pass/fail thresholds | |
| Running pressure test scenarios | Judgment on acceptable rationalizations | |
| Detecting evaluation biases | Final quality verdict | |
| Generating test case variations | Ground truth for comparison | |
| Comparing approaches systematically | Strategic decisions on deployment |
Skill Boundaries
This skill excels for:
- QA of new skills before deployment
- Debugging inconsistent agent behavior
- Comparing approaches or models
- Systematic evaluation at scale
This skill is NOT ideal for:
- One-off outputs → Manual review faster
- Creative work → Subjective, hard to rubric
- Real-time evaluation → Adds latency
Skill Metadata
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/meta/agent-evaluation/SKILL.md
Popularity
- Repository stars
- 22
- Repository forks
- 4
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/guia-matthieu/clawfu-skills/agent-evaluation-4f45776fecc4)