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 4.6 · workflow

Claude Code: Sonnet 4.6 Engineering Architecture and Subagent Division

Follow a task-specific guide for “Claude Code: Sonnet 4.6 Engineering Architecture and Subagent Division”; prerequisites, steps, checks, fixes, and source boundaries are explicit.

Source not verifiedClaude API, Claude Code, or an Anthropic-compatible runner

Prerequisites and inputs

  • Task-specific source files
  • Tool allowlist and permissions
  • Output schema
  • Acceptance evidence

Prerequisites\nClaude Code multi-agent split: assign exploration, implementation, and testing to bounded roles and merge verified artifacts only.\n\n## Task-specific steps\nPin a commit, give each subagent only needed files and checks, compare parallel and serial runs, and test the final diff.\n\n## Output and acceptance\nPin a commit, give each subagent only needed files and checks, compare parallel and serial runs, and test the final diff.\n\n## Source and boundary\nClaude Code open engineering material; routing and features change with versions.

Read the source research notes

One-sentence takeaway

In large code repositories, configuring a three-stage Subagent workflow of "architecture planning (Planner) - branch implementation (Worker) - independent verification (Tester)" lets Sonnet 4.6 advance module development in parallel within isolated contexts, avoiding context pollution and hallucination spread.

Use cases

  • Suitable tasks: Multi-file feature iteration across microservices or monolithic monorepos, test suite completion, and smooth dependency library upgrades.

  • Unsuitable tasks: Tiny edits such as renaming a single variable in one file (a single agent is more efficient).

  • Applicable model versions: Claude Sonnet 4.6 (claude-sonnet-4-6).

  • Applicable clients, agents, or APIs: Claude Code CLI and multi-agent orchestration frameworks built on the Claude API.

  • Recommended reasoning tier and parameters: Set effort=high in the Planner stage for full reasoning; set effort=medium in the Worker and Tester stages for fast code output and verification.

Ready-to-use content

Claude Code project root CLAUDE.md configuration template

# Project Engineering Guidelines (Sonnet 4.6 Optimized)

## Role & Subagent Hierarchy
- **Main Session (Planner)**: Responsible for reading issues, analyzing dependencies, and generating `.agent/tasks.json`. Does NOT write application code directly.
- **Worker Subagent**: Spawned per task. Receives isolated file context, writes minimum necessary diff, and reports modified lines.
- **Tester Subagent**: Executes test suite (`npm test -- -t <pattern>`), audits type coverage (`npm run typecheck`), and reports blocker issues.

## Execution Rules
1. Never edit more than 3 related files in a single turn.
2. Before writing code, use `grep_search` and `find_by_name` to confirm current project state; do not assume function signatures.
3. Every code change must be accompanied by a unit test or integration assertion.
4. If typecheck fails after an edit, revert and analyze rather than endlessly patching imports.

## Build & Test Commands
- Typecheck: `npm run typecheck`
- Unit Test: `npm test`
- Lint: `npm run lint`

Subagent task delegation prompt template

<task_delegation>
  <subagent_role>Worker-FeatureImplementer</subagent_role>
  <objective>
    Implement a JWT-based two-factor token refresh API for the user service module.
  </objective>
  <constraints>
    <item>Only modify src/auth/token.service.ts and src/auth/token.controller.ts</item>
    <item>Keep the existing TokenPayload interface backward compatible</item>
    <item>Do not modify package.json or introduce dependencies beyond third-party cryptography libraries</item>
  </constraints>
  <context_files>
    <file path="src/auth/interfaces/payload.ts" />
    <file path="src/auth/token.service.ts" />
  </context_files>
  <acceptance_criteria>
    <criterion>Pass all unit tests in src/auth/token.service.spec.ts</criterion>
    <criterion>No TypeScript type-check errors (npm run typecheck exit code 0)</criterion>
  </acceptance_criteria>
</task_delegation>

Test/workflow steps

  1. Architecture breakdown: The main-session Planner scans the code directory and outputs an execution plan and dependency topology.

  2. Delegate subtasks: The main session launches isolated Worker instances via the Subagent tool, passing target file paths and restricted context.

  3. Isolated development: The Worker reads files, generates diffs, and writes to disk in its dedicated context window.

  4. Automated acceptance: The Tester instance runs tests and static checks, returning only success status or detailed error traces to the main session.

  5. Main-session consolidation: After the Planner confirms all acceptance criteria are met, it submits a Git commit.

Original evidence and data

  • Developer real-world test data: In a large TypeScript project with 500,000 lines of code, the Subagent isolated workflow reduced token consumption by 38% compared with single-session continuous operation, and cut the rate of repetitive edits caused by context bloat by 64%.

  • Official preference testing: In Claude Code real-task evaluation, Sonnet 4.6's fast first-token latency (~45-60 tok/s) and high instruction adherence led 70% of participants to rate daily development experience as better than the previous generation.

Scope and limitations

  • Subagents cannot directly share in-memory variables; cross-task data must pass through the filesystem or structured JSON messages from the main agent.

  • Multiple Subagents editing the same file in parallel causes write conflicts; the main agent must schedule file-ownership locks.

Source excerpt or observation (short compliant paraphrase only)

Open-source engineering practice summary: "Separating reasoning into a planner and code execution into dedicated worker agents minimizes context bloat and maximizes Sonnet 4.6's precision." (engineering practice summary citation)

Source and dates

GitHub / Claude Code Architecture & Best Practices · Source date: 2026-03-05 · Edited: 2026-09-20

Read the original source
Variable checklist

No required variables

Related prompts

Clear Instructions, XML Context, and Self-Checking for Claude Sonnet 4.6Claude Sonnet 4.6: Computer Use Tool Definitions and Automated Closed-Loop WorkflowClaude Sonnet 4.6: 1M Long Context and Context Compaction Architecture ConfigurationClaude Sonnet 4.6 Enterprise Legacy Code Refactoring and Multi-Step Migration Prompt

Related reviews

Claude Sonnet 4.6 Official Release: Coding, Computer Use, and Agent BenchmarksOSWorld-Verified Independent Review: Claude Sonnet 4.6 Computer Use and GUI Task Deep AnalysisBrowser Use BU Benchmark: Sonnet 4.6 Browser Agent 62%Harvey Legal Agent Bench: Sonnet 4.6 Full-Pass Rate 4.2%

Read the full analysis

Overview · English

Claude Sonnet 4.6: What It Is, Pricing, Access, and the Sonnet 5 Migration Question

A sourced overview of Claude Sonnet 4.6’s 1M context, $3/$15 API pricing, active-legacy lifecycle, access routes, and migration trade-offs.

Claude Sonnet 4.6

Use Claude Sonnet 4.6 in Tabbit

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