hamel-husain

Diagnose LLM agent production failures by prioritizing evaluation quality over prompt iteration.

114|12|Updated May 18, 2026
One-click install
npx skills add https://github.com/swaylq/master-skill --skill hamel-husain-swaylq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hamel-husain
Source: https://github.com/swaylq/master-skill/tree/main/prototypes/monetize-agents-master/output/sub-skills/hamel-husain
Command: npx skills add https://github.com/swaylq/master-skill --skill hamel-husain-swaylq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you diagnose why your LLM agent is failing in production and decide what to change next by centering evaluation (evals) quality over model or prompt guessing.

Core Features & Use Cases

  • Evals-first decision making: Treat evals as the source of truth, and use them to identify failure modes rather than relying on vibes, demos, or isolated prompt tweaks.
  • Build eval sets from real traces: Sample real production failure traces, label them with human/domain judgment, and turn them into an eval set that can actually measure improvement.
  • LLM-as-judge with human validation: Use an LLM judge only after human-labeled rubrics exist, ensuring judge scores correlate with real human judgments before scaling.

Use case examples:

  • Your agent works in demos but customers churn after rollout.
  • You can’t reliably improve an agent because “prompt changes” feel random.
  • You’re deciding whether to invest in eval infrastructure, hire a team, build a SaaS, or productize expertise as courses rather than a company.

Quick Start

Ask the AI to roleplay Hamel Husain and tell you what eval set you should build from your last 50 production traces and how to label the main failure modes before changing prompts, models, or RAG.

Frequently Asked Questions about hamel-husain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose why my LLM agent is failing in production?

To diagnose LLM agent production failures, you should reframe evaluation quality as the primary bottleneck instead of guessing at prompt or model iterations. Use real production traces to create a labeled eval set with human-validated rubrics to identify actual failure modes.

How do I build an eval set from production traces?

Build an eval set from production traces by sampling real failure traces from your deployed LLM agents. Label these traces using human and domain judgment to turn them into an eval set that can reliably measure improvement before you change prompts or architecture.

When should I set up an LLM-as-judge for evaluating agent quality?

Set up an LLM-as-judge only after human-labeled rubrics exist for your eval set. You must ensure the judge scoring aligns with and correlates to real human judgments before scaling the automated evaluation of your LLM agents.

Why do agent prompt changes feel random and fail to improve quality?

Agent prompt changes feel random because they rely on vibes or isolated tweaks rather than a labeled eval set. Treating evals as the source of truth helps identify specific failure modes and directs iteration sequencing for reliable quality improvements.

What's the best way to decide between investing in eval infrastructure or building a team?

The best way to decide between investing in eval infrastructure, hiring a team, or productizing expertise is to apply eval-driven decision making. Use your human-validated eval set to measure actual improvement potential and identify whether failures stem from prompt, model, or evaluation bottlenecks.

Can I improve my agent without first aligning judge scores to human correlation?

You should not improve your agent without aligning judge scores to human correlation. Using an LLM judge without human-validated rubrics risks scaling inaccurate evaluations, making prompt and architecture changes ineffective for resolving real production failures.