Skip to content

[feat] “Let Claude Think First” Prompt for Sonnet & Haiku #2499

@dsnehitha

Description

@dsnehitha

Describe the feature

While trying out Onlook last week, I noticed responses from Claude Sonnet and Haiku are a little sluggish. Digging into Anthropic’s docs, I realised why: by default, Claude Opus gives a pause to think before it uses tool use query to determine necessary tools, but Sonnect and haiku don't - these two models are prompted to fire off tool calls as much as possible (~unnecessary tool calls). That guess-first mindset adds latency, burns tokens, and sometimes derails the flow.

Anthropic recommends a light “chain-of-thought” guardrail that makes the model think before tool calling.

I’d like to add a ~150-200-word version of this prompt to Sonnet/Haiku’s system messages.

Outcome: fewer tool calls, faster answers, happier users.

Let me know if you’re on board, and I’ll spin up a PR!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions