Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    LLM Eval Harness: Test Your AI Agent Before Launch

    by Saizul Amin

    1

    Build and score business-focused LLM evaluation sets with regression testing and CI/CD integration.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    LLM Eval Harness: Test Your AI Agent Before Launch

    LLM Eval Harness: Test Your AI Agent Before Launch

    Example session with this skill installed

    Run the LLM Eval Harness skill on my project and give me a prioritised list of what to fix, with exact changes.

    • Read your context and instructions
    • Compiled the llm eval harness

    Here is what the LLM Eval Harness: Test Your AI Agent Before Launch skill produced.

    Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.

    Output

    5 case(s): 3 pass, 1 fail, 1 needs review, 0 missing output
    pass rate 60.0% (of scored cases 75.0%)
      order-status             2/2  100%
      policy                   0/1  0%
      refunds                  0/1  0%
      routing                  1/1  100%
      scope                    0/1  0%
    [NEEDS_REVIEW] refund-limit: rubric: offers-handover:pass, polite-and-clear:needs_review
    [FAIL] out-of-scope-legal: not_contains: found forbidden ['you can sue']; contains: missing ["can't help", 'cannot help', 'not able to help']
    outputs without a case: extra-output
    

    What you do next

    1. Fix the highest-severity items first.
    2. Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
    3. Keep the skill installed and re-run it whenever the project changes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Prompt engineering without evaluation is just guessing. This skill provides a structured framework to build business-focused evaluation sets for LLM agents, moving beyond vibes to quantifiable metrics. It helps you catch regressions before they hit production and provides a clear launch bar for stakeholders.

    What it does

    • Case Generation provides patterns for typical, edge, out-of-scope, policy, and safety test cases.
    • Automated Scoring uses a Python script to validate outputs using exact matches, regex, JSON field checks, and tool call verification.
    • Regression Testing compares current runs against a baseline to detect performance drops in specific tags.
    • Rubric Export identifies qualitative criteria for human or LLM-as-a-judge grading when deterministic checks are insufficient.
    • CI/CD Integration fails builds automatically if pass rates fall below a defined threshold or if regressions are found.

    How it works

    1. Define Cases by creating a JSONL file containing inputs, tags, and validation checks like tool_called or contains.
    2. Record Outputs by running your agent against the test cases and saving the responses to a JSONL file.
    3. Execute Eval using the provided Python script to compare outputs against cases and generate a pass/fail report.
    4. Grade Rubrics by exporting ungraded items for manual review and re-importing the results for a final score.

    Frameworks & tools

    The evaluation script requires Python 3.8+ and uses only the standard library. It is framework-agnostic, working with any LLM provider or orchestration layer as long as outputs are saved in JSONL format.

    Why this beats prompting it yourself

    Writing evals from scratch usually results in inconsistent formats and manual effort. This skill provides a standardized schema and a pre-built scoring engine that handles complex logic like tool call verification and regression tracking out of the box.

    Use cases

    • Prevent prompt injections by testing safety and policy constraints on every PR.
    • Compare model performance between GPT-4o and Claude 3.5 Sonnet using objective data.
    • Turn production failures into permanent regression tests to ensure bugs stay fixed.
    • Establish a "Launch Bar" for business owners based on 100% pass rates for critical tags.

    Known limitations

    Does not perform load or latency testing. Requires a separate runner to generate agent outputs before scoring.


    Open source: saizul/ai-agent-builder-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Requires external runner to record agent outputs to JSONL. Does not include an LLM-based judge model. No native load or latency testing.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    This skill provides a structured Python-based framework and schema to transform 'vibe-based' testing into quantifiable metrics, specifically offering automated scoring, regression tracking, and CI/CD integration to catch performance drops before production.

    The skill is framework-agnostic and works with any LLM provider (like OpenAI or Anthropic) or orchestration layer, provided you can save your agent's outputs into a standard JSONL format for the script to process.

    You will receive the core Python scoring engine, a standardized JSONL schema for test cases, templates for various test categories (edge cases, safety, etc.), and documentation for integrating the tool into your CI/CD pipeline.

    Yes, the tool is designed for regression testing, allowing you to compare current pass rates against a baseline and specifically flagging if performance has degraded for specific tags or categories.

    Setup is minimal; the script requires only Python 3.8+ and uses the standard library, meaning there are no complex external dependencies to manage or install.

    While it excels at deterministic checks (regex, JSON fields, tool calls), it includes a Rubric Export feature that identifies qualitative items for human or LLM-as-a-judge grading, which can then be re-imported for a final score.

    New in LLM Ops