AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Harness Model Router

skill-chetan25-harness-claude-skills-harness-model-router · by chetan25

Use when harness-orchestrator is about to dispatch parallel subagents, to classify each task by complexity and annotate it with the right model tier (haiku/sonnet/opus) so cheaper models handle trivial work automatically.

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-chetan25-harness-claude-skills-harness-model-router

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-chetan25-harness-claude-skills-harness-model-router)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Harness Model Router? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Harness Model Router

Classify a list of parallel task descriptions by complexity and emit a routing table that maps each task to a model tier. You do this yourself — read each task description and apply the classification procedure below.

When to run

  • Called by harness-orchestrator at step 5, immediately before building the Agent() call list for independent parallel tasks.
  • No-op for serial tasks — only invoke when tasks are genuinely parallel.

Procedure

1. Receive the parallel task list

Take the list of parallel task descriptions from harness-orchestrator. Each entry is a short description of independent work.

2. Classify each task

Apply both signals in order. Keywords can only upgrade a tier, never downgrade.

Signal 1 — Task type (primary signal)

| Task type | Tier | |---|---| | Read-only / explanation | haiku | | Trivial mutation (rename, typo, constant, comment) | haiku | | Code generation (component, endpoint, hook, service) | sonnet | | Standard feature addition | sonnet | | Cross-cutting reasoning (debug across layers, investigate) | opus | | Architecture / design / migration | opus |

Signal 2 — Keyword scan (confirms or upgrades)

| Keywords present | Tier signal | |---|---| | rename, typo, comment, explain, describe, list, show, format | haiku | | add, create, write, implement, update, build, generate, test, endpoint, component, hook | sonnet | | refactor, debug, design, architect, analyze, migrate, restructure, investigate, across, system-wide | opus |

Tie-breaking rules
  • Ambiguous → sonnet. Never silently under-allocate.
  • Multiple modules or layers mentioned → minimum sonnet. Upgrade to opus if opus keywords are also present.
  • Keywords only upgrade. A haiku-type task with sonnet keywords becomes sonnet. Never the reverse.

3. Emit the routing table

Output the table in context (do not write to a file — it is ephemeral per dispatch):

ROUTING TABLE — 
  [1] ""   → haiku
  [2] ""   → sonnet
  [3] ""   → opus

The run identifier is a short label (e.g. the batch name or a sequential counter) so multiple routing calls in the same session are distinguishable.

harness-orchestrator reads this table and passes model: "" to each Agent call.

Model tier reference

| Tier | Model ID | Best for | |---|---|---| | haiku | claude-haiku-4-5-20251001 | Trivial mutations, read-only, explanations | | sonnet | claude-sonnet-4-6 | Code generation, standard feature work, tests | | opus | claude-opus-4-8 | Architecture, cross-cutting refactors, debugging across layers |

See also

  • harness-orchestrator — invokes this skill before parallel dispatch
  • superpowers:dispatching-parallel-agents — the dispatch mechanism this routing feeds into

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.