Promptfoo Evaluation
Structured Promptfoo evaluation guide covering configs, prompts, Python assertions, and llm-rubric grading for prompt and model testing.
- CCM score
- 69 of 100
- skills.sh installs
- 1.6K
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full eval workflow: init, configure prompts and providers, define test cases, run, and view results
- Includes configuration examples for
promptfooconfig.yaml, chat and few-shot prompt formats, and common assertion types such ascontains,regex, andlatency - Explains Python custom assertions (
get_assert) and LLM-as-judge rubrics with thresholds and per-rubric grader providers - Designed for teams testing prompts or comparing models, including relay or proxy API setups with concurrency and
file://path pitfalls
Install
$ npx -y skills add daymade/claude-code-skills --skill promptfoo-evaluation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Promptfoo Evaluation
Overview
This skill provides guidance for configuring and running LLM evaluations using Promptfoo, an open-source CLI tool for testing and comparing LLM outputs.
Quick Start
# Initialize a new evaluation project
npx promptfoo@latest init
# Run evaluation
npx promptfoo@latest eval
# View results in browser
npx promptfoo@latest view
Configuration Structure
A typical Promptfoo project structure:
project/
├── promptfooconfig.yaml # Main configuration
├── prompts/
│ ├── system.md # System prompt
│ └── chat.json # Chat format prompt
├── tests/
│ └── cases.yaml # Test cases
└── scripts/
└── metrics.py # Custom Python assertions
Core Configuration (promptfooconfig.yaml)
# yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
description: "My LLM Evaluation"
# Prompts to test
prompts:
- file://prompts/system.md
- file://prompts/chat.json
# Models to compare
providers:
- id: anthropic:messages:claude-sonnet-4-6
label: Claude-Sonnet-4.6
- id: openai:gpt-4.1
label: GPT-4.1
Details
- Repository
- github.com/daymade/claude-code-skills
- Categories
- Testing & QA, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
More from daymade/claude-code-skills
All 50- Fact Checker1.6K
- Meeting Minutes Taker1.6K
- Github Ops1.6K
- Developing Ios Apps1.6K
- Youtube Downloader1.6K
- Excel Automation1.6K
- Skill Reviewer1.5K
- Mermaid Tools1.5K
- Statusline Generator1.5K
- Skills Search1.5K
- Capture Screen1.1K
- Pdf Creator1.1K
- Docs Cleaner1.1K
- Claude Md Progressive Disclosurer1.1K
- Video Comparer1K
- Github Contributor1K
- Llm Icon Finder1K
- Cli Demo Generator1K
- Cloudflare Troubleshooting1K
- Teams Channel Post Writer1K
- Claude Skills Troubleshooting997
- Repomix Safe Mixer980
- Financial Data Collector953
- Doc To Markdown952
Similar to Promptfoo Evaluation
More Testing & QApromptfoo-evalsSkillpromptfoo/promptfoo409 installsWrite, run, and improve non-redteam Promptfoo eval suites with assertions, rubrics, datasets, and CI gates.
llm-evaluationSkillwshobson/agents13.9K installsComprehensive evaluation strategies for LLM apps combining automated metrics, human review, and LLM-as-judge scoring.
llm-eval-harnessPlugindaymade/claude-code-skills1.6K starsTests/benchmarks a third-party LLM endpoint (OpenAI- or Anthropic-compatible): availability, fidelity, speed, concurrency, protocol compliance, quality regressi
senior-prompt-engineerSkillalirezarezvani/claude-skills1K installsUse when the user asks to optimize prompts, design prompt templates, evaluate LLM outputs with an eval set, measure RAG retrieval quality, validate agent/tool c
llm-application-dev-prompt-optimizeSkillsickn33/agentic-awesome-skills357 installsStructured prompt improvement with task-specific evaluation, held-out checks, and regression testing for LLM applications.
agent-evaluationSkillneolabhq/context-engineering-kit1.4K installsEvaluation framework for testing and improving Claude Code commands, skills, and agents against outcome-based rubrics.