/swingle:swingle-delegatefrom swingle
Directly delegate an explicitly requested, self-contained job or homogeneous batch to an installed provider CLI using live CLI help, Swingle contracts, configuration, and ledgers. Use swingle-sdd for dependency-aware implementation plans. Explicit invocation only.
Ships in swingle. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The LLM is the controller. The provider CLI is the authority for its current operation.
Use this skill for one self-contained job or one homogeneous batch.
Use swingle-sdd for a dependency-aware implementation plan.
Resolve <root> as Path(<this SKILL.md>).parents[2]. It must contain skills/, scripts/, contracts/, and providers/.
Run every Swingle-owned command as python3 <root>/scripts/swingle.
Run mechanical grounding — help inspection, model listing, config and ledger reads,
and failure-repair hunts — per references/isolation.md:
isolated in a harness subagent when one exists, inline otherwise. The dispatch itself
and every ledger write stay in this thread.
See references/concepts.md for how the classification
matrix, contract, tier, provider, model, and effort relate.
reader, implementer, task-reviewer, design-reviewer,
independent-review, or fact-checker — classify through the matrix in
references/concepts.md. Use general-task only when
the request resists classification or arrives composite and entangled.<project>/.swingle/delegate/ledger.md, where <project> is the
working directory of the session that requested the delegation — resolve it once to
an absolute path at dispatch start. The plugin root holds no project state: never
read or search for ledgers, configs, or delegation artifacts under <root>.python3 <root>/scripts/swingle config show --project <working-directory>.disable, including an explicit provider.providers_by_contract (role-level or
tier-keyed) and default_provider.--help for how this CLI accepts effort alongside the model — a separate flag, folded into the model identifier, a config-override mechanism, or none. Precedence: an effort the user or task states wins; otherwise the selected model preference's joined effort when the entry carries one; otherwise tier intent — roughly minimal for cheapest, moderate for standard, high for most-capable; otherwise the CLI default — and never invent a top-of-scale level (xhigh, max, ultra) nobody asked for. Grounding reports supported values and exact syntax; the choice stays in this thread. Set what the CLI exposes, and never carry one provider's pattern to another.python3 <root>/scripts/swingle ledger init --path <ledger-path>.--help, and consult the selected provider's dispatch-guidance note rows for mechanics the help under-specifies, verifying each against the help just inspected. Inspect the help again before retrying any rejected invocation.NNN complete: status=<status> outcome=<outcome> event to the same ledger.Record each applicable delegation step in the shared ledger with one of these exact one-line event shapes:
NNN allocated: role=<role> task=<summary> contract=<path> tier=<cheapest|standard|most-capable>
NNN dispatched: provider=<id> model=<id|provider-default> attempt=<n>
NNN session: attempt=<n> <session-id>
NNN attempt-failed: attempt=<n> signature=<summary> recovery=<summary>
NNN resumed: session=<id> reason=<reason>
NNN complete: status=<status> outcome=<outcome>
tier= is part of the current allocated-event shape; include it on every allocation.
Ledgers written before this field existed keep their historical lines as records of the
old format — do not rewrite or delete them.
<root>/providers/<selected-provider>/pack.md holds two evidence-backed tables with
different read timing. Dispatch guidance is proactive: consult it while building an
unfamiliar dispatch, and verify each row against the help inspected this run. Gotchas
are reactive: open them only after an observed failure.
An explicit user tier has precedence. Otherwise derive the tier by intent per references/model-tiering.md. The tier selects one advisory preference list. It never excludes a live model.
After an observed failure, apply a matching row from the Gotchas table of
<root>/providers/<selected-provider>/pack.md, then record the failed attempt.
If no row matches, inspect current help again before retrying.
Ask the user only when the provider CLI cannot resolve the blocker.
Use DONE, DONE_WITH_CONCERNS, NEEDS_CONTEXT, or BLOCKED.
The status routes work. The delegated result supplies completion evidence.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/swingle-sddExecute a written implementation plan through subagent-driven-development with swingle-delegate at each external dispatch point. Use for plan execution; keep the installed workflow as the authority for planning, task order, reviews, and completion. Triggers: "run this plan with SDD", "/swingle-sdd", "/sdd", "execute the plan via subagents", and the Standard Delivery Flow reaching its execute step./swingle-setupManage Swingle-owned configuration, preferences, and ledgers with explicit consent for writes. Use for explicit setup or migration requests; it does not inspect provider auth, versions, readiness, or permissions. Explicit invocation only.Other plugins' skills for the same job
npx claudepluginhub hiivmind/swingle --plugin swingle