Test AI with promptfoo
From the repo · “Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative configs with command line and CI/CD integration. Used by OpenAI and Anthropic.”
Scan AI systems for security vulnerabilities
"A founder, Alex, wants to validate the security of their AI-powered customer service chatbot. Alex imports their chatbot model into promptfoo, creates a simple configuration, and runs a vulnerability scan. The result is a detailed report highlighting potential security issues for Alex to address."
- •When building an AI product and want to validate prompt reliability
- •Before deploying a RAG (retrieval-augmented generation) system to ensure quality
- •When comparing performance across different AI models and configurations
promptfoo eval -c config.yaml
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
A prompt/skill package — nothing to install beyond adding it to your AI tool.
mkdir -p ~/.claude/skills/promptfoo && curl -fsSL https://workflowstacks.com/api/skills/promptfoo/claude-skill -o ~/.claude/skills/promptfoo/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Test AI with promptfoo is a very large TypeScript project (~469k lines across 2019 code files, plus 968 test files). You install it into your AI tool with one command; there is nothing to run yourself. Last commit this month, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2AGENTS.mdThe instructions the AI actually follows
- 3src/main.tsWhere the program starts running
- 4src/index.tsInside src/ — the main logic begins here
- 5examples/AGENTS.mdA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
A prompt/skill package — nothing to install beyond adding it to your AI tool.
mkdir -p ~/.claude/skills/promptfoo && curl -fsSL https://workflowstacks.com/api/skills/promptfoo/claude-skill -o ~/.claude/skills/promptfoo/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/promptfoo?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
GitHub MCP config
Search repos, read code, open issues and PRs from Claude.
Free n8n templateWeekly Client Report
Every Monday, turn the week’s metrics into a clear client-facing narrative report — what happened, why, what’s next — and email it automatically.
Outcome guideAutomate your weekly client reports
Keep each client’s metrics in a Google Sheet. Every Monday the workflow reads the week’s numbers, writes a plain-English narrative — what moved, why, and what’s next — and emails it to the client.
Related skills
More devtools tools founders pair with this one.