arize-prompt-optimization

Optimize LLM prompts using production trace data and the Arize CLI.

5|6|Updated Jun 28, 2026
One-click install
npx skills add https://github.com/seldo/aiewf-2026-demo --skill arize-prompt-optimization-seldo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arize-prompt-optimization
Source: https://github.com/seldo/aiewf-2026-demo/tree/main/.agents/skills/arize-prompt-optimization
Command: npx skills add https://github.com/seldo/aiewf-2026-demo --skill arize-prompt-optimization-seldo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ax-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of optimizing and improving language model prompts by leveraging production trace data and the Arize CLI, enhancing the quality and effectiveness of AI-generated responses.

Core Features & Use Cases

  • Prompt Optimization: Utilizes production trace data to refine and debug prompts for language models.
  • Data-Driven Optimization: Runs an optimization loop using the Arize CLI to enhance prompt performance.
  • Use Case: When you need to improve the quality of AI-generated responses, this Skill can help you extract prompts from spans, gather performance signals, and optimize them based on real-world data.

Quick Start

Run the ax optimize-prompt command to begin optimizing your prompts.

Frequently Asked Questions about arize-prompt-optimization

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

FAQPage Schema
How do I optimize LLM prompts using production trace data?

You optimize LLM prompts by extracting prompts from production trace spans, gathering performance signals, and running an optimization loop via the Arize CLI to refine and debug prompts based on real-world data.

What is data-driven prompt optimization for language models?

Data-driven prompt optimization is the process of refining language model prompts using real-world production trace data. It leverages actual performance signals to systematically debug and enhance the quality of AI-generated responses.

Do I need an Arize profile to run prompt optimization?

Yes, an Arize profile and the ax CLI are required to execute prompt optimization. These dependencies are necessary to access production trace data, extract prompts from spans, and run the optimization loop.

How do I debug and refine prompts with the Arize CLI?

To refine and debug prompts with the Arize CLI, run the `ax optimize-prompt` command. This initiates an optimization loop that targets scenarios where prompt engineering is necessary for improving LLM performance.

When should I use production trace data for prompt tuning?

Production trace data for prompt tuning is necessary when you need to improve the quality of AI-generated responses based on real-world performance. It is ideal for scenarios where prompt engineering and tuning target specific LLM performance issues.