delegate-code

delegate-code is a skill for Claude Code from wsauret/flywheel. It costs 21 tokens per session (495 once invoked), scanned A, original, Apache-2.0.

A coding workflow that sends implementation work to helper agents while the main agent keeps responsibility for design, review, and checking the result.

In plain words
What is it for?
Use it to delegate scoped code changes, then inspect the resulting changes and verify that they meet the stated criteria.
Why use it?
It separates writing code from reviewing it, reducing the chance that implementation decisions go unchecked.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Good fit Use it to delegate scoped code changes, then inspect the resulting changes and verify that they meet the stated criteria.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wsauret/flywheel/delegate-code
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wsauret/flywheel --skill delegate-code
Clone the repo
git clone --depth 1 https://github.com/wsauret/flywheel

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for delegate-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/wsauret/flywheel/delegate-code/github.svg)](https://agentmods.dev/skills/wsauret/flywheel/delegate-code)
Your own site
<a href="https://agentmods.dev/skills/wsauret/flywheel/delegate-code"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/delegate-code/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for delegate-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/wsauret/flywheel/delegate-code"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/delegate-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00495
Opus 5.5 $0.00008 $0.00198
Sonnet 5.5 $0.00004 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 28d ago against content hash 449fbdc07698, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

delegate-code scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 28d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

bench/chat-ab/arms/delegate/skills/delegate-code/SKILL.md · 22 lines

How it starts

The opening of the file, as written. The whole thing — 22 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Delegate code

You own the design. Plan, review, verify. Delegate implementation. Stay in the lead.

Delegate code-writing to a subagent using the implementer persona with a specific scope (file paths, named data shape and its organizing structure, a state machine over scattered booleans, a table/registry over branching, a typed model over repeated shape assumptions, chosen before the delegate writes logic, and success criteria). Mandatory: no skip-with-reason escape, and Laziness Protocol does not override it (the gain is review separation, not lines saved). A subagent forbidden to spawn satisfies this by owning the diff directly with the same review separation. No "standing by" reply that waits on a nested agent. Surgical edits, re-ground against the source for upstream-derived files. Port shared-primitive improvements to all consumers and verify each. Commit liberally.

Subagents

Use persona implementer for any code-writing subagent you spawn (code-writing delegates, ad-hoc helpers).

Defaults for every subagent call. File pointers, not inlined context.

You own every subagent's work. Review the diff and write your own summary, don't pass through what it said. A second opinion is the same prompt against a different model. Agreement is high-signal.

Fresh subagents by default. Give new work to a fresh subagent with consolidated scope, meaning the original brief, every later directive, and the prior agent's report and branch. This holds for a fix round, a follow-up, a retry, and the next queue item. Resume, message, or queue a follow-up on an existing subagent only when the new work strictly needs state that lives in that agent and is costly to move: its local checkout, its uncommitted changes, or a process it still runs, such as a dev server, a simulator, or a babysit watcher. A stop or hold order to a running agent is not reuse. A role such as a PR owner outlives its agent. Once that agent returns, a fresh agent takes the role's next round. Interrupt-chained resumes silently drop directives, so fire a fresh subagent with consolidated scope rather than trusting a "done" summary.

Read the full file on GitHub · 22 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 28d ago First seen · 22 lines · 21 tokens per session scan A 449fbdc07698

Subscribe to this mod's changes

delegate-code is a skill published in the GitHub repository wsauret/flywheel (19 stars, last pushed today), licensed Apache-2.0. It adds 21 tokens to every session and 495 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-03.

Related

delegate-code compared with skills from other repositories

delegate-code next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
delegate-codewsauret/flywheelSkill19todayApache-2.0A21Claude Code
gh-find-prsHmbown/CodeWhaleSkill41k2d agoMITA27Claude Code, Codex
gh-compile-issuesHmbown/CodeWhaleSkill41k2d agoMITA39Claude Code, Codex
reviewHmbown/CodeWhaleSkill41k2d agoMITA73Claude Code, Codex
simplifyHmbown/CodeWhaleSkill41k2d agoMITA24Claude Code, Codex
cw-sliceHmbown/CodewhaleSkill41k1mo agoMITA47Claude Code, Codex
githubHmbown/CodewhaleSkill41k1mo agoMITA0Claude Code, Codex