evaluating-with-promptfoo

Evaluate LLM outputs and run red-team tests with promptfoo.

1|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/sumik5/sumik-llm-plugin --skill evaluating-with-promptfoo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: evaluating-with-promptfoo
Source: https://github.com/sumik5/sumik-llm-plugin/tree/main/plugins/ai/skills/evaluating-with-promptfoo
Command: npx skills add https://github.com/sumik5/sumik-llm-plugin --skill evaluating-with-promptfoo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires promptfoo, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines LLM evaluation and red-teaming processes using promptfoo, a comprehensive toolkit for automated testing and adversarial assessments.

Core Features & Use Cases

  • Automated Testing: Define test cases with YAML configurations, execute evaluations, and generate detailed reports.
  • Red-Teaming: Simulate adversarial attacks on LLMs to identify vulnerabilities and weaknesses.
  • Use Case: For security teams, this Skill can be used to test LLMs for potential vulnerabilities, ensuring they comply with safety standards and policies.

Quick Start

Run the 'evaluating-with-promptfoo' skill with the provided YAML configuration file to evaluate the LLM's performance against a set of predefined test cases.

Frequently Asked Questions about evaluating-with-promptfoo

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

FAQPage Schema
How do I automate LLM evaluation and red-teaming tests?

You can automate LLM evaluation and red-teaming by defining test cases in YAML configurations, executing evaluations against defined criteria, and generating detailed reports to identify model vulnerabilities.

What is red-teaming for LLMs and when do I need it?

Red-teaming for LLMs simulates adversarial attacks to identify vulnerabilities and weaknesses in model outputs. You need it to ensure your LLMs comply with safety standards and policies before deployment.

How do I detect toxicity and enforce safety policies in LLM outputs?

You can detect toxicity and enforce safety policies by running automated evaluations with model grading against defined criteria, simulating adversarial attacks to test boundaries and ensure compliance.

Do I need promptfoo to run automated LLM evaluations?

Yes, you need promptfoo and its associated dependencies installed in your environment to execute the structured evaluation framework and generate reports.

What's the best way to test LLMs for security vulnerabilities?

The best way to test LLMs for security vulnerabilities is using a structured red-teaming framework to simulate adversarial attacks, enabling security teams to identify weaknesses and ensure safety compliance.

Can I use YAML configurations to define LLM test cases?

Yes, you can define test cases using YAML configurations to execute automated LLM evaluations and generate detailed performance reports against your predefined criteria.

Related Skills