Back/Engineering/Claude/Claude Code
IntermediateEngineeringClaudeClaude Code

How to Build a Custom AI Model Benchmark Using Claude Code

Create a repeatable, automated benchmark to evaluate AI models on tasks relevant to your work. This workflow uses Claude Code to brainstorm, refine, and generate a complete evaluation system, including a test runner and scoring backend.

How to Build a Custom AI Model Benchmark Using Claude Code

Tools Used

Claude

Anthropic AI assistant

Claude Code

Claude for coding tasks

02Step-by-Step Guide
1

Brainstorm the Benchmark with AI

Use a context-aware AI tool like Claude Code to brainstorm the structure of your benchmark. Provide context about your audience and goals to get relevant suggestions.

Prompt:
Based on our work together, can you help me brainstorm how I AI benchmark and eval set we can test every time a new model comes out to consistently score different tasks That would be relevant to our podcast audience.
2

Refine the Scope of Your Benchmark

Narrow the focus to a manageable set of specific tasks. Provide clear instructions to the AI to concentrate on what matters most to you, such as tasks for builders, PRDs, and prototypes.

Prompt:
Let's actually focus on task for builders, PRDs prototypes, agentic, multi-step and agentic voice basically does a pass the vibe check in my open claw.
Pro Tip: Tell the AI it can use your existing code repositories and data sources to build the test harness for more relevant results.
3

Generate the Evaluation Harness

Ask the AI to generate the complete evaluation system based on your refined scope. This system should include a test runner script, an LLM-as-judge scorer, and a local HTML page for human evaluation.

4

Implement a Hybrid Scoring System

Ensure the generated harness includes both an automated scorer (LLM-as-judge) and an interface for manual human scoring (a 'vibe check'). This hybrid approach combines objective, automated scoring with subjective, taste-based feedback.

Start shipping
better products.

Join 100,000+ product managers who use ChatPRD to write better docs, align teams faster, and build products users love.

Free to start
No credit card
SOC 2 certified
Enterprise ready