Tooluck logoTooluck
SKILL.md

agentic-eval

Agent skill fromgithub/awesome-copilot

Patterns and techniques for evaluating and improving AI agent outputs. Use this skill when: - Implementing self-critique and reflection loops - Building evaluator-optimizer pipelines for quality-critical generation - Creating test-driven code refinement workflows - Designing rubric-based or LLM-as-judge evaluation systems - Adding iterative improvement to agent outputs (code, reports, analysis) - Measuring and improving agent response quality

How to install agentic-eval

install agentic-eval
# install the awesome-copilot pack with the skills CLI
npx skills add github/awesome-copilot

# or add only this skill to Claude Code: copy the folder

skills/agentic-eval/

# into

~/.claude/skills/agentic-eval/ (all projects)

.claude/skills/agentic-eval/ (one project)

skills/agentic-eval/SKILL.md

MITFull file
1# Agentic Evaluation Patterns
2
3Patterns for self-improvement through iterative evaluation and refinement.
4
5## Overview
6
7Evaluation patterns enable agents to assess and improve their own outputs, moving beyond single-shot generation to iterative refinement loops.
8
9```
10Generate → Evaluate → Critique → Refine → Output
11 ↑ │
12 └──────────────────────────────┘
13```
14
15## When to Use
16
17- **Quality-critical generation**: Code, reports, analysis requiring high accuracy
18- **Tasks with clear evaluation criteria**: Defined success metrics exist
19- **Content requiring specific standards**: Style guides, compliance, formatting
20
21---
22
23## Pattern 1: Basic Reflection
24
25Agent evaluates and improves its own output through self-critique.
26
27```python
28def reflect_and_refine(task: str, criteria: list[str], max_iterations: int = 3) -> str:
29 """Generate with reflection loop."""
30 output = llm(f"Complete this task:\n{task}")
31
32 for i in range(max_iterations):
33 # Self-critique
34 critique = llm(f"""
35 Evaluate this output against criteria: {criteria}
36 Output: {output}
37 Rate each: PASS/FAIL with feedback as JSON.
38 """)
39
40 critique_data = json.loads(critique)
41 all_pass = all(c["status"] == "PASS" for c in critique_data.values())
42 if all_pass:
43 return output
44
45 # Refine based on critique
46…

Excerpt shown under the repository's MIT license.

More skills in awesome-copilot

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

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

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates