Communitygithub.com

getedgehq/agent-evals

Build evals for an AI agent that already does real work. Use when someone asks "how do I know my agent is right", wants to test an agent before trusting it, compare models on cost versus quality, or turn production failures into tests. Walks from first tasks and yes/no verifiers, to isolated environments, to a trace-driven improvement loop.

agent-evals とは?

agent-evals is a Claude Code agent skill that build evals for an AI agent that already does real work. Use when someone asks "how do I know my agent is right", wants to test an agent before trusting it, compare models on cost versus quality, or turn production failures into tests. Walks from first tasks and yes/no verifiers, to isolated environments, to a trace-driven improvement loop.

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/getedgehq/skills/tree/main/agent-evals

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Agent evals

An eval answers one question: did the agent do the job correctly? Everything below is a way to ask that question more reliably, more cheaply, and more often.

Built from the evals masterclass by Alex Lieberman with Viv (LangChain), 2026: youtube.com/watch?v=zLeG-XJtbIE. The structure (easy, hard, god mode) is theirs. Mistakes in this skill are ours.

Start by asking the user three things

  1. What real job does the agent do? Name the system it touches (CRM, inbox, repo, database).
  2. Who in the company is best at that job today? Their judgment is the ground truth.
  3. Does the agent run in production yet? If yes, are traces stored anywhere?

Pick the mode from the answers. Do not skip to god mode without tasks and verifiers.

Easy mode: tasks and verifiers

A task is a small, checkable piece of the real job. A verifier says whether that task was done right.

  1. Write 10 to 30 tasks that copy what real colleagues do. Examples for a sales agent:
    • add a note to a CRM record after a call
    • find a prospect who is not in the obvious table
    • draft a reply email without sending it
  2. For each task, write the verifier. Prefer, in order:
    • State check (a script): the field was empty before and holds the right value after; the tag email_sent exists.
    • Checklist (a model or a human): for anything not directly verifiable, break "good" into yes/no questions. "Three paragraphs or fewer?" "Uses the brand tone rules?"
  3. Keep every judgment binary. Models asked for a 1 to 10 score cluster around 7 and hedge. Yes/no cannot hedge.
  4. Get the checklist from the best person at the job, in writing. Run the agent, review a sample by hand. If an output passes the checklist but still feels wrong, the checklist is incomplete. Add the missing question.

Output of easy mode: a folder of tasks, each with an instruction and a verifier, and a pass rate.

Hard mode: environments

An environment is where the agent does the work: its files, tools, data and permissions. Never eval against production data. An agent that fails the eval also edits the real CRM.

  1. Build a copy that looks real to the agent: same tables, same tools, fake records. Package it so it resets to the same state every run (a container is the usual choice).
  2. One task = instruction + environment + verifier. Store them together.
  3. Do not roll your own runner if you can avoid it. Harbor (github.com/harbor-framework/harbor) has shared formats for tasks, environments and verifiers, and many published tasks you can adapt.
  4. Test the environment itself. Your first one is wrong. Run several different agents or models through it and look for strange patterns:
    • a strong model fails where a weak one passes
    • an agent finds the answer somewhere it should not be (a placeholder row, a leaked file). Agents will take any shortcut to pass. Remove the leak.
  5. Tag every task by family (coding, sales, code review). When a new model ships, run only the families it might be good at.
  6. Pick models with a table, not a feeling. Run each candidate on the same tagged tasks. Record pass rate, cost, and speed side by side. Then a human decides: is 5 points of accuracy worth 3x the cost for this family? User-facing tasks usually justify the top model; internal ones often do not.

Output of hard mode: an eval suite you can rerun on any model in one command, with a results table per task family.

God mode: the improvement loop

The loop: the agent runs, produces traces, failures become new tasks, the agent gets fixed, repeat.

  1. Turn on tracing. A trace is the log of every action: each tool call, each message, each result. Nobody can predict what an agent will do. Everybody can judge what it did.
  2. Store traces in one place. For a single developer, the agent's own logs on disk are enough. For a team, use a tracing product with permissions.
  3. Point a second agent at the traces. Its only job is finding patterns. Give it a short brief of good and bad behavior. Ask it for:
    • failed or repeated tool calls
    • instructions it ignored or half-followed
    • a recurring wrong path (always searching the wrong table, doing one company when asked for three)
  4. Turn each confirmed failure into a task in the eval suite, so it can never silently come back.
  5. Fix the agent, cheapest lever first:
    • harness: prompt, tool descriptions, tool set, model choice
    • fine-tuning a small open model on the narrow task, once the suite proves it matches the large model
  6. Keep a human on what "good" means. Agents can propose fixes and draft tasks. A human still decides which tasks matter to the business and reviews new ones. Writing that down is the highest-leverage part of the loop.

