Skill evaluator

From diegopacheco/ai-playground · View interactive version

Skill evaluator is an AI agent skill from the GitHub repository diegopacheco/ai-playground. This skill should be used when the user asks to "evaluate a skill", "review skill quality", "score my skill", "check skill best practices", "rate my skills", "evaluate all skills", "compare skills", or wants to assess skill quality across criteria like clarity, token efficiency, anti-cheating, quali

How to use this skill

Skill file

Skill Evaluator

Evaluate skills for Claude Code and Fox Codex across 9 quality criteria, producing a scored pass/fail report with actionable recommendations.

Trigger

This skill is triggered by the /skill-evaluator command.

Phase 1: Skill Discovery

Scan the following locations for installed skills:

| Location | Platform |

|---|---|

| ~/.claude/skills/ | Claude Code |

| ~/.claude/plugins/*/skills/ | Claude Code plugins |

| ~/.codex/skills/ | Fox Codex |

For each location, find directories containing a SKILL.md file.

Present the discovered skills in a table:

| # | Skill | Platform | Path |
|---|---|---|---|

Ask the user using AskUserQuestion: "Evaluate ALL skills or select specific ones?"

If user selects specific ones, present a multi-select list using AskUserQuestion with multiSelect: true.

If a path argument is provided, skip discovery and evaluate that single skill directly.

Phase 2: Evaluation

For each selected skill, read its SKILL.md and all files in its directory tree.

Evaluate the skill against all 9 criteria. For each criteria, analyze the skill content and assign a score from 0 to 10.

Criteria 1: Direct and Clear (0-10)

Evaluate how direct, precise, and clear the skill is.

Look for:

Score >= 6 to PASS.

Criteria 2: Token Efficiency (0-10)

Evaluate how efficiently the skill uses context window tokens.

Look for:

Score <= 5 to PASS (lower is better, fewer tokens wasted).

Criteria 3: Anti-Cheating (0-10)

Evaluate trustworthiness guardrails.

Look for:

Score >= 6 to PASS.

Criteria 4: Reinforcing Quality Gates (0-10)

Evaluate whether the skill blocks progress until quality bars are met.

Look for:

Score >= 6 to PASS.

Criteria 5: Determinism (0-10)

Evaluate reproducibility across runs.

Look for:

Score >= 6 to PASS.

Criteria 6: Scope Discipline (0-10)

Evaluate whether the skill stays in its lane.

Look for:

Score >= 6 to PASS.

Criteria 7: Error Recovery (0-10)

Evaluate failure handling.

Look for:

Score >= 6 to PASS.

Criteria 8: Observability (0-10)

Evaluate evidence production.

Look for:

Score >= 6 to PASS.

Criteria 9: Idempotency (0-10)

Evaluate re-run safety.

Look for:

Score >= 6 to PASS.

Phase 3: Report Generation

For each evaluated skill, produce a results table:

# Skill Evaluation: [skill-name]
Date: YYYY-MM-DD
Path: /path/to/skill/

| Criteria             | Score | Result | Summary                                       |
|----------------------|-------|--------|-----------------------------------------------|
| Direct and Clear     | X/10  | PASS   | [short summary of what is good or to improve] |
| Token Efficiency     | X/10  | PASS   | [short summary of what is good or to improve] |
| Anti-Cheating        | X/10  | PASS   | [short summary of what is good or to improve] |
| Quality Gates        | X/10  | PASS   | [short summary of what is good or to improve] |
| Determinism          | X/10  | PASS   | [short summary of what is good or to improve] |
| Scope Discipline     | X/10  | PASS   | [short summary of what is good or to improve] |
| Error Recovery       | X/10  | PASS   | [short summary of what is good or to improve] |
| Observability        | X/10  | PASS   | [short summary of what is good or to improve] |
| Idempotency          | X/10  | PASS   | [short summary of what is good or to improve] |

Overall: X.X/10 | PASS/FAIL (list failing criteria if FAIL)

Pass/fail rules:

If multiple skills were evaluated, append a ranking table:

| Rank | Skill | Overall | Result | Weakest Criteria |
|------|-------|---------|--------|------------------|

Write the full report to eval-report.md in the current working directory.

Rules

Additional Resources

Scripts

Reference Files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.