Optimize prompts for Claude's latest models (Opus 4.8, Opus 4.7, Opus 4.6, Sonnet 4.6, Haiku 4.5) using Anthropic's official prompt-engineering guidance. Use when users want to improve, refine, debug, or create prompts or system prompts for Claude. Triggers include requests to optimize/fix/refine a prompt, make a prompt more effective, write a system prompt, improve instruction following, control verbosity or output formatting, tune effort or thinking depth, fix tool-use/agentic/subagent behavior, migrate prompts to a newer Claude model, or migrate away from prefilled responses. Also use when users report Claude being too verbose, ignoring or partially applying instructions, over- or under-using tools, overthinking, overengineering, spawning too many subagents, hallucinating about code, or producing generic "AI slop" output.
$npx -y skills add aznatkoiny/zai-skills --skill prompt-optimizerInstalls into the current project.
Run `npx skills use "https://github.com/aznatkoiny/zai-skills" --skill "aznatkoiny/zai-skills/prompt-optimizer"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/aznatkoiny/zai-skills" that are relevant to the current task. Run `npx skills add "https://github.com/aznatkoiny/zai-skills"` and select the relevant skills, then follow their instructions.