New advertisers: 50% off your first month with code FIRSTMONTHSee slots
arize-ai avatar

Arize Prompt Optimization

Skill that optimizes LLM prompts from production trace data, evaluations, and annotations using the ax CLI.

skills.sh installs
3.5K
GitHub stars
74
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers extracting prompts from LLM spans, gathering performance signal, and running a data-driven optimization loop
  • Reads structured chat messages, prompt templates, and input/output values from OpenInference span attributes
  • Uses annotation and eval columns, especially eval explanations, to guide which prompt changes to make
  • Designed for teams debugging output quality or doing prompt tuning on traced production LLM applications

Install

$ npx -y skills add arize-ai/arize-skills --skill arize-prompt-optimization -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Arize Prompt Optimization Skill

SPACE — --space flags accept a space name (e.g., my-workspace) or a base64 space ID (e.g., U3BhY2U6...). Confirm a known name with ax spaces get NAME; ax spaces list is for human browsing.

Related skills

  • arize-prompts: Create, version, and label prompts in Prompt Hub with ax prompts (JSON messages, providers, labels such as production). Use that skill when the artifact should live in Arize; use arize-prompt-optimization below to improve prompt text from traces, datasets, and experiments.

Concepts

Where Prompts Live in Trace Data

LLM applications emit spans following OpenInference semantic conventions. Prompts are stored in different span attributes depending on the span kind and instrumentation:

Details

Repository
github.com/arize-ai/arize-skills
Categories
AI Agents & LLM Apps, Data Science & Analytics
First seen
May 16, 2026

More from arize-ai/arize-skills

All 12

Similar to Arize Prompt Optimization

More AI Agents & LLM Apps