Rules

  • No eval without a named real job. Generic benchmarks do not tell you if your agent works.
  • Binary verifiers only. Split any score into yes/no questions.
  • Never let an eval touch production data.
  • A suite that everything passes is a broken suite. Check for leaks.
  • Report pass rates with the task count next to them ("21 of 30"), never a bare percentage.

Individual skills in this repo

This repo contains 15 individual skills — each has its own dedicated page.

getedgehq/cli-ux-review

Audit a command-line tool for user-friendliness — clear situation / next-step / options in every output, colour-highlighted runnable commands, no raw jargon, no silent hangs. Invoke for "CLI UX audit", "review my CLI", "is this CLI intuitive", or before any CLI release.

getedgehq/generate-image

Generate images with OpenAI GPT Image 2 via the Codex CLI, billed through the user's ChatGPT Plus subscription (no OpenAI API key, no per-image API cost). Use when the user asks to create, generate, or make an image, picture, illustration, icon, hero graphic, or concept art from a text prompt.

getedgehq/harness-first

Diagnose and fix an unreliable, expensive, or unsafe LLM agent by auditing its harness (golden set, judge, cost caps, data layer, action approvals, tracing) before blaming or swapping the model. Use when someone says an agent is "burning tokens", "hallucinating", "brittle", gives inconsistent answers, asks whether to switch to a cheaper/better model, or wants to ship an agent or prompt change to customers.

getedgehq/http-error-triage

Run before concluding anything from an HTTP error on a third-party API. Separates a real credential/entitlement problem from a CDN or WAF block, a wrong endpoint, or a client-signature ban. Use whenever an API returns 401/403/402/429 and you are about to say "the key is dead", "credits are exhausted", "the plan lacks access", or "we are rate limited".

getedgehq/linkedin-media-prep

Convert, crop, resize, and compress images and videos for optimal LinkedIn upload quality and file size. Use when the user wants to prepare a photo, image, or video for LinkedIn (profile picture, cover photo, post image, article featured image, post video, or video ad), optimize file size for LinkedIn, crop and resize for LinkedIn dimensions, convert HEIC/RAW/PNG/MOV to LinkedIn-ready JPEG or MP4, or mentions LinkedIn media requirements, specs, or limits.

getedgehq/monid

>-

getedgehq/opendraft

An 18-agent pipeline that turns one topic line into a drafted

getedgehq/people-search

Find and rank professional people for recruiting, partnerships, sales, or research from user-provided data, public web sources, an authenticated search session, or a connected provider. Use for people discovery, LinkedIn or Sales Navigator search design, profile-list ranking, or provider filter translation.

getedgehq/product-launch-video

Turn a product URL, launch brief, or approved script into a production-ready launch video. Use for product reveals, feature announcements, SaaS launches, and narrated product films; not for generic explainers or editing existing footage.

getedgehq/rocketlist

Turn a CV into a shortlist of live startup roles from Rocketlist's public job board, including adjacent job titles the person would never have searched for, each with its published salary, the evidence for the fit, and a direct apply link. Use for "find roles I would be a strong fit for", career pivots, remote or VC-backed job hunts, and salary-visible role discovery.

getedgehq/security-audit-checklist

Run a comprehensive security audit across application code, cloud infrastructure, containers, CI/CD pipelines, and infrastructure-as-code. Covers privacy compliance, OWASP basics, secret leakage, API security, IAM misconfigurations, storage exposure, Kubernetes hardening, and network security. Use when the user asks to audit, review, or harden app or cloud security, check for secrets, scan for XSS/SQLi, verify security headers, review Terraform/CloudFormation, audit AWS/GCP/Azure configs, or perform any security-focused review.

getedgehq/shadcn-first

>-

getedgehq/strip-image-ai-metadata

Strip C2PA and AI-generation metadata from images (PNG, JPEG, WebP) to remove "Generated by AI" / "ChatGPT" / "DALL-E" labels that platforms like LinkedIn, Instagram, and X display. Use when the user wants to clean AI-generated images before posting, remove AI attribution from photos, strip C2PA manifests, sanitize image metadata for professional use, or verify whether an image contains C2PA data.

getedgehq/top-down-comms

>-

getedgehq/workplan

Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: "workplan", "work plan", "create a plan", "what's the plan", "where was I", or when Claude detects

関連スキル