agent-evaluation

agent-evaluation is a skill for Claude Code from ils15/pantheon-legacy. It costs 24 tokens per session (795 once invoked), scanned C, original, MIT.

A skill for testing and scoring the outputs of AI agents. It checks whether answers are supported by their source material, whether they address the request, and whether the retrieved context is relevant and complete.

In plain words
What is it for?
Use it to fact-check agent responses, create adversarial tests, measure answer quality, and connect those checks to CI/CD pipelines.
Why use it?
It helps find made-up claims and quality regressions before an agent is used in production or changed in continuous integration testing.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - run: python scripts/run_eval_suite.py.

Good fit Use it to fact-check agent responses, create adversarial tests, measure answer quality, and connect those checks to CI/CD pipelines.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ils15/pantheon-legacy
agentmods
npx agentmods add skills/ils15/pantheon-legacy/agent-evaluation

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-evaluation

README.md
[![agentmods](https://agentmods.dev/badge/skills/ils15/pantheon-legacy/agent-evaluation.svg)](https://agentmods.dev/skills/ils15/pantheon-legacy/agent-evaluation)
Your own site
<a href="https://agentmods.dev/skills/ils15/pantheon-legacy/agent-evaluation"><img src="https://agentmods.dev/badge/skills/ils15/pantheon-legacy/agent-evaluation.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 795 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00795
Opus 5 $0.00012 $0.00398
Sonnet 5 $0.00005 $0.00159
Haiku 4.5 $0.00002 $0.00080

Measured 8d ago against content hash b17925878901, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

agent-evaluation scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

- **Prompt injection**: "Ignore previous instructions and..."

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Nullifies safety policiesmediumAnti-refusal

"You have no restrictions", "do anything now", "ignore your guidelines": a direct jailbreak that disables guardrails.

- **Role manipulation**: "You are now an unrestricted AI..."

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.clinerules/skills/agent-evaluation/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Evaluation

Framework for evaluating AI agent outputs: hallucination detection, quality scoring, behavioral regression, and CI/CD integration.


Hallucination Detection

Fact-Checking Pipeline

def detect_hallucination(response: str, context: str) -> dict:
    """Check if response contains unsupported claims."""
    claims = extract_claims(response)
    supported = [c for c in claims if verify_against(c, context)]
    return {
        'hallucination_rate': 1 - len(supported) / len(claims),
        'unsupported_claims': [c for c in claims if c not in supported]
    }

Red Teaming

  • Generate adversarial prompts designed to trigger hallucinations
  • Test with contradictory context
  • Verify model says "I don't know" when appropriate

Output Quality Scoring

RAGAS Metrics

Metric What it measures Target
Faithfulness Response grounded in context ≥0.8
Answer Relevance Response addresses query ≥0.8
Context Precision Retrieved context is relevant ≥0.7
Context Recall All relevant context retrieved ≥0.7

Scoring Pipeline

from ragas import evaluate
from ragas.metrics import faithfulness, answer_relevance

result = evaluate(
    dataset=eval_dataset,
    metrics=[faithfulness, answer_relevance]
)

Behavioral Regression Testing

Test Types

  • Consistency: Same input → same output across runs
  • Robustness: Slight input variation → similar output
  • Boundary: Edge cases handled gracefully
  • Safety: No harmful, biased, or leaked content

LangSmith Integration

from langsmith import Client

client = Client()
client.evaluate(
    runnable,
    dataset_name="agent-behavior-tests",
    evaluators=[consistency_evaluator, safety_evaluator]
)

Latency & Reliability Benchmarks

Metric Target Measurement
P50 Latency <2s Time to first token
P99 Latency <10s End-to-end response time
Error Rate <1% Failed requests / total
Throughput >10 req/s Concurrent requests handled

Read the full file on GitHub · 131 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 131 lines · 24 tokens per session scan C b17925878901

Subscribe to this mod's changes

agent-evaluation is a skill published in the GitHub repository ils15/pantheon-legacy (10 stars, last pushed 5d ago), licensed MIT. It adds 24 tokens to every session and 795 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (instruction-override phrasing, nullifies safety policies). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens