Ai Evals logo

Ai Evals

OrganizationPopular
RefoundAI
ai-evals

Help users build robust infrastructure for measuring, monitoring, and iterating on AI product performance using human, code-based, and LLM-as-a-judge methodologies.

Overview

PublisherRefoundAI
Repositorylenny-skills
Skill nameai-evals
Stars
1.3K
Forks
170
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by RefoundAI on GitHub. Read the source before you install it.

Installation

Install the Ai Evals AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RefoundAI/lenny-skills.git /tmp/lenny-skills
mkdir -p .claude/skills
cp -r /tmp/lenny-skills/skills/ai-evals .claude/skills/ai-evals
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ai Evals in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ai Evals on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ai Evals is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

AI Evaluation Strategy

Move beyond vibe checks to systematic, empirical measurement of AI product quality and reliability.

Help the user with ai evaluation strategy using insights from 11 guests and posts across Lenny's Podcast and Newsletter.

How to Help

  1. Identify Failure Modes - Help the user conduct error analysis on real traces to find where the system specifically breaks.
  2. Select Eval Methods - Recommend the right mix of human, code, and LLM judges based on the specific technical use case.
  3. Build Gold Sets - Assist in curating a reference dataset of high-quality examples to act as the ground truth for your application.
  4. Operationalize - Guide the user in integrating these evaluations into a CI/CD pipeline for continuous quality improvement.

Core Principles

Automate the Value Chain

Brendan Foody: "I think that for enterprises especially, the core way to think about it is how can they build a test or systematic way to measure how well AI automates their core value chain? So if it's an architecture firm that's producing these architecture diagrams of what they provide to their end customer, how can they effectively measure that? And each company has its own value chain or maybe a handful of them if it's a multi-product company."

Identify the core deliverables unique to your business and develop systematic tests to measure how accurately AI can replicate those specific tasks.

Prioritize Subjective Excellence

Edwin Chen: "We are looking for a Nobel Prize-winning poetry. Is this poetry unique? Is it full of subtle imagery? Does it surprise you and target your heart? Does it teach you something about the nature of moonlight?"

True data quality is defined by deep, subjective human excellence, such as emotional resonance and uniqueness, rather than superficial binary checks.

Eliminate Vibe Checks

Hamel Husain & Shreya Shankar: "Evals help you create metrics that you can use to measure how your application is doing and kind of give you a way to improve your application with confidence. That you have a feedback signal in which to iterate against."

Create systematic metrics to track application quality over time, allowing teams to iterate on prompts or models with the same confidence as traditional software.

Structured Judge Logic

From "Beyond vibe checks: A PM’s complete guide to evals": "Clearly articulating what you want your judge-LLM to measure isn’t just a step in the process; it’s the difference between a mediocre AI and one that consistently delights users. Building these writing skills requires practice and attention."

Write effective automated evaluations by using a structured prompt that defines the role, data, success criteria, and specific labels for the judge.

Templates & Frameworks

  • LLM-as-a-Judge Playbook (Building eval systems that improve your AI product) - A systematic three-step process for building, validating, and measuring an LLM judge that provides trusted binary pass/fail metrics for subjective AI quality as
  • Three Eval Approaches (Human, Code-based, LLM-based) (Beyond vibe checks: A PM’s complete guide to evals) - A decision framework for choosing the right eval approach based on your use case, with pros and cons for each.
  • The Eval Formula (Four-Part Structure) (Beyond vibe checks: A PM’s complete guide to evals) - A four-part formula for writing effective LLM-based eval prompts that any PM can use to construct judge-LLM prompts.
  • Open Coding and Axial Coding for AI Error Analysis (Building eval systems that improve your AI product) - A qualitative research methodology adapted for AI product evaluation, used to discover and categorize failure modes from user interaction data.
  • RAG Evaluation Framework (Retriever + Generator) (Building eval systems that improve your AI product) - A two-part evaluation approach for RAG systems that separately assesses the retriever and generator components with specific metrics for each.
  • AI Eval Improvement Flywheel (Building eval systems that improve your AI product) - The closed-loop process that uses CI safety nets and production discovery engines together to create continuous AI product improvement.
  • Reference Dataset Structure (Why your AI product needs a different development lifecycle) - A template for building the initial reference dataset (20-100 examples) to break the cold start and provide a baseline for AI system evaluation.
  • Transition Failure Matrix for Agentic Workflows (Building eval systems that improve your AI product) - A diagnostic tool for pinpointing exactly which step in an agent's multi-step workflow breaks down, enabling data-driven debugging.

See references/artifacts.md for the full list with details.

Questions to Help Users

  • "What are the top 3 to 5 failure modes your users are currently experiencing in production?"
  • "Do you have a single domain expert or benevolent dictator who defines what quality looks like for this feature?"
  • "What percentage of your current evaluation process is manual versus automated?"
  • "Is your system non-determinism primarily occurring in the retrieval or the generation phase?"
  • "Have you established a golden dataset of at least 20 to 50 human-labeled examples yet?"
  • "How do you currently measure the performance delta when you switch models or change a system prompt?"

Common Mistakes to Flag

  • Relying on vibe checks - Manual and anecdotal testing leads to inconsistent quality and hidden regressions that damage user trust over time.
  • Obsessing over prompt engineering - Focusing solely on prompts while neglecting the underlying evaluation system prevents teams from scaling or hill-climbing systematically.
  • Using generic metrics for product reporting - Off-the-shelf scores are useful for filtering but often fail to capture the specific value or failures unique to your business logic.
  • Ignoring component isolation - Failing to evaluate the retriever separately from the generator in RAG systems makes it impossible to know which part of the stack is failing.
  • Neglecting non-determinism - Failing to account for the stochastic nature of LLMs leads to false confidence in results that may not repeat in production.

Deep Dive

For all 33 sourced insights from 11 guests, see references/guest-insights.md

Related Skills

  • Ai Product Strategy
  • Ai Native Ux

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ai Evals AI skill do?

Help users build robust infrastructure for measuring, monitoring, and iterating on AI product performance using human, code-based, and LLM-as-a-judge methodologies.

Why use Ai Evals on TypingMind?

Because you install it once and use it with any model. Ai Evals is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ai Evals in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/RefoundAI/lenny-skills/tree/main/skills/ai-evals. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ai Evals?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ai Evals?

As many as you like. As long as a model supports skills, you can use Ai Evals with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ai Evals AI skill free?

Yes. It is published on GitHub by RefoundAI under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