delegate
Skill1 starsChanged 8 months agoMITView on GitHub
Code Cannon: Generate a scoped prompt for delegating work to another agent
78 other projects use a version of this.
Adopted by
Most recently taken up by
- brasillero/brstacktheir own version, first seen Nov 8, 2026
- go-sphere/skillstheir own version, first seen Nov 8, 2026
- victor-falcon/skillstheir own version, first seen Nov 8, 2026
- AlomoesDataScience/claude-skillstheir own version, first seen Nov 8, 2026
- lehcode/claudelegatetheir own version, first seen Nov 8, 2026
- codewhale-hq/codewhale-plugin-marketplacetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use state, preview and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillstate
Store and query a Microsoft Managed App's built-in state and file attachments with `ms project state` CLI schema commands and generated TypeScript clients. First, with the user signed in to the CLI, run `ms feature status --name state --json`; if `feature.enabled` is not `true`, recommend an alternative connector or data source.
Also in 3 projects that use this
kv0906Skillpreview
Render vault notes as styled HTML and open in browser. Turn markdown docs, decisions, progress reports into readable previews. Use for "/preview docs/project-a/checkout-flow.md", "/preview progress all", "/preview decide auth-approach", or when user wants to see a doc before sharing.
Also in 3 projects that use this
GitHubSkillprd
Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.
Also in 5 projects that use this
nicolasestremSkilldocument
Create focused documentation for specific components or features
Also in 3 projects that use this
anombyte93Skilldiscover
Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.
Also in 3 projects that use this
Microsoft AzureSkillskill-authoring
Write Agent Skills that comply with the agentskills.io specification. WHEN: "create a skill", "new skill", "write a skill", "skill template", "skill structure", "review skill", "skill PR", "skill compliance", "SKILL.md format", "skill frontmatter", "skill best practices". DO NOT USE FOR: general documentation. INVOKES: vally CLI.
Also in 3 projects that use this
Other versions78 projects use a version of this.
Word for word · 1
- sebastientaggart/CodeCannon★ 1100% same
Edited · 0
None found.
Wrote their own version · 77
- prassanna-ravishankar/repowire★ 270same name
- HurricaHjz/SecondSelf★ 156same name
- wlsdks/ontology-atlas★ 149same name
- HurricaHjz/second-yourself★ 105same name
- spmtitsolution/OpenBA-Kit★ 38same name
- pvjbuilds/delegate-router★ 32same name
- PyModel/claude-architect★ 31same name
- peterpme/skills★ 28same name
- jisuzzzz/haechi★ 17same name
- mhlaghari/stuntman★ 16same name
67 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- checkpointSkill
- deploySkill
- qaSkill
- reviewSkill
- setupSkill
- startSkill
- statusSkill
- storySkill
- submit-for-reviewSkill
- checkpointSkill
- delegateSkill
- deploySkill
- qaSkill
- reviewSkill
- setupSkill
- startSkill
- statusSkill
- storySkill
- submit-for-reviewSkill
- checkpointSkill
- delegateSkill
- deploySkill
- qaSkill
- review-agentSkill
- reviewSkill
- setupSkill
- startSkill
- statusSkill
- storySkill
- submit-for-reviewSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 67 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
If $ARGUMENTS is empty, ask: "What task should the prompt describe?" and wait for a response.
- Very specific: line 35
If that errors because the dev ref isn't present locally, diff against main...HEAD instead.
- Very specific: line 43
Use the issue title, body, and agent implementation notes from the current /start session — do not re-fetch them.
- Very specific: line 85
After presenting, record internally that $ARGUMENTS has been delegated.
- Distinctive: line 95
Never commit, push, or modify any files.
- Distinctive: line 96
Never post to GitHub (no comments, labels, or issue updates).
- Very specific: line 98
Do not suggest or name a specific agent to paste into — that is the operator's choice.
“Common” is measured: kept by at least 6 in 10 of the 67 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
What /delegate does
/delegate generates a ready-to-paste prompt that gives another AI agent everything it needs to contribute code on the current branch. Run it during the planning gate of /start (Step 2), before saying go, to carve off part of the work for another agent.
Each /delegate invocation also tells the lead agent to skip that work when it proceeds.
Prerequisites
/delegate relies on context already loaded by /start. If you are not in the middle of a /start planning gate (Case A Step 2 or Case B Step 2), say:
"
/delegateis meant to be run during the planning step of/start, before you typego. Run/startfirst to load the issue context, then use/delegateto carve off tasks."
Stop.
If $ARGUMENTS is empty, ask: "What task should the prompt describe?" and wait for a response.
Step 1 — Gather branch and diff context
git branch --show-currentgit diff --name-only dev...HEADIf that errors because the dev ref isn't present locally, diff against main...HEAD instead.
Step 2 — Build the prompt
Compose the following as a fenced markdown block (```markdown) so the operator can copy it.
Use the issue title, body, and agent implementation notes from the current /start session — do not re-fetch them.
## Your task
<$ARGUMENTS — the operator's description of the delegated work>
## Branch
You are on branch `<branch name>`. Stay on this branch.
## Context
**Issue #<number>: <title>**
<issue body — include the full body as-is>
<if there are agent implementation notes from the issue comments, include them under a "### Agent notes" subheading>
## What's already been done on this branch
<list of changed files from git diff, or "No changes yet — clean branch." if empty>
## Rules
- **Do not commit.** Leave all changes unstaged. The lead developer will handle commits.
- **Be surgical.** Only modify what is necessary for your task. Do not refactor adjacent code, reorganize imports, or "improve" files outside the scope of your task.
- **Do not start until the branch exists on the remote.** The lead developer will create and push the branch. Wait until `git checkout <branch name>` followed by `git pull origin <branch name>` succeeds before beginning work.Step 3 — Present to operator and update lead scope
Print the generated prompt preceded by:
Here's a delegation prompt for: $ARGUMENTS
Review and edit as needed, then paste into your agent of choice after the lead agent has created and pushed the branch.
Then print the fenced prompt block.
After presenting, record internally that $ARGUMENTS has been delegated. When the operator says go and the lead agent proceeds to write code, it must skip the delegated work. If multiple /delegate invocations occur before go, accumulate all of them.
After presenting, say:
Noted — the lead agent will skip this part when you say
go. Run/delegate <another task>to delegate more, or typegoto proceed.
Hard rules
- Never commit, push, or modify any files.
- Never post to GitHub (no comments, labels, or issue updates).
- Output only — the skill produces text for the operator to copy.
- Do not suggest or name a specific agent to paste into — that is the operator's choice.
<!-- generated by CodeCannon/sync.py | skill: delegate | adapter: agents | hash: 036129e4 | DO NOT EDIT — run CodeCannon/sync.py to regenerate -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

