fast-subagent
/fast-subagent
Use for any routine/checkable step — summarize, extract, classify, reformat, draft boilerplate, first pass over a file — every such step, all session. Sends to the router's fast-subagent role, which picks backend/fallback. Names no model ids.
- Author
- dryvist ↗
- Repository
- claude-code-plugins ↗
- Licence
- Apache-2.0
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/fast-subagent.sh
What it does and when to use it
Use for any routine/checkable step — summarize, extract, classify, reformat, draft boilerplate, first pass over a file — every such step, all session. Sends to the router's fast-subagent role, which picks backend/fallback. Names no model ids.
Original author description
Use for any routine/checkable step — summarize, extract, classify, reformat, draft boilerplate, first pass over a file — every such step, all session. Sends to the router's fast-subagent role, which picks backend/fallback. Names no model ids.
How it works
- 1. When — every routine step, all session long
- 2. How — one command
- 3. What the router decides, not you
- 4. When it says no
- 5. Report what you used
- Related skills
SKILL.md preview
---
name: fast-subagent
description: Use for any routine/checkable step — summarize, extract, classify, reformat, draft boilerplate, first pass over a file — every such step, all session. Sends to the router's fast-subagent role, which picks backend/fallback. Names no model ids.
license: MIT
metadata:
version: 1.0.0
author: ai-delegation maintainers
hermes:
category: research
tags:
- delegation
- routing
- cost
- local
related_skills:
- local-subagents
- premium-agent-orchestration
---
# fast-subagent
Doctrine: `local-subagents` (same plugin) says *why* and *what* to delegate and
how a busy single-slot tier behaves. This skill is the one-command *how*, tuned
for reuse: call it early, call it often, call it again.
## 1. When — every routine step, all session long
The Delegate column of `local-subagents` §1 is the list. The habit this skill
adds: **do not decide once**. Each time a new routine step appears — the fifth
log to reduce, the third file to summarize, the test output to read — send it
the same way. Repeated calls from one harness keep the backend's prompt cache
warm and the lock held, so the tenth call is cheaper than the first.
Keep for yourself: intent, architecture, tradeoffs, risk, anything you would
not accept from a smaller model without checking. Never send secrets, secret
store context, private topology, or personal data.
The router is not a Claude subagent and never writes code.
## 2. How — one command
```sh
printf '%s\n' "$INSTRUCTION" "$INPUT" | fast-subagent.sh
```
`fast-subagent.sh` lives in this skill's `scripts/` directory (resolve it
relative to this file; it needs only `bash`, `curl`, `jq`). It reads the
endpoint from the environment — `LLM_ROUTER_URL` + `LLM_ROUTER_TOKEN_FILE`, or
the local proxy's `OPENAI_API_BASE_URL` + `LITELLM_LOCAL_KEY` — sends one
bounded request for role `small`, prints the answer on stdout and
`model=<what answered> fallbacks=<n>` on stderr.
Options: `--model medium` (a capability name), `--system TEXT`, `--max-tokens N`,
`--timeout SEC`, `--raw` (full JSON), `--release` (see §4).
Write the prompt for a small model — short imperatives, an explicit output
shape, a row cap, a hard STOP:
```text
Extract every failing test from the input. Do not explain or fix.
Output ONLY: test name | file | first error line. At most 40 rows. STOP.
```
Send only what the step needs. A call that carries your whole conversation costs
more than doing the step yourself.
## 3. What the router decides, not you
`fast` is a role whose target and fallback order live in the router's own
database and are edited in its admin UI — the operator can reorder or retarget
the chain at any time without a converge, a rebuild, or a change to this skill.
So: never name a physical model, never assume which backend answered, and read
`model=` on stderr when it matters. `fallbacks=1` or more means the first rung
was busy and the router moved on; that is the chain working, not an error.
## 4. When it says no
| Exit | Meaning | Do |
| --- | --- | --- |
| 2 | No endpoint in the environment | Do the step yourself and say so. Do not look for a provider key. |
| 3 | `401`/`403` | Report it. Never retry with a different credential. |
| 4 | Still busy after one `Retry-After` wait | Do the step yourself or pick another entry from `local-subagents` §3, and say which. Do not loop. |
| 5 | Transport or request failure | Report the message; a `400` naming an unknown model means the role is not seeded on this router yet. |
| 7 | `200` but no text (budget spent on reasoning, `finish_reason=length`) | Retry once with a higher `--max-tokens`; never treat empty output as an answer. |
`--release` on your **last** call of a burst frees the single-slot backend for
the next caller instead of waiting for the lock's own timeout. It is a
courtesy: the timeout is what guarantees release, so never depend on it.
## 5. Report what you used
Name the role and, when the reader needs it, the `model=` line, for each
delegated result. Say when you fell back to doing the step yourself.
## Related skills
- **local-subagents** (ai-delegation) — the full delegation doctrine, the live
model menu, the fast-subagent tier contract.
- **premium-agent-orchestration** (ai-delegation) — which decisions a premium
session keeps.
- **delegate-to-ai** (ai-delegation) — generic delegation safeguards; the maintainer-specific executor ladder is in `jpe-ai-delegation`.
Files in this package (2)
- SKILL.md 4 KB
- scripts/fast-subagent.sh 5 KB
Versions
The database has no other skills named fast-subagent.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 07b58552f6d7 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100subagent-delegation
Delegate routine work to subagents — boilerplate generation, data transformation, file analysis, documentation drafting. Use when splitting tasks into independent subtasks for parallel subagent execution. - 100local-subagents
Use for bulk reading, summarizing, classifying, extracting, drafting boilerplate, or a first pass over code — hand it to a local/cheap model via the router, not your context. Covers delegation timing, the model menu, bounding calls, refusals. - 100subagent-selection
Pipeline phase skill for state `subagent-selection`. Use when current_state is subagent-selection. - 100model-discovery
Fetch current model names from AI providers (Anthropic, OpenAI, Gemini, Ollama), classify them into tiers (fast/default/heavy), and detect new models. Use when needing up-to-date model IDs for API calls or when other skills reference model names. - 100subagent-driven-development
Use when executing implementation plans with independent tasks in the current session - dispatches fresh subagent for each task with code review between tasks, enabling fast iteration with quality gates