agentv-prompt-optimizer

Iteratively refine AI prompt files against AgentV evaluation datasets.

15|3|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/EntityProcess/agentv --skill agentv-prompt-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentv-prompt-optimizer
Source: https://github.com/EntityProcess/agentv/tree/main/plugins/agentv-dev/skills/agentv-prompt-optimizer
Command: npx skills add https://github.com/EntityProcess/agentv --skill agentv-prompt-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the iterative process of refining AI prompts to improve their performance against specific evaluation datasets, reducing manual prompt engineering effort.

Core Features & Use Cases

  • Iterative Prompt Refinement: Automatically adjusts prompts based on evaluation results to boost accuracy and effectiveness.
  • Failure Analysis: Identifies root causes of prompt failures and suggests specific improvements.
  • Use Case: You have a prompt designed to generate marketing copy, but it's not consistently producing high-quality results. Use this Skill to automatically run it against your test cases, analyze why it's failing, and refine the prompt until it meets your desired performance.

Quick Start

Use the agentv-prompt-optimizer skill to optimize the prompt file '~/prompts/marketing.md' against the evaluation dataset '~/evals/marketing_tests.yaml'.

Frequently Asked Questions about agentv-prompt-optimizer

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

FAQPage Schema
How do I automatically optimize prompts against evaluation datasets?

To automatically optimize prompts against evaluation datasets, you need a tool that iteratively executes evaluations, analyzes failures, and applies atomic operations like ADD, UPDATE, or DELETE to refine instructions. This reduces manual prompt engineering effort by adjusting prompts based on evaluation results.

How does AI-driven iterative refinement improve prompt performance?

AI-driven iterative refinement improves prompt performance by analyzing evaluation failures to identify root causes and suggesting specific improvements. It continuously adjusts instructions through subagents that evaluate results and refine prompts until desired accuracy and effectiveness are met.

Can I infer prompt files directly from existing LLM evaluation content?

Yes, you can infer prompt files directly from existing LLM evaluation content. The optimization process analyzes your evaluation datasets to automatically infer the initial prompt files, which are then iteratively refined against those test cases.

What is the best way to analyze root causes of prompt failures in LLMs?

The best way to analyze root causes of prompt failures in LLMs is using an iterative evaluation tool that executes tests, analyzes the specific failures, and refines instructions through targeted atomic operations to resolve the identified root causes.

Do I need a specific evaluation dataset format to refine instructions automatically?

You need an evaluation dataset, such as a YAML file, to automatically refine instructions. The optimization process uses this evaluation content to infer prompt files, execute evaluations, and iteratively apply updates to improve prompt performance against the test cases.