Index of every page on this site: llms.txt
All skills
Run it yourself

Behavioral differences and prompting patterns specific to Claude Opus 5, covering response verbosity, agentic narration, task scoping, subagent delegation, self-correction, and output artifacts when thinking is disabled. Use this whenever writing, tuning, or debugging a system prompt or harness targeting Claude Opus 5 — especially when migrating a prompt from a prior Opus model, when the model's responses run longer than expected, when it narrates too much or too little during agentic work, when it over-verifies or over-scopes a task, when it spawns too many or too few subagents, when it narrates minor self-corrections unnecessarily, or when running with thinking disabled produces leaked tool-call text or internal XML tags. Trigger on phrases like "tune this prompt for Opus 5," "why is Opus 5 so verbose," "Opus 5 keeps over-verifying," "control subagent spawning," "migrating from Opus 4.8," or "thinking disabled artifacts."

  • 1 file
  • 13.7 KB
  • Updated 4 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/mb1810/bergerskills/opus-5-prompting

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈239 tokens for metadata: the name and description. ≈3.3k when used: this file.

Description uses 11.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈956 characters, or 11.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Prompting Claude Opus 5 Skill

Overview

Claude Opus 5 performs well out of the box on prompts written for Claude Opus 4.8, but a specific set of behaviors shifted enough to need explicit tuning: it says more by default (both in conversation and in written files), narrates its own agentic process more, verifies and self-corrects without being asked, delegates to subagents more readily, and — only when thinking is explicitly disabled — can occasionally leak tool-call text or internal tags into visible output. None of these are capability gaps; they're default behaviors that respond well to a short, explicit instruction.

The throughline across almost every pattern below: Opus 5 already does the thing (verification, self-correction, narration, delegation) proactively and well. Legacy instructions telling it to do that thing don't add quality — they compound with behavior it already exhibits and just add cost or unwanted volume. The fix is almost always "remove the instruction telling it to do X" or "add a short instruction constraining how much/when," not "add more instructions."

When to Use

  • Writing a new system prompt or harness for Claude Opus 5
  • Migrating an existing prompt tuned for Claude Opus 4.8 or earlier
  • Debugging: responses running longer than expected, excessive step-by-step narration during agentic work, over-verification, scope creep beyond what was asked, too much or too little subagent delegation, unnecessary narration of minor self-corrections
  • Running with thinking disabled and seeing leaked tool-call text or <thinking>-style tags in visible output

When Not to Use

  • Prompting techniques that apply across all current Claude models generally — this skill is specifically about where Opus 5 diverges from prior defaults, not general prompt engineering
  • Questions about Opus 5's raw capabilities or API surface (context window size, vision, coding benchmarks) rather than how to prompt around its behavioral defaults

Core Patterns

1. Response Length and Verbosity

Opus 5's default user-facing responses run longer than prior Opus models'. The effort parameter controls how much the model thinks, not how much it says — lowering effort can reduce thinking volume without reliably shortening the visible response. Length has to be prompted for explicitly.

Short conciseness instruction (user-facing product):

Keep responses focused, brief, and concise. Keep disclaimers and caveats short, and spend most of the response on the main answer. When asked to explain something, give a high-level summary unless an in-depth explanation is specifically requested.

For a long system prompt, pair that with a short reminder near the end:

<tone_preference>
Keep outputs reasonably concise.
</tone_preference>

2. User-Facing Progress Updates (Agentic Narration)

Opus 5 narrates readily during agentic work — announcing what it's about to do, with longer per-message output than prior models. It responds well to explicit cadence-and-shape guidance rather than a blanket "narrate less."

To tune narration down:

Before your first tool call, say in one sentence what you're about to do. While working, give a brief update only when you find something important or change direction. When you finish, lead with the outcome: your first sentence should answer "what happened" or "what did you find," with supporting detail after it for readers who want it.

To tune narration up or change its style, the same lever runs in the other direction — describe the desired update shape explicitly and give positive examples of the style wanted. Positive examples of what to do outperform negative instructions about what not to do.

3. Written Deliverable Length

Separate from conversational verbosity: files Opus 5 writes to disk (reports, Markdown docs, summaries) run long by default too. If a product includes Claude-authored documents, calibrate length explicitly:

Match the length of written documents to what the task needs: cover the substance, but do not pad with filler sections, redundant summaries, or boilerplate.

4. Task Scope and Over-Verification

Opus 5 verifies its own work without being told to. Legacy prompt instructions like "include a final verification step for any non-trivial task" or "use a subagent to verify" cause over-verification on this model — remove them rather than keep them; removing reduces wasted tokens with no quality loss. The same applies to harness scaffolding that adds separate verification steps as a leftover from tuning prior models.

Opus 5 can also independently expand a task's scope, adding unrequested steps or applying its own judgment about what the task "should" include. For narrow tasks, constrain scope explicitly:

Deliver what was asked, at the scope intended. Make routine judgment calls yourself, and check in only when different readings of the request would lead to materially different work. If the request seems mistaken or a better approach exists, say so in a sentence and continue with the task as asked rather than quietly narrowing, widening, or transforming it. Finish the whole task, and stop short of actions that are clearly beyond what was asked.

5. Controlling Subagent Spawning

Opus 5 delegates to subagents more readily than prior models. Delegation pays off on genuinely independent, sizeable tracks of work, but multiplies cost and time when applied to small tasks. Give explicit guidance on when delegation is warranted, or set a deterministic cap:

Delegate to a subagent only for large tasks that are genuinely independent and parallelizable, such as a wide multi-file investigation. Do not delegate work you can finish yourself in a handful of tool calls, and do not use subagents to verify or double-check your own work. If one subagent can complete the task, use one rather than several, and keep spawn counts low.

