prompt-optimizer
Skill by getsentry · updated · ★ 1.1k
Creates, optimizes, and iteratively refines agent prompts, system prompts, developer prompts, and reusable prompt templates. Use when asked to improve a prompt, optimize a system prompt, rewrite an agent prompt, tune prompt wording, make a prompt more reliable, port prompts between OpenAI, Claude, or Gemini, or build prompt evals. prompt-optimizer is published by getsentry on GitHub.
Install prompt-optimizer
Built from the published package, never by AIgit clone --depth 1 https://github.com/getsentry/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/prompt-optimizer ~/.claude/skills/prompt-optimizerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/getsentry/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/prompt-optimizer ~/.gemini/antigravity-cli/skills/prompt-optimizerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
Last commit in the past day
Apache-2.0: permissive, fine for commercial use
Clear description, installs from GitHub, 1,083 stars, original repository
No risky patterns in the files we checked
Weekly newsletter
Like prompt-optimizer? Get the best new skills every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/prompt-optimizer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
SOURCES.md11 KB -
SPEC.md5 KB -
references/core-patterns.md5 KB -
references/meta-optimization-loop.md4 KB -
references/model-family-notes.md3 KB -
references/transformed-examples.md4 KB
Alternatives to prompt-optimizer
All alternatives →Use after a Codex or Claude Code feature has been implemented in Qwen Code to run the selected reference agent and Qwen Code under the same scenario, capture HTTP and terminal traces, compare request bodies, tool/function schemas, outputs, and iterate until the reproduced behavior is close enough.
Retune a skill corpus for a new model, measurement-first: mine the run archive for a baseline, establish a noise floor, audit the corpus adversarially, then cut in measured passes until a pre-registered bar clears. Requires a benchmark harness that can A/B two builds of the corpus; refuses without one.
Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars and spinners, generating bash/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.
Audit or update English SDK documentation against the requested implementation scope.
Main application building orchestrator. Creates full-stack applications from natural language requests. Determines project type, selects tech stack, coordinates agents.
Trigger: new skills, agent instructions, documenting AI usage patterns. Create LLM-first skills with valid frontmatter.
prompt-optimizer: common questions
How do I install prompt-optimizer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is prompt-optimizer free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is prompt-optimizer safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to prompt-optimizer?
Similar skills: agent-reproduce-align, ce-retune, cli-developer, docs-sync.
