claude-code - 💡(How to fix) Fix Allow per-session model and effort overrides from `claude agents` dispatch input

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

Different background tasks need different cost/performance tradeoffs:

  • Simple refactors or typo fixes may only need sonnet with low or medium effort.
  • Architecture reviews may need opus with high or max effort.
  • Debugging, review, and implementation tasks often benefit from different model/effort settings.

Fix Action

Fix / Workaround

Please support per-session model and effort overrides when dispatching a new background session from the claude agents UI.

However, once inside the claude agents UI, the dispatch input does not appear to provide a direct way to choose --model or --effort for only the next session.

Current workarounds

Code Example

claude agents --model opus --effort high

---

claude --bg --model sonnet --effort medium "..."

---

@repo --model opus --effort high investigate the root cause of this flaky test

---

/model opus /effort high review the current PR for architecture risks
RAW_BUFFERClick to expand / collapse

Feature request

Please support per-session model and effort overrides when dispatching a new background session from the claude agents UI.

Today, claude agents can be launched with defaults such as:

claude agents --model opus --effort high

And a background task can be started from the shell with:

claude --bg --model sonnet --effort medium "..."

However, once inside the claude agents UI, the dispatch input does not appear to provide a direct way to choose --model or --effort for only the next session.

Why this matters

Different background tasks need different cost/performance tradeoffs:

  • Simple refactors or typo fixes may only need sonnet with low or medium effort.
  • Architecture reviews may need opus with high or max effort.
  • Debugging, review, and implementation tasks often benefit from different model/effort settings.

Current workarounds

The current alternatives are workable but indirect:

  1. Restart claude agents with different default --model / --effort values.
  2. Create multiple custom agents with fixed model and effort frontmatter.
  3. Attach to the session after dispatch and manually run /model or /effort.

Proposed behavior

Allow model and effort to be specified directly in the dispatch input for a newly created background session.

Possible syntax examples:

@repo --model opus --effort high investigate the root cause of this flaky test
/model opus /effort high review the current PR for architecture risks

Any syntax that fits existing Claude Code UI conventions would be fine.

Expected result

A user should be able to dispatch a new background session from claude agents and override the model and effort for that specific session without leaving agent view, restarting claude agents, or relying on preconfigured custom agents.

This would make agent view much more flexible for users running multiple concurrent tasks with different complexity and cost requirements.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING