Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Claude Code's effort parameter is something you need to keep in mind before starting any task It's not just about picking the right model anymore (Haiku, Sonnet, Opus). Now you also need to think about which effort level to use before each task. One tip I always go back...

66,147 görüntüleme • 7 ay önce •via X (Twitter)

0 Yorum

Yorum bulunmuyor

Orijinal gönderinin yorumları burada görünecek

Benzer Videolar

THIS IS F*CKING BRILLIANT. Anthropic’s docs describe one of the smartest ways to run Opus three models work on one task and each does only the part it’s cheapest at. start Claude Code like this: claude -> model sonnet -> advisor opus you stop paying Opus prices for work that doesn’t need Opus > Sonnet runs the session and edits the code > Haiku 5.5 searches the repo and docs, at up to 40x less per token than Opus 5.5 > Opus waits as the advisor and reads the whole session, tool calls included Claude usually calls Opus at three points: > before it locks a plan > when the same error comes back > right before it says it’s done Sonnet drives. Haiku scouts. Opus signs off and if you go one step lower, most of an agent’s day is tiny choices like picking a file or a tool, or deciding whether to retry. Jev takes those first, so Sonnet and Opus only see the moments that are really open the whole setup Sonnet runs the main session Explore on Haiku 5.5 searches and pulls docs, read-only Opus on call as the advisor give Claude Code this setup and the prompt below ↓ “Set up my Claude Code exactly like this: Main model Sonnet, advisor Opus, saved as advisorModel in my settings. One read-only subagent named exactly Explore, on claude-haiku-5-5, to replace the built-in one. One line in CLAUDE.md: ask the advisor before locking a plan, after the same error twice, and before calling a task done, not more often. Check what could turn the advisor off (CLAUDE_CODE_DISABLE_ADVISOR_TOOL, DISABLE_TELEMETRY) and only report it. Show every change as a diff first. Don’t edit anything until I say go.” before you turn it on: every advisor call re-reads the whole transcript with no cache. on a 200k session that’s about $0.80 in input, against $0.04 for a normal request. keep it to a few calls the built-in Explore agent runs on your main model unless a subagent is named exactly Explore. any other name does nothing turning the advisor on or off keeps your prompt cache. switching models rebuilds it it needs the Anthropic API, and it stays off if telemetry is disabled bookmark it before your next long session

rvaniaaa

62,223 görüntüleme • 17 gün önce

This is f*cking insane. This tip saved me thousands of dollars. run Opus 5.5, Sonnet 5.5, and Fable 5.1 together, and stop burning Opus on work it was never needed for. the whole idea in one line: the strong model plans, the mid-tier model executes, Fable stays quiet until it's actually needed. roles, broken down: Opus 5.5, high effort, owns the plan and ships the final code Sonnet 5.5, medium effort, splits into explorer (reads the codebase), worker (edits files, runs tests), researcher (pulls docs) Fable 5.1, called through /advisor fable, reads everything happening in the session but stays silent unless something's actually wrong three moments where Fable speaks: → a plan goes out: is this actually the right call? → the same failure shows up again: is the search going nowhere? → the task gets marked finished: did something get skipped? Jev engineering does the same thing one level down. the forks that don't need real thought, which file, which tool, keep going or stop, go straight to Jev and come back in under half a second. the big models only ever see the forks that genuinely need a decision. anyone still running one model for everything is paying Opus prices to decide whether a file exists. drop this into Claude Code: "Rebuild my Claude Code setup around this structure: Look through ~/.claude/agents and .claude/agents for subagents already covering explorer, worker, and researcher. Only create new ones for roles that are missing. Set model: sonnet, effort: medium on each. If an existing subagent is locked to a different model, leave it as is and just list it. In ~/.claude/settings.json, set effortLevel to high and advisorModel to fable. Check for anything disabling the advisor, CLAUDE_CODE_DISABLE_ADVISOR_TOOL, DISABLE_TELEMETRY, or anything blocking feature-flag fetches, plus CLAUDE_CODE_EFFORT_LEVEL, which can override subagent effort settings. Report what you find. Don't change any of it yet. Add one line to ~/.claude/CLAUDE.md: check in with the advisor before a big plan, when the same error shows up twice, and before marking a long task done. Show every change as a diff first. Wait for my go-ahead before touching anything."

