Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2e3b05198 | ||
|
|
a1f1f04657 | ||
|
|
69de09e0f9 | ||
|
|
2ca2c6c42e |
2 changed files with 35 additions and 7 deletions
|
|
@ -52,13 +52,36 @@ Model choice, prompt hygiene, splitting big batches, verify-then-report —
|
||||||
everything else in this skill — applies exactly the same whether you're
|
everything else in this skill — applies exactly the same whether you're
|
||||||
calling the tool or thinking through the recipe by hand.
|
calling the tool or thinking through the recipe by hand.
|
||||||
|
|
||||||
|
## Model choice
|
||||||
|
|
||||||
|
Pick the cheapest model that can do the job, and lean toward the cheap end
|
||||||
|
more readily than you might for your own work — a subagent is throwaway
|
||||||
|
compute, not a peer you're rationing. Haiku in particular is cheap enough
|
||||||
|
that you don't need to be precious about spinning one up: for a mechanical,
|
||||||
|
well-scoped batch (the shape this skill is for), reach for it liberally
|
||||||
|
rather than defaulting to a bigger model "to be safe." On a small context
|
||||||
|
Haiku costs next to nothing up to `high` effort, so there's no cost reason
|
||||||
|
to cap its effort at `medium` by reflex. Effort is a real lever on Haiku
|
||||||
|
though: at `max` it behaves like a slightly weaker Sonnet at about the cost
|
||||||
|
of Sonnet on `low`, so `max` on Haiku buys nothing over Sonnet on `low`.
|
||||||
|
Stay at `high` or below, and move to a stronger model when the batch needs
|
||||||
|
more judgement (see Pitfalls below). When you do pick Sonnet, pass `low`
|
||||||
|
yourself: its default effort is `high`, a big price bump.
|
||||||
|
|
||||||
|
This isn't "always pick the smallest model regardless of task" — a batch
|
||||||
|
that actually needs judgement calls still wants a stronger model (see
|
||||||
|
Pitfalls below). It's "don't under-use Haiku out of habit-driven caution
|
||||||
|
when the task is mechanical enough for the skill to apply at all."
|
||||||
|
|
||||||
## Effort
|
## Effort
|
||||||
|
|
||||||
An omitted `effort` defaults to `medium` here — cheaper than claude's own
|
An omitted `effort` defaults to `medium` here — cheaper than claude's own
|
||||||
model default (`high` on most models), a deliberate cost-conscious choice
|
model default (`high` on most models), a deliberate cost-conscious choice
|
||||||
for subagent work specifically, same spirit as "cheaper-than-you" model
|
for subagent work specifically, same spirit as the model-choice guidance
|
||||||
choice above. Raise it explicitly when the task is complex enough to
|
above. Raise it explicitly when the task is complex enough to actually
|
||||||
actually need deeper reasoning, not as a reflex.
|
need deeper reasoning, not as a reflex. **Exception: on Haiku with a small
|
||||||
|
context, cost stays near zero up to `high`.** See Model choice above: skip this
|
||||||
|
default-medium caution there, but keep `max` for a stronger model.
|
||||||
|
|
||||||
Anthropic's own levels (per current Claude Code docs — names/availability
|
Anthropic's own levels (per current Claude Code docs — names/availability
|
||||||
are model-dependent, check before relying on an exact list): `low`,
|
are model-dependent, check before relying on an exact list): `low`,
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,11 @@ struct StartArgs {
|
||||||
/// session under that name is done — rejected while one under the same
|
/// session under that name is done — rejected while one under the same
|
||||||
/// name is still running.
|
/// name is still running.
|
||||||
name: String,
|
name: String,
|
||||||
/// Which model the subagent's own session runs. Omit for claude's own
|
/// Which model the subagent's own session runs (`--model`). Omit for
|
||||||
/// default. The `base:claude-subagents` skill's "cheaper-than-you"
|
/// claude's own default. The `base:claude-subagents` skill's "Model
|
||||||
/// guidance still applies here.
|
/// choice" guidance still applies here — pick the cheapest model that
|
||||||
|
/// can do the job, and don't be stingy about reaching for Haiku on a
|
||||||
|
/// well-scoped mechanical batch.
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
model: Option<String>,
|
model: Option<String>,
|
||||||
/// Which reasoning effort level the subagent's own session runs at
|
/// Which reasoning effort level the subagent's own session runs at
|
||||||
|
|
@ -55,7 +57,10 @@ struct StartArgs {
|
||||||
/// models). Independent of `model`, so a cheap model at high effort or
|
/// models). Independent of `model`, so a cheap model at high effort or
|
||||||
/// an expensive one at low effort are both valid combinations, not
|
/// an expensive one at low effort are both valid combinations, not
|
||||||
/// just the two extremes. See the `base:claude-subagents` skill for
|
/// just the two extremes. See the `base:claude-subagents` skill for
|
||||||
/// Anthropic's own guidance on choosing between levels.
|
/// Anthropic's own guidance on choosing between levels. On Haiku with a
|
||||||
|
/// small context, effort up to `high` costs next to nothing, so there's
|
||||||
|
/// no cost reason to cap it at `medium`; at `max` it costs about what
|
||||||
|
/// Sonnet does on `low` (Sonnet's own default is `high`, a big price bump).
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
effort: Option<String>,
|
effort: Option<String>,
|
||||||
/// Path to a file holding the subagent's actual task instructions. A
|
/// Path to a file holding the subagent's actual task instructions. A
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue