optimize-claude-opus-5-prompts

optimize-claude-opus-5-prompts is a skill for Claude Code, Codex from IchenDEV/prompt-optimizer-plugins. It costs 95 tokens per session (3,008 once invoked), scanned A, original, MIT.

A prompt-editing skill for clarifying and rewriting prompts intended for Anthropic’s Claude Opus 5 model.

In plain words
What is it for?
Use it to improve, debug, migrate, or design Claude Opus 5 prompts and agent instructions using Anthropic’s official guidance.
Why use it?
It helps remove ambiguity and preserve important constraints when a prompt is rough, outdated, or being moved to that model.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions subagents.

Part of the prompt-optimizer plugin — 11 skills shipped together

Good fit Use it to improve, debug, migrate, or design Claude Opus 5 prompts and agent instructions using Anthropic’s official guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ichendev/prompt-optimizer-plugins/optimize-claude-opus-5-prompts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add IchenDEV/prompt-optimizer-plugins --skill optimize-claude-opus-5-prompts
Clone the repo
git clone --depth 1 https://github.com/IchenDEV/prompt-optimizer-plugins

Made for: Claude Code, Codex.

Or install prompt-optimizer, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for optimize-claude-opus-5-prompts

README.md
[![agentmods](https://agentmods.dev/badge/skills/ichendev/prompt-optimizer-plugins/optimize-claude-opus-5-prompts/github.svg)](https://agentmods.dev/skills/ichendev/prompt-optimizer-plugins/optimize-claude-opus-5-prompts)
Your own site
<a href="https://agentmods.dev/skills/ichendev/prompt-optimizer-plugins/optimize-claude-opus-5-prompts"><img src="https://agentmods.dev/badge/skills/ichendev/prompt-optimizer-plugins/optimize-claude-opus-5-prompts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for optimize-claude-opus-5-prompts

Your own site · 80×15
<a href="https://agentmods.dev/skills/ichendev/prompt-optimizer-plugins/optimize-claude-opus-5-prompts"><img src="https://agentmods.dev/badge/skills/ichendev/prompt-optimizer-plugins/optimize-claude-opus-5-prompts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.03008
Opus 5.5 $0.00038 $0.01203
Sonnet 5.5 $0.00019 $0.00602
Haiku 4.5 $0.00010 $0.00301

Measured 1mo ago against content hash 5bd5412e9d22, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

optimize-claude-opus-5-prompts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/prompt-optimizer/skills/optimize-claude-opus-5-prompts/SKILL.md · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Optimize Claude Opus 5 Prompts

Turn rough ideas and existing prompt stacks into copy-ready prompts for Claude Opus 5. Preserve the user's intent and hard constraints, clarify genuinely blocking gaps, and keep the result no more elaborate than the task requires.

Opus 5 performs well out of the box on prompts written for Claude Opus 4.8. Most real optimization here is subtractive plus a few targeted behavior instructions, not a rewrite into a larger template.

Use the official basis

Read references/official-guidance.md for model-specific rationale, runtime settings, and migration details. Read references/snippets.md for the copy-ready instruction blocks from Anthropic's guide. Treat the listed URLs as canonical and the prose as a dated working summary; fetch the live pages before making claims about current model IDs, parameters, availability, limits, or pricing.

Use the official model name Claude Opus 5 and the API model ID claude-opus-5. Treat Opus5, opus-5, and O5 as spelling variants unless context indicates a different product.

Follow the workflow

1. Capture the prompt contract

Identify the following from the user's message, pasted prompt, or referenced file:

  • the user-visible outcome and why it matters;
  • the inputs, source material, and context Claude will receive;
  • hard constraints, facts, policies, and values to preserve;
  • the required output, audience, language, and level of detail;
  • tools, evidence, or verification the task genuinely depends on;
  • whether Claude should assess, recommend, draft, implement, or take external action;
  • authorized actions and actions that require approval;
  • stopping and fallback behavior when a dependency is unavailable;
  • which Opus 5 behavior the user has actually observed as a problem, and whether the prompt was carried over from Opus 4.8 or an earlier model.

Treat these as diagnostic dimensions, not mandatory prompt sections. Keep a simple prompt simple.

Read the full file on GitHub · 179 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -87 tokens per session 5bd5412e9d22
  2. 2mo ago First seen · 179 lines · 182 tokens per session scan A 98a26b54de74

Subscribe to this mod's changes

optimize-claude-opus-5-prompts is a skill published in the GitHub repository IchenDEV/prompt-optimizer-plugins (6 stars, last pushed 1mo ago), licensed MIT. It adds 95 tokens to every session and 3,008 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

optimize-claude-opus-5-prompts compared with skills from other repositories

optimize-claude-opus-5-prompts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
optimize-claude-opus-5-promptsIchenDEV/prompt-optimizer-pluginsSkill61mo agoMITA95Claude Code, Codex
instructorOrchestra-Research/AI-Research-SKILLsSkill14k26d agoMITA41Claude Code
build-dotnet-agent-servicegaelic-ghost/socketSkill92mo agoApache-2.0A36Claude Code
prompt-mininidhinjs/prompt-miniSkill307mo agoMITA37Claude Code
analyze-promptrayapatiranjithai/prompt-analyzerSkill13mo agoMITA64Claude Code
gpt-5-6-prompt-enginewp-a/gpt-5.6-prompt-engineSkill43mo agoMITA58Codex
prompt-reportrayapatiranjithai/prompt-analyzerSkill13mo agoMITA60Claude Code