
prompt-optimizer
Creates, optimizes, and iteratively refines agent prompts, system prompts
by getsentryFree
Description
prompt-optimizer is an agent skill from Sentry's skills repository for writing and improving prompts for AI agents. It creates, optimizes and iteratively refines agent prompts, system prompts, developer prompts and reusable prompt templates, and its stated approach is to optimize prompts with evals while keeping every instruction, example and reference to outside context causal. To save context, the skill loads only the reference files a task needs: core patterns, model-family notes and worked examples for a new prompt; a meta-optimization loop for an existing prompt or repeated failures; model-family notes when porting a prompt to another model family; and transformed examples for a weak or ambiguous draft. Its first step records the prompt's contract before any editing begins. Install: npx skills add https://github.com/getsentry/skills --skill prompt-optimizer…
Highlights
- Creates and refines system, developer and agent prompts
- Eval-driven optimization loop
- Model-family notes for porting prompts
- Loads only the reference files a task needs
Ratings & Reviews
No ratings yet
Be the first to rate prompt-optimizer.
People also visit

finalize-agent-prompt
Polish and refine agent prompt files against proven best practices
prompt-optimizer FAQ
What does prompt-optimizer do?
It creates, optimizes and iteratively refines agent prompts, system prompts, developer prompts and reusable prompt templates, using evals.
How does it decide what to read?
It loads reference files by need: for example core patterns and examples for a new prompt, a meta-optimization loop for an existing prompt, and model-family notes when porting between models.
What is the first step?
Capturing the prompt's contract, recorded before any editing.
How do I install it?
Run: npx skills add https://github.com/getsentry/skills --skill prompt-optimizer
What were the security audit results?
On skills.sh: Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best prompt-optimizer alternatives?
Popular alternatives to prompt-optimizer include prompt-engineering, prompt-engineer and prompt-master. See all prompt-optimizer alternatives














