metric-definition

Derives grounded evaluation metrics from concrete examples and writes eval/metrics.md.

1|9|Updated Jul 11, 2026
One-click install
npx skills add https://github.com/agenticgogol/Edureka_Coding_Agent_Enabled_Demo_11Jul --skill metric-definition-agenticgogol
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: metric-definition
Source: https://github.com/agenticgogol/Edureka_Coding_Agent_Enabled_Demo_11Jul/tree/main/.claude/skills/metric-definition
Command: npx skills add https://github.com/agenticgogol/Edureka_Coding_Agent_Enabled_Demo_11Jul --skill metric-definition-agenticgogol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams building agent evaluations often pick generic metrics that do not reflect what actually makes an output good or bad for their specific tasks. This Skill derives metrics from concrete good and bad examples per task, producing a grounded eval/metrics.md file instead of a copy-pasted textbook list. ## Core Features & Use Cases - Example-grounded metric derivation: Elicits 2-3 concrete good/bad output examples per task and derives metrics from the specific reasons given, never from a generic list alone. - Task-shape cross-check: Maps task types (summarization, classification, RAG, tool-using, code-gen, conversational, content-gen) to candidate metrics so nothing obvious is missed, and flags which of the 4 core metrics (relevance, faithfulness, correctness, coherence) apply. - Mandatory user confirmation gate: Presents the task-to-metric mapping for editing and pauses before writing eval/metrics.md, every time. - Use Case: After defining evaluation tasks for a customer-support agent, run this Skill to turn concrete examples of good and bad responses into a per-task metric set with definitions tied to those examples. ## Quick Start Run the metric-definition skill to derive evaluation metrics from the tasks in eval/tasks.md and write eval/metrics.md after my confirmation.

Frequently Asked Questions about metric-definition

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

FAQPage Schema
How do I define evaluation metrics for an AI agent?▼

Start from concrete good and bad example outputs for each task, then derive metrics from the specific reasons each example succeeds or fails. This Skill formalizes that process and writes the result to eval/metrics.md after your confirmation.

What metrics should I use for a RAG or tool-using agent?▼

For RAG tasks, candidate metrics include context precision, context recall, faithfulness, and answer relevance. For tool-using agents, consider tool selection correctness, argument validity, trajectory match, error recovery, and efficiency, grounded in your own examples.

When should metric definition run in an eval workflow?▼

Run it immediately after task-definition produces eval/tasks.md and before any golden dataset or grader work. The Skill stops and tells you to run task-definition first if eval/tasks.md does not exist.

What happens if I cannot provide good and bad examples for a task?▼

The Skill will not assign metrics without at least one grounding example. It marks that task as needing examples and returns to it later rather than guessing generic metrics.

Does the skill write eval/metrics.md automatically?▼

No. It always presents the derived task-to-metric mapping with reasoning first and pauses for your edits. The file is written only after you confirm the metric set.