6. Self-Correction and Correction Narration

Opus 5 catches and fixes its own mistakes well without prompting. Instructions like "double-check your answer" or "re-verify before responding" compound with behavior the model already performs — they add cost without improving results, the same failure shape as over-verification in Rule 4.

The model also narrates corrections to its own earlier statements more than prior models, which can read as noisy in user-facing products. To limit narration to corrections that actually matter:

Only correct an earlier statement when the error would change the user's code, conclusions, or decisions. State corrections plainly and briefly, then continue the task. For slips that change nothing for the user, make the fix and move on without noting it.

7. Running With Thinking Disabled

Opus 5 runs with thinking on by default, and thinking can only be disabled at effort high or below. With thinking disabled, two artifacts can occasionally leak into visible output:

  • Tool calls written as text. The model occasionally writes a tool call into user-facing text instead of a structured tool_use block. The call never runs, the turn completes normally, and the leaked text persists in conversation history — affecting later turns too. Most common on tool-heavy workloads like search.
  • Internal XML tags. The model can emit <thinking> or other internal tags into its visible response. If a system prompt tells the model not to think or not to reason, remove that instruction — it increases tag leakage rather than preventing it.

The primary mitigation for both is to keep thinking enabled and use a lower effort level for cost control instead of disabling thinking — for most tasks, thinking enabled at low effort outperforms thinking disabled at similar cost.

For integrations that must run with thinking disabled anyway, one combined instruction mitigates both artifacts:

When you use a tool, you may say a brief sentence first. If no tool can express what the user asked for, say so instead of guessing. Do not include internal or system XML tags in your response.

Naming thinking tags specifically (calling out <thinking> by name) is less effective than the general instruction above — avoid naming them.

Migration Checklist (Opus 4.8 → Opus 5)

When migrating an existing prompt, audit it against these in order:

  • Any conciseness instruction? If not and responses run long, add one (Rule 1)
  • Any narration-cadence guidance? If not and narration is too heavy or too sparse, add explicit cadence/shape guidance (Rule 2)
  • Any length calibration for written files? Add if Claude-authored documents run long (Rule 3)
  • Any legacy "verify your work" or "use a subagent to verify" instruction? Remove it — it now causes over-verification (Rule 4)
  • Any scope-narrowing needed? Add explicit scope constraint if the task is meant to stay narrow (Rule 4)
  • Any subagent delegation guidance or cap? Add if cost-sensitive or delegation is happening on small tasks (Rule 5)
  • Any legacy "double-check" or "re-verify before responding" instruction? Remove it — same over-compounding issue as verification (Rule 6)
  • Any correction-narration control needed for a user-facing product? Add if minor-slip narration is noisy (Rule 6)
  • Is thinking disabled? If so, confirm effort is high or below (required), and prefer re-enabling thinking at low effort over keeping it disabled, unless the integration specifically requires disabled thinking — in which case add the combined mitigation instruction (Rule 7)
  • Any instruction telling the model not to think or not to reason? Remove it — it increases tag leakage rather than reducing it (Rule 7)

Quick Reference — Copy-Paste Snippets

All snippets from the rules above, in one place for fast reuse:

Conciseness:

Keep responses focused, brief, and concise. Keep disclaimers and caveats short, and spend most of the response on the main answer. When asked to explain something, give a high-level summary unless an in-depth explanation is specifically requested.

Narration cadence:

Before your first tool call, say in one sentence what you're about to do. While working, give a brief update only when you find something important or change direction. When you finish, lead with the outcome: your first sentence should answer "what happened" or "what did you find," with supporting detail after it for readers who want it.

Written document length:

Match the length of written documents to what the task needs: cover the substance, but do not pad with filler sections, redundant summaries, or boilerplate.

Scope discipline:

Deliver what was asked, at the scope intended. Make routine judgment calls yourself, and check in only when different readings of the request would lead to materially different work. If the request seems mistaken or a better approach exists, say so in a sentence and continue with the task as asked rather than quietly narrowing, widening, or transforming it. Finish the whole task, and stop short of actions that are clearly beyond what was asked.

Subagent delegation cap:

Delegate to a subagent only for large tasks that are genuinely independent and parallelizable, such as a wide multi-file investigation. Do not delegate work you can finish yourself in a handful of tool calls, and do not use subagents to verify or double-check your own work. If one subagent can complete the task, use one rather than several, and keep spawn counts low.

Correction narration:

Only correct an earlier statement when the error would change the user's code, conclusions, or decisions. State corrections plainly and briefly, then continue the task. For slips that change nothing for the user, make the fix and move on without noting it.

Thinking-disabled mitigation (both artifacts):

When you use a tool, you may say a brief sentence first. If no tool can express what the user asked for, say so instead of guessing. Do not include internal or system XML tags in your response.

Effort Guidance

Start at the default (high) and adjust based on evals: use low and medium liberally as the primary lever for token cost and response time wherever quality holds, and step up to xhigh for demanding coding and agentic work. Effort defaults carried over from a prior model should be re-swept on your own evals rather than assumed to still be optimal — Opus 5's quality holds up better at lower effort than prior models', which changes where the cost/quality tradeoff sits.

One Instruction Worth Removing, Not Adding

If a review prompt says "only report high-severity issues" or "be conservative," Opus 5 may follow that literally and under-report. For code review and bug-finding, ask it to report everything and filter severity in a separate pass, rather than asking it to self-filter during the finding pass.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at ae56569. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 4 months ago

README badge

README badge for mb1810/bergerskills/opus-5-prompting