Skip to content

fix(browse): default to sonnet model to save tokens#59

Open
gregario wants to merge 1 commit intogarrytan:mainfrom
gregario:fix/browse-default-sonnet
Open

fix(browse): default to sonnet model to save tokens#59
gregario wants to merge 1 commit intogarrytan:mainfrom
gregario:fix/browse-default-sonnet

Conversation

@gregario
Copy link

Summary

  • Adds model: sonnet to the /browse skill frontmatter (both template and generated SKILL.md)
  • The browse skill orchestrates headless browser CLI commands — no complex reasoning required. Without an explicit model, it defaults to the user's active model (usually Opus), burning expensive tokens unnecessarily.
  • Sonnet handles this equally well at a fraction of the cost, especially for multi-step flows (navigate, click, extract, repeat).

Closes #8

Test plan

  • bun run gen:skill-docs --dry-run — all SKILL.md files FRESH (CI check passes)
  • bun test test/skill-validation.test.ts test/gen-skill-docs.test.ts — 66/66 pass
  • Manual: invoke /browse and verify it runs on Sonnet (check model in --verbose output)

🤖 Generated with Claude Code

The browse skill just orchestrates CLI commands — no complex reasoning
needed. Without a model specified, it burns Opus tokens by default.
Sonnet handles this equally well at a fraction of the cost.

Closes garrytan#8

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gregario
Copy link
Author

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

- If this code review was useful, please react with 👍. Otherwise, react with 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

browse skill: default to sonnet to save tokens

1 participant