optimize-claude-sonnet-5-5-prompts

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

A guide for rewriting prompts and agent instructions for Claude Sonnet 5.5, an AI model used through an API or coding-agent setup. It focuses on clarifying intent, constraints, tool behavior, and verification.

In plain words
What is it for?
It is for improving prompts, migrating prompts from Sonnet 5, and tuning Sonnet 5.5 agent behavior such as effort, scope, progress updates, and JSON output.
Why use it?
It removes vague or outdated instructions without adding unnecessary prompt structure, helping the model follow the intended task more reliably.

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 It is for improving prompts, migrating prompts from Sonnet 5, and tuning Sonnet 5.5 agent behavior such as effort, scope, progress updates, and JSON output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ichendev/prompt-optimizer-plugins/optimize-claude-sonnet-5-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-sonnet-5-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-sonnet-5-5-prompts

README.md
[![agentmods](https://agentmods.dev/badge/skills/ichendev/prompt-optimizer-plugins/optimize-claude-sonnet-5-5-prompts/github.svg)](https://agentmods.dev/skills/ichendev/prompt-optimizer-plugins/optimize-claude-sonnet-5-5-prompts)
Your own site
<a href="https://agentmods.dev/skills/ichendev/prompt-optimizer-plugins/optimize-claude-sonnet-5-5-prompts"><img src="https://agentmods.dev/badge/skills/ichendev/prompt-optimizer-plugins/optimize-claude-sonnet-5-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-sonnet-5-5-prompts

Your own site · 80×15
<a href="https://agentmods.dev/skills/ichendev/prompt-optimizer-plugins/optimize-claude-sonnet-5-5-prompts"><img src="https://agentmods.dev/badge/skills/ichendev/prompt-optimizer-plugins/optimize-claude-sonnet-5-5-prompts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,159 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.00118 $0.03159
Opus 5.5 $0.00047 $0.01264
Sonnet 5.5 $0.00024 $0.00632
Haiku 4.5 $0.00012 $0.00316

Measured 2mo ago against content hash 481450dfd510, 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-sonnet-5-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 2mo 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-sonnet-5-5-prompts/SKILL.md · 184 lines

How it starts

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

Optimize Claude Sonnet 5.5 Prompts

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

Existing Claude Sonnet 5 prompts should perform well without changes. Most real optimization here is targeted steering for observed behavior plus removal of obsolete workarounds, not a rewrite into a larger template. For the hardest long-horizon work, prefer an Opus model or the select-claude-models skill rather than over-prompting Sonnet.

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 Sonnet 5.5 and the API model ID claude-sonnet-5-5. Treat Sonnet 5.5, sonnet-5-5, and S5.5 as spelling variants unless context indicates a different product.

When the user is choosing between Sonnet and Opus, or designing a multi-agent Opus-plans / Sonnet-executes setup, use or point to select-claude-models.

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 Sonnet 5.5 behavior the user has actually observed as a problem, and whether the prompt was carried over from Sonnet 5 or an earlier model;
  • whether the workload is everyday coding, polished documents, repeated agent tasks, latency-sensitive chat, or something that may belong on Opus instead.

Read the full file on GitHub · 184 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. 2mo ago First seen · 184 lines · 118 tokens per session scan A 481450dfd510

Subscribe to this mod's changes

optimize-claude-sonnet-5-5-prompts is a skill published in the GitHub repository IchenDEV/prompt-optimizer-plugins (7 stars, last pushed 2mo ago), licensed MIT. It adds 118 tokens to every session and 3,159 once invoked, about $0.0005 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-09-30.

Related

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

optimize-claude-sonnet-5-5-prompts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
optimize-claude-sonnet-5-5-promptsIchenDEV/prompt-optimizer-pluginsSkill72mo agoMITA118Claude Code, Codex
sol-terra-luna-auto-routerAlexAI-MCP/GPT5.6-SOLTELU-Model-InverterSkill264mo agononeA123Codex
watchSethGammon/CitadelSkill9437d agoMITA70Claude Code
pr-watchSethGammon/CitadelSkill9437d agoMITA46Claude Code
live-previewSethGammon/CitadelSkill9437d agoMITA40Claude Code
wikiSethGammon/CitadelSkill9437d agoMITA56Claude Code
gerrit-workflowGerritCodeReview/gerrit-mcp-serverSkill24todayApache-2.0A123Claude Code