---
name: opus-5-prompting
description: >-
  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."
title: opus-5-prompting
canonical_url: https://skilld.dev/gh/mb1810/bergerskills/opus-5-prompting
last_updated: 2026-10-06T00:04:53.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install mb1810/bergerskills/opus-5-prompting`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/opus-5-prompting`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/mb1810/bergerskills/opus-5-prompting) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/opus-5-prompting`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/opus-5-prompting --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/opus-5-prompting --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# 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):
```text
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:
```text
<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:
```text
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:
```text
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:
```text
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:
```text
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:
```text
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:
```text
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:**
```text
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:**
```text
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:**
```text
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:**
```text
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:**
```text
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:**
```text
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):**
```text
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.