rvaniaaa

254,899 görüntüleme • 28 gün önce

Claude Code tip: if Opus 5.5 is already your main model, Fable 5.1 has been sitting idle this whole time. wire it in with /advisor start it with /advisor fable Opus 5.5 writes every line. Fable 5.1 reads the whole session, every tool call, and says nothing until one of three moments: → a plan gets proposed: is this actually the right move, or just the first one? → the same error comes back twice: is the search stuck, or is this a dead end? → the task gets marked done: what got missed while it was moving fast? Opus 5.5 ships. Fable 5.1 catches what would've shipped broken. Jev engineering makes the same move one layer down: forks that don't need a real thinker, which file, which tool, retry or give up, get routed to Jev and answered in under half a second. the expensive model only ever sees the forks that genuinely split. the tree this runs on: > Opus 5.5, high effort, owns the main session > explorer, medium effort, reads the code > worker, medium effort, edits and runs tests > researcher, medium effort, pulls the docs > Fable 5.1 outside all of it, on call, never writing a line itself drop the tree and this prompt into Claude Code: "Rebuild my Claude Code setup around this tree: 1. Look in ~/.claude/agents and .claude/agents for subagents that already cover explorer, worker and researcher. Draft new ones only for roles that are missing. Set each to model: opus, effort: medium. If an existing subagent is pinned to a different model, list it, don't touch it. 2. Set the main session's effortLevel to high in ~/.claude/settings.json, and set advisorModel to fable. 3. Check for anything disabling the advisor: CLAUDE_CODE_DISABLE_ADVISOR_TOOL, DISABLE_TELEMETRY, any variable blocking feature-flag fetches, and CLAUDE_CODE_EFFORT_LEVEL, which overrides subagent effort. Report what you find. Change nothing yet. 4. Add one line to ~/.claude/CLAUDE.md: consult the advisor before a large plan, when an error repeats, and before marking a long task done. Show every change as a diff first. Don't touch anything until I say go."

Ryven

36,121 görüntüleme • 29 gün önce

THIS IS PURE F*CKING PLATINUM Anthropic just shared a Claude Code setup that stops you from wasting expensive models on work cheaper ones can handle idea: let Sonnet write the code, Haiku handle the exploration, and Opus review the decisions that actually matter you just start Claude Code like this: `claude --model sonnet --advisor opus` here's how it splits: → Sonnet 5 runs the session and writes the code → Haiku 5.5 explores files and docs in parallel → Opus 5.5 stays on call as advisor for the big decisions → you stop burning Opus context on tasks that don't need it Opus only steps in at three moments: → before a plan locks → when the same error hits twice → before calling it done Sonnet builds. Haiku explores. Opus reviews. JEV engineering is the same move one layer down: the forks that need no thinker (which file, which tool, retry or stop) go to JEV in milliseconds, and the big models only see the ones that split full tree > Sonnet 5 runs the main session and edits code > search maps the repo on Haiku 5.5 > grep finds call sites on Haiku 5.5 > docs pulls the API reference on Haiku 5.5 > Opus 5.5 on call as advisor, reads the full transcript when consulted > JEV routes micro-forks in milliseconds paste the tree and this prompt into Claude Code ↓ "Reconfigure my Claude Code setup around this tree: 1. Run the main session on Sonnet 5 with Opus 5.5 as advisor. 2. Create three read-only Haiku 5.5 subagents: search (maps the repo), grep (finds call sites), docs (pulls the API reference). 3. Add one rule to CLAUDE.md: consult the advisor before locking a plan, after the same error twice, and before calling a task done. 4. Route fast deterministic forks (tool choice, path selection, retries) through JEV. Show me every change as a diff first. No edits until I say go." ↳ save it, it'll come in handy

Livsun

12,272 görüntüleme • 18 gün önce

