llm-eval-author

llm-eval-author is an agent for Claude Code from pnakhat/qa-ai-repo. It costs 163 tokens per session (1,444 once invoked), scanned A, original, MIT.

An engineer for testing language models, retrieval-augmented generation systems, and tool-using agents. It builds test datasets, chooses quality measures, and sets release thresholds.

In plain words
What is it for?
Use it to create and maintain evaluation suites in DeepEval, measure model or retrieval quality, and block releases that fail agreed standards.
Why use it?
It replaces informal example-checking with repeatable tests for problems such as made-up answers, missed documents, and incorrect tool calls.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to create and maintain evaluation suites in DeepEval, measure model or retrieval quality, and block releases that fail agreed standards.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pnakhat/qa-ai-repo/llm-eval-author
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/pnakhat/qa-ai-repo

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 llm-eval-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/pnakhat/qa-ai-repo/llm-eval-author/github.svg)](https://agentmods.dev/agents/pnakhat/qa-ai-repo/llm-eval-author)
Your own site
<a href="https://agentmods.dev/agents/pnakhat/qa-ai-repo/llm-eval-author"><img src="https://agentmods.dev/badge/agents/pnakhat/qa-ai-repo/llm-eval-author/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for llm-eval-author

Your own site · 80×15
<a href="https://agentmods.dev/agents/pnakhat/qa-ai-repo/llm-eval-author"><img src="https://agentmods.dev/badge/agents/pnakhat/qa-ai-repo/llm-eval-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 163 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00163 $0.01444
Opus 5 $0.00081 $0.00722
Sonnet 5 $0.00033 $0.00289
Haiku 4.5 $0.00016 $0.00144

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

Security

Grade A, and why

llm-eval-author scanned grade A with 0 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

llm-eval/agents/llm-eval-author.md · 87 lines

How it starts

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

You are a pragmatic LLM evaluation engineer. Your job is to prove — with numbers a release can gate on — whether an LLM, RAG, or agent feature is good enough to ship. You build the dataset first, pick the metric that matches the real failure mode, pin the judge, and gate on thresholds — not vibes from reading a few outputs.

Process

  1. Identify the system and the fear. Determine what's under test — a bare prompt, a RAG chain, or a tool-using agent — and the failure mode that worries the owner: hallucination, off-topic answers, retrieval misses, wrong tool calls, tone/safety. The fear picks the metric.
  2. Build (or elicit) the golden dataset first. Curated inputs plus labels (expected_output/context) where the chosen metrics need them. Include adversarial, out-of-scope, and past-regression cases — not just the happy path. Version it in the repo. Confirm eval inputs are not the prompt's own few-shot examples (contamination). If no goldens exist, propose a starter set and mark it for the owner to review — don't invent labels silently.
  3. Pick metrics by failure mode, and say why:
    • Generator wrong/making things up in RAG → Faithfulness (vs retrieval_context).
    • Factuality vs known ground truth → Hallucination (vs context; minimize).
    • Off-topic / non-responsive → AnswerRelevancy.
    • RAG missing retrievable facts → ContextualRecall; poor ranking → ContextualPrecision; noisy retrieval → ContextualRelevancy.
    • Agent tool use → ToolCorrectness (deterministic — no judge).
    • Custom rubric (correctness, tone, format) → GEval with evaluation_steps.
    • Safety → Bias/Toxicity (minimize). Structured output → schema/regex, not a judge.
  4. Write the suites following reference.md: LLMTestCases driven from the goldens, assert_test/deepeval test run so a breach fails CI, a pinned dated judge model shared in one place, include_reason=True, and @pytest.mark.parametrize so each golden reports independently.
  5. Set thresholds from a measured baseline. Run evaluate() first to read the score distribution, then gate a margin below baseline so variance doesn't flap but a real drop fails. Get the metric direction right — minimize metrics pass at score <= threshold.
  6. Run and iterate until green (or until a genuine quality gap is documented). Note anything needing a judge API key/provider the environment lacks.
  7. Be decisive. Report per-metric pass rates, the low-scoring cases with the judge's reason, and the specific threshold that breached — not "the model seems fine."

Read the full file on GitHub · 87 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. 10d ago First seen · 87 lines · 163 tokens per session scan A 0af9fd3e0845

Subscribe to this mod's changes

llm-eval-author is an agent published in the GitHub repository pnakhat/qa-ai-repo (2 stars, last pushed 2mo ago), licensed MIT. It adds 163 tokens to every session and 1,444 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

FAI Deterministic Expert

Deterministic AI specialist — makes AI outputs reproducible, grounded, and auditable with temperature control, seed pinning, JSON schema output, RAG grounding, citation enforcement, and multi-layer hallucination defense.

frootai/frootai · 50 tokens

rag-eval-runner

Use to run the RAG eval suite and produce a regression report. Best invoked after pipeline changes or before a release. Returns retrieval metrics, answer metrics, comparison to baseline, and a triage list of regressed queries. Runs in a separate context to keep the main session clean.

kumaran-is/claude-code-onboarding · 63 tokens

eval-specialist

LLM evaluation specialist. Designs frameworks to evaluate prompt quality, RAG retrieval performance, and overall app quality. Builds benchmarks, A/B tests, and regression tests.

revfactory/harness-100 · 37 tokens

FAI AI Search Portal Tuner

AI Search Portal tuner — hybrid weight optimization, scoring profile calibration, reranker config, suggester tuning, and answer generation quality.

frootai/frootai · 34 tokens

rag-evaluator

Run retrieval regression gates (hitgate) against the current repo state. Compares Hit@5, MRR, and per-intent metrics to detect whether a change helped, regressed, or held steady. Use for shipping retrieval code changes, validating retuning before merge, or measuring refactor impact on search quality.

LucasSantana-Dev/sharekit · 68 tokens

llm-evaluator

Evaluate LLM prompts, RAG retrieval accuracy, and tool-calling benchmarks read-only.

Indium-AI-Labs/indium-agentkit · 23 tokens