Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

Popular Guides

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
English
简体中文English
Prompts and workflows

Claude Sonnet 5 · prompting-guide

Claude Sonnet 5 Official Prompting Methods: Effort Levels, Tool Calls, and Code Review

Sonnet 5 prompting focuses on using `effort` to control reasoning and cost first, then explicitly defining the task scope, tool-trigger conditions, and code-review phases.

Source not verifiedAnthropic Claude API and Claude Code

Prerequisites and inputs

  • task
  • tools
  • acceptance tests

Complete templates

Editorial adaptation:Claude Sonnet 5 Official Prompting Methods: Effort Levels, Tool Calls, and Code Review

Tabbit editorial adaptation; not the original source prompt
Review {{REPOSITORY}} for {{REVIEW_TASK}} at {{EFFORT_LEVEL}}; call tools only for {{TOOL_TRIGGER}}, run {{VERIFY_COMMAND}}, and format findings with {{FINDING_SCHEMA}}.

Replace before running: {{REPOSITORY}}, {{REVIEW_TASK}}, {{EFFORT_LEVEL}}, {{TOOL_TRIGGER}}, {{VERIFY_COMMAND}}, {{FINDING_SCHEMA}}

Prepare repository scope, tool schemas, and acceptance commands; use low/medium for simple checks and high/xhigh for difficult Agents. Define tool triggers, then split coverage scan, evidence verification, and fix proposals into three passes; log effort, max_tokens, tool returns, and the final diff. If thinking exhausts the budget, lower effort or raise the budget and rerun the same fixture. This supports prompting guidance, not a success-rate claim.

Read the source research notes

One-sentence takeaway

Sonnet 5 prompting focuses on using effort to control reasoning and cost first, then explicitly defining the task scope, tool-trigger conditions, and code-review phases.

Use cases

  • Suitable tasks: multi-step coding agents, tool calls, code review, structured extraction, and interactive frontend design.

  • Unsuitable tasks: migration approaches that rely on temperature/top_p/top_k to adjust style, or on manually configured extended thinking parameters from older versions.

  • Applicable model version: Claude Sonnet 5 (the documentation does not provide an API snapshot ID for the model).

  • Applicable client, agent, or API: Claude API, Claude Code, and a custom tool-calling harness.

  • Recommended reasoning levels and parameters: adaptive thinking by default; medium/low for simple tasks and high/xhigh for difficult coding or agent tasks; reserve sufficient max_tokens for thinking and tool calls. To disable thinking, use thinking: {type: "disabled"}.

Ready-to-use content

Task: [Specify the task, goal, and acceptance criteria]
Context: [Repository, constraints, relevant files, and known facts]
Tools: Call tools only when they can materially improve the result; after each call, check the returned value and continue toward the goal.
Process: Plan first, then implement; for long tasks, continuously verify the goal and perform self-checks.
Output: Provide the changes, verification results, unresolved risks, and next steps.

Coverage-first prompt for code review:

Report every issue you find, including ones you are uncertain about or consider low-severity.
Do not filter for importance or confidence at this stage - a separate verification step will do that.
Your goal here is coverage: it is better to surface a finding that later gets filtered out than to silently drop a real bug.
For each finding, include your confidence level and an estimated severity so a downstream filter can rank them.

Test/workflow steps

  1. Remove non-default sampling parameters from the API request; establish a baseline with medium first.

  2. Run the same task separately with high and xhigh, recording completion rate, number of tool calls, total tokens, and latency.

  3. For code review, split “discovery” and “verification/deduplication/ranking” into two phases, using the coverage prompt above in the first phase.

  4. For long tasks, increase max_tokens and check whether the final answer was truncated because thinking consumed the entire budget.

Original evidence and data

  • Official documentation states that Sonnet 5 enables adaptive thinking by default, with effort defaulting to high; difficult coding and agent tasks can be raised to xhigh.

  • The documentation explicitly states that manually setting thinking: {type: "enabled", budget_tokens: N} is unsupported, and that non-default temperature, top_p, and top_k values return 400.

  • The official documentation recommends reducing human back-and-forth for long tasks and providing the task, intent, and constraints all at once in the first turn to improve autonomy and token efficiency.

  • The code-review section explicitly distinguishes “coverage discovery” from subsequent verification and recommends using a small evaluation set to check recall/F1.

Scope and limitations

  • The cost/capability relationship across effort levels must be measured on your own task set; directional recommendations in the documentation should not be treated as a fixed ranking.

  • The internal process of adaptive thinking cannot be treated as a complete, auditable reasoning record; this note reuses only the externally visible parameter and workflow controls.

  • The code-review prompt increases the number of candidate issues and must be paired with independent verification and deduplication phases.

Source excerpts or observations (short compliant quotations only)

  • Official example: “Provide concise, focused responses.”

  • The official documentation summarizes Sonnet 5 as a more agent-oriented Sonnet and specifically discusses effort, tool triggering, code review, and computer use.

Source and dates

Anthropic Claude Platform Docs · Source date: 2026-06-30 · Edited: 2026-09-20

Read the original source
Variable checklist

Still to replace: 6

{{REPOSITORY}}{{REVIEW_TASK}}{{EFFORT_LEVEL}}{{TOOL_TRIGGER}}{{VERIFY_COMMAND}}{{FINDING_SCHEMA}}

Related prompts

Cursor Official Docs: Claude Sonnet 5 Model Integration, Usage Pools, and Agent Tool ConfigurationReddit Community: Tiered Model Routing with Opus Planning and Sonnet 5 Batch ExecutionReddit Community: Claude Sonnet 5 Response Truncation and Thinking Token Configuration Troubleshooting GuidePromptsRush: Claude Sonnet 5 Production-Grade Agent Workflow Decomposition and System Prompt Templates

Related reviews

Claude Sonnet 5 Official Release: Agent Capabilities, Pricing Tiers, and Safety BoundariesEndor Labs Independent Benchmark: Functional Correctness and Security Fix Performance of Claude Sonnet 5 with Claude CodeCodeRabbit Production Field Report: In-Depth Comparison of Claude Sonnet 5 in Code Generation and PR Review QualityVellum Benchmark Cross-Comparison: Claude Sonnet 5 Six Major Benchmark Scores, Tokenizer Changes, and Cost Analysis

Read the full analysis

Overview · English

Claude Sonnet 5: What Changed and How to Get Access

A sourced guide to Claude Sonnet 5, its changes from Sonnet 4.6, current access routes, limits, cost boundary and practical fit.

Claude Sonnet 5

Use Claude Sonnet 5 in Tabbit

Run this guide in the environment listed above. Downloading does not transfer the template or establish model availability for your account.