Improves the performance of an LLM prompt. Use when the user wants better accuracy, fewer tokens, few-shot examples, chain-of-thought, or structured output from a prompt, or asks to benchmark prompt variants against a test set.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Prompt Optimizer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/shahshrey-prompt-optimizer)
---
name: prompt-optimizer
description: Improves the performance of an LLM prompt. Use when the user wants better accuracy, fewer tokens, few-shot examples, chain-of-thought, or structured output from a prompt, or asks to benchmark prompt variants against a test set.
---
# Prompt optimizer
Measure the prompt on the test set, change one thing, and measure again.