Claude Opus 4.7 Best Practices: How to Actually Get the Most Out of the Upgrade
Claude Opus 4.7 follows instructions more literally than 4.6, runs longer agentic tasks more reliably, and ships a new xhigh effort level. The practical effect: prompts that worked before may now produce surprises, and the workflows that earn the upgrade are the ones built around detailed plans, deliberate effort selection, auto mode with /fewer-permission-prompts, and explicit verification steps. Boris Cherny's day-of-launch tips are the honest playbook; this guide breaks them down with the workflows readers can apply this week.
Claude Opus 4.7 shipped on April 16, 2026 with the same price tag as Opus 4.6 and a noticeably better profile on hard software-engineering tasks. The launch covered the what -- xhigh effort, /ultrareview, auto mode for Max users, vision up to 2,576 pixels, the first cyber safeguards tier. This guide covers the how. Specifically: how to actually rework your Claude Code workflow to get the gains, grounded in Boris Cherny's day-of-launch tips (Boris is the creator of Claude Code at Anthropic, which makes his playbook the closest thing to the official one).
The honest framing from Boris himself: "Opus 4.7 feels more intelligent, agentic, and precise than 4.6. It took a few days for me to learn how to work with it effectively." That sentence is the whole article in one line. The model is better, but the workflow needs an upgrade to match.
Key Takeaways
- Detailed plans win. Opus 4.7 follows instructions literally, which means specific plans get specific results.
- Default to xhigh effort in Claude Code. The cost-quality math is meaningfully better than Opus 4.6 at the same effort level.
- Use auto mode +
/fewer-permission-promptstogether to cut interruption fatigue without losing the safety net. - Request recaps as the session progresses to keep context clean.
- Focus mode scopes what Claude attends to -- use it for big refactors and complex investigations.
- Make Claude verify its own work. A test command, a build, a check. Opus 4.7 is genuinely better at self-verification than 4.6 was.
- Re-tune your prompts. Anything that worked on 4.6 by being fuzzy may surface edges on 4.7.
The One Thing That Changed Most: Literal Instruction Following
If you only internalize one thing about Opus 4.7, internalize this: Opus 4.7 takes your instructions more literally than Opus 4.6 did. Anthropic flagged this in the launch post, Boris Cherny flagged it in his blog, and every team that has spent a few days with the model has noticed it.
Concrete example. A common Opus 4.6 prompt was something like "go through the auth module and clean it up". On 4.6, Claude would interpret "clean it up" charitably -- improve naming, factor common helpers, add tests where missing. On 4.7, "clean it up" is parsed more narrowly: it might rename a few variables and stop, because that is what the literal phrase asks for. The fuzziness that masked sloppy prompting on 4.6 is gone on 4.7.
The practical fix is not to write longer prompts -- it is to write more specific ones. "Go through the auth module and: rename single-letter variables to descriptive names, factor any duplicated session-validation logic into a single helper, and add tests for any function with no existing test." That is the same intent, made literal. Opus 4.7 will execute it cleanly.
This is also why detailed plans win on Opus 4.7. The claudefa.st guide on Opus 4.7 best practices puts it bluntly in its title: "Detailed Plans Win". The pattern Boris recommends -- and that the strongest teams have converged on -- is to spend an extra two minutes writing a multi-step plan up front, hand it to Claude, and watch it execute the plan reliably. That trade is wildly favorable: a few extra minutes of planning replaces twenty minutes of corrections.
How to actually write a detailed plan
A plan that works for Opus 4.7 reads like a set of acceptance criteria, not a set of feelings. The structure that has emerged:
- State the goal in one sentence. "Refactor the auth module so that all session validation goes through a single
validateSessionhelper." - List the files that should change (or "find them yourself", with a rule for what makes a file in scope).
- List the constraints. "Do not touch the JWT signing logic. Do not change any public API surface. Run
npm testafter each file change and revert if a test fails." - Specify the verification step. "When done, run
npm test, paste the output, and confirm all auth tests pass." - State the failure mode. "If you cannot complete the refactor without breaking a test, stop and explain what blocked you."
That structure takes maybe two minutes to write. Opus 4.7 will execute it cleanly because there is no ambiguity to interpret. Opus 4.6 would have done the same work but with more drift; Opus 4.7 does it without drift, which is the point.
Pick the Right Effort Level (and Default to xhigh)
Opus 4.7 introduces xhigh, a new effort level that sits between high and max. Claude Code defaults to xhigh on all plans now, which is significant -- the previous default was high. Boris's recommendation, and the consensus from the first week of usage:
- Default to xhigh for coding and agentic work. The token cost is meaningfully higher than high but the quality improvement is sharp.
- Reach for max only when the problem warrants it (the hardest debugging sessions, the gnarliest refactors). The cost jump from xhigh to max is real and most tasks do not need it.
- Drop to high or medium for trivial work where you do not need extended thinking (renaming variables, applying a known transformation, documenting an existing function).
The non-obvious move is to be deliberate about effort selection per turn. The default is fine for most, but a power user who flips between effort levels based on the task will get more out of the model than someone who picks once and never adjusts. Effort is the parameter, not a setting.
A working rule of thumb:
| Task type | Recommended effort | |---|---| | Quick edits, renames, docs | medium | | Standard feature work | high | | Multi-file refactors, tricky bug fixes, agentic tasks | xhigh (default) | | Adversarial debugging, novel architecture, the hardest 5% | max |
Auto Mode + /fewer-permission-prompts: The Real Productivity Combo
Auto mode is the headline change for permission management. It is the difference between "Claude asks you before every action" and "Claude decides which actions are safe to run without asking". With Opus 4.7, auto mode is now available to Max users (it was previously gated higher), which is the meaningful access change.
Auto mode is not zero-permission. It uses Claude's judgment about which actions are clearly safe (read-only operations, file edits inside the project, running tests) versus which need a check (deleting files, running external commands, hitting the network). The result for most users is a session that runs three to five times faster because you are no longer clicking "yes" on every read.
The companion is /fewer-permission-prompts, a Claude Code skill that further trims prompts on actions Claude assesses as low-risk. Together they produce a noticeable change in how a session feels:
- A typical Opus 4.6 session with default settings might prompt 30 times across a 30-minute task.
- The same task on Opus 4.7 with auto mode + /fewer-permission-prompts prompts maybe 5 times -- and only on actions that genuinely deserve a check.
The trade-off is that you are trusting Claude's judgment more. Pair it with two safeguards:
- Always work in a clean git state. If something goes wrong,
git stashorgit resetis your undo button. Do not run auto mode on top of uncommitted work you cannot afford to lose. - Read the action log periodically. Claude Code shows you what it did. Skim the log every few minutes, especially the first week. If something looks off, that is the moment to dial back.
For most teams, the right configuration after a week of practice is auto mode + /fewer-permission-prompts as the default, with explicit --ask for sensitive workflows.
Recaps: The Underused Context Discipline
A recap is a turn where you ask Claude to summarize what it has done so far in the session. Boris recommends them as a regular discipline; the Claude Code context management guide covers the underlying mechanics.
The pattern: every 10-15 turns, or after any significant chunk of work, ask Claude:
Recap what we have done in this session, what is currently in progress, and what is left to do.
What that produces:
- A clean summary of the work, written by the model that did it (often catching things you would forget).
- An anchor point for
/compact-- the recap can be the input to a deliberate compaction. - A natural decision point: continue in this session, or
/clearand start fresh with the recap as the brief.
Recaps are valuable specifically because Opus 4.7 is better at long-running work. The 1M context window means sessions can run for hours; the recap discipline keeps that long context coherent rather than letting it rot.
Focus Mode: Scope What Claude Attends To
Focus mode tells Claude to concentrate on a specific subset of files or a specific task, ignoring the rest of the context. This is the right tool for big refactors where the wider codebase context would otherwise pollute attention.
The prompt pattern:
Enter focus mode for the auth module:
src/auth/,tests/auth/, anddocs/auth.md. Ignore all other files for the rest of this session unless I explicitly mention them.
Why it matters: even with 1M context, attention is not uniform. A model "looking at" a million tokens does not weight all of them equally. Focus mode is a way to tell the model what to weight heavily and what to ignore. For tasks that span 5-10 files, focus mode produces measurably tighter results than the same task without scoping.
Make Claude Verify Its Own Work
Opus 4.7 is genuinely better at self-verification than 4.6 was. Boris's launch-day tips made this point repeatedly: always give Claude a way to verify the work it just did. The structure:
- State the work to be done.
- State what success looks like.
- State the verification step (a test command, a build, a check).
- After the work, run the verification.
- If it fails, fix and re-verify.
The verification step is what closes the loop. Without it, Claude finishes and you take its word for it. With it, Claude finishes and proves the work, then you trust the proof. The best practice is to bake verification into every non-trivial prompt:
Implement the new rate limiter as specified. Verification:
npm test rate-limitershould pass with all tests green. After implementation, run the test, paste the output, and confirm the verification passes before declaring the task done.
This pattern works because Opus 4.7 is meaningfully better at staying honest about its own outputs than prior models were. It will run the test, see the failure, fix the cause, re-run. The trust loop is tight.
The complementary pattern is /ultrareview -- a new Claude Code slash command introduced with Opus 4.7. Run /ultrareview after a chunk of work and Claude does a careful pass over the changes looking for bugs, edge cases, and design issues. Pro and Max users get three free ultrareviews to try it out. The intent is the same as the verification pattern but more thorough -- treat it as a "second opinion" before opening a PR.
Your Migration Playbook From Opus 4.6
If you are coming from a working Opus 4.6 setup, the migration is small but worth doing deliberately. The five-step playbook:
- Re-read your most-used prompts. Specifically the ones that worked on 4.6. Replace fuzzy language with specific language. "Clean it up" → "rename single-letter variables and factor common helpers". "Make it better" → "add unit tests for these three functions".
- Switch to xhigh as the default. Claude Code does this automatically; if you have your own scripts that pin effort, update them.
- Turn on auto mode + /fewer-permission-prompts for trusted workflows. Leave permission prompts on for anything sensitive.
- Add verification steps to your common prompts. Pick the three or four prompts you use most and add the "verification: ..." line.
- Adopt recaps as a discipline. Every 10-15 turns, ask for a recap. Use the output to decide whether to continue, compact, or clear.
That migration takes maybe an hour. The payoff is that the workflows you already have keep working, and the model improvements actually show up in your output rather than being silently absorbed by sloppy habits.
What This Looks Like in Your First Week
A realistic first week with Opus 4.7, day by day:
- Day 1. Update Claude Code, run a normal session, notice that defaults changed. Skim the launch post and Boris's tips.
- Day 2. First time the model takes a prompt more literally than expected. Decide to start writing more specific plans.
- Day 3-4. Try auto mode on a low-stakes task. Notice the difference. Add /fewer-permission-prompts.
- Day 5. Add verification steps to your three most-used prompts. Watch them succeed cleanly.
- Day 7. Recaps become a habit. Sessions feel cleaner. You realize you have not had to "correct" Claude on the same issue twice in days.
By end of week two, the workflow is internalized. The model's improvements -- the tighter following, the longer agentic runs, the better self-verification -- are the things you noticed; the workflow upgrades are the things that let you actually feel them.
The full Opus 4.7 launch coverage is in our launch news article; for context-management specifics that pair with these practices, see our Claude Code context management guide.
Frequently Asked Questions
Do I need to change my Opus 4.6 prompts when upgrading to Opus 4.7?
Yes, plan a migration window. Opus 4.7 follows instructions more literally than 4.6. Long-lived prompts that worked by being slightly sloppy ('do whatever makes sense') can produce surprising results because Opus 4.7 takes the slack out. Re-read your most-used prompts, replace fuzzy phrases with explicit ones, and re-tune anything that depends on Claude inferring intent from context.
What is the xhigh effort level and when should I use it?
xhigh sits between high and max in Claude Code's effort parameter. Claude Code defaults to xhigh on all plans starting with Opus 4.7. Use xhigh as the default for coding and agentic tasks; reach for max only when the problem warrants the extra tokens. The key insight is that Opus 4.7 makes better use of effort budget than 4.6 did, so xhigh produces measurably stronger results without the cost jump of max.
What is auto mode in Claude Code?
Auto mode lets Claude make decisions on your behalf instead of asking for permission on every action. It is now extended to Max users with Opus 4.7. The framing matters: auto mode is not 'no permissions ever'. It is 'Claude decides which actions are safe to run without asking, and asks when something is genuinely uncertain'. Pair it with /fewer-permission-prompts to reduce prompt fatigue further, and with explicit verification steps to keep the trust loop tight.
How does Boris Cherny actually work with Opus 4.7?
Per his April 16 launch-day blog post, Boris's pattern is: write detailed plans first, default to xhigh effort, use auto mode with /fewer-permission-prompts to cut interruptions, request recaps to compress context, use focus mode to scope what Claude attends to, and always give Claude a way to verify its own work (a test command, a build, a check) before declaring the task done. The combination is what makes Opus 4.7 feel qualitatively better than 4.6.