THIS IS AN ABSOLUTE GOLDMINE The team at Anthropic just revealed one of the most effective techniques for Claude Code The core concept: run Sonnet, Haiku 5.5, and Opus 5.5 simultaneously, letting each model focus strictly on what it does best You get higher quality output while dramatically reducing token consumption, since every specific job gets routed to the optimal model To spin up Claude Code with this setup, simply execute: ⁠claude --model sonnet --advisor opus⁠ Here is how the workload is split: > Sonnet 5.5 handles the primary session, writes code, and applies bug fixes > Haiku 5.5 scans the codebase in parallel: performing searches, running grep queries, exploring docs, and auditing diffs > Opus 5.5 acts as an on-demand advisor for critical decisions and approves final code diffs > You stop burning expensive Opus context on routine tasks that don't require high-level reasoning Opus intervenes exclusively during three specific scenarios: > Right before locking in an execution plan > Whenever the exact same error triggers twice in a row > Prior to marking a task as complete Sonnet builds. Haiku scans and explores. Opus reviews JEV engineering applies the exact same principle one layer deeper: routine execution forks that don't need high-level reasoning (determining which file to inspect, which tool to trigger, or whether to retry or stop) are processed by JEV in sub-milliseconds, leaving big models to handle only complex decision splits The full architectural tree: Sonnet 5.5 manages the primary session and modifies code Search maps out the repository structure via Haiku 5.5 Grep locates call references using Haiku 5.5 Docs fetches API specifications through Haiku 5.5 Opus 5.5 serves as an advisor, reading the complete conversation history whenever consulted JEV routes lightning-fast micro-forks in milliseconds Feed this tree structure alongside the prompt below into Claude Code Reconfigure my Claude Code workspace based on this architecture: 1. Run the primary session utilizing Sonnet 5.5, with Opus 5.5 designated as the advisor 2. Set up three read-only Haiku 5.5 subagents: search (maps out the repo), grep (locates call sites), and docs (retrieves API documentation) 3. Insert a single rule into CLAUDE.md: consult the advisor prior to committing to a plan, after encountering an identical error twice, and before marking a task as done 4. Direct rapid, deterministic decisions (tool selections, file paths, retries) through JEV. Show all modifications as a diff first. Do not execute any edits until I grant permission Bookmark this setup: it will become a daily driver in your workflow

Bober_smart

25,551 görüntüleme • 5 gün önce

By tomorrow, everyone will be using this: Anthropic just revealed the ultimate power move for Claude Code The concept: have Opus 5.5 design the master plan as a script, then deploy parallel swarms of the new Haiku 5.5 Massive scale operations with zero wasted Opus compute: the script manages the execution loop so Opus only reviews the final diff Simply boot up Claude Code with these parameters: claude --model opus --effort ultracode Here is the task distribution: -> Opus 5.5 translates your target into a fully runnable workflow script -> Haiku 5.5 scans all files concurrently at 340 tokens/sec to spot candidates -> Sonnet 5.5 applies each patch and validates findings within an isolated workspace -> You eliminate wasting Opus context on dozens of agent log transcripts Opus is involved at only three specific steps: -> writing the initial workflow script before execution -> analyzing verified results once the swarm wraps up -> giving final approval prior to committing any code to git Opus architects | Haiku audits | Sonnet delivers JEV engineering applies the exact same principle a level deeper: logic paths that require no deep reasoning (choosing files, picking tools, handling retries/stops) pass through JEV in milliseconds, leaving heavy models to focus only on complex branches The complete architecture: Opus 5.5 orchestrates the core session and generates workflow.js pipeline() fans out instances of Haiku 5.5 to inspect every file parallel() schema validators eliminate false alarms directly in V8 Sonnet 5.5 applies fixes within dedicated, isolated worktrees verify double-checks all code diffs prior to summary generation Opus 5.5 processes exclusively the results that survived validation JEV routes lightweight micro-decisions in milliseconds Feed this architecture and prompt directly into Claude Code Reconfigure my Claude Code setup following this tree: 1. Execute the primary session using Opus 5.5 with ultracode enabled 2. Assign read-only scanning phases to Haiku 5.5 across all workflows, while routing code modification steps to Sonnet 5.5, running each edit inside its own isolated copy 3. Update CLAUDE.md with a new rule: assign a separate verifier agent to every issue before reporting, and terminate fix loops after two iterations without progress 4. Route fast, deterministic branching (tool selection, path routing, retry logic) via JEV Present every modification as a diff upfront do not execute changes until approved Bookmark this to stay one step ahead

Bober_smart

32,522 görüntüleme • 12 gün önce