delegate-agy
Skill0 starsChanged 16 days agoMITView on GitHub
agent-mesh, mode `agy`: hands each repo's part of a change, a task list, or a question about another repo to agy agents working inside those repos, in visible herdr panes, and supervises them; large tasks get their plan reviewed first, and each PR gets its reviewers by its size, from the CLIs installed (this machine's policy: `mesh routing`), in one round (one root wake), except a tiny PR of a trivial or small task or group, which the root reviews itself. Also asks the registered peer projects a question. Use it, typed or not, when the user wants work or a question handed to agents, in this repo or others ("have agy do it", "delegate to Gemini", "ask the shop-api agent"), or when you judge workers would do it better (several repos, a task list, parallel work, a long job you would otherwise do inline), and names no other CLI (Claude, Opus, Sonnet, Fable); with none named, use it when you are agy. Not for a PR review the user asks for (/delegate-review), a research round by the peers (/harvest-peers), or a mesh worker (your task came by a `📬 [mesh]` doorbell).
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- check-planSkill
- delegate-claudeSkill
- delegate-reviewSkill
- find-peersSkill
- harvest-peersSkill
- make-conciseSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Run an agent-mesh in mode agy for the user's request: $ARGUMENTS when the user typed the command, otherwise the request that brought you …
- Very specific: line 21
Read ~/.config/agent-mesh/ORCHESTRATE.md and ~/.config/agent-mesh/PROTOCOL.md in full.
- Very specific: line 31
If you're a Claude root and mesh prints a send_message, pass it on with the SendMessage tool, exactly as printed.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/delegate-agy
Run an agent-mesh in mode agy for the user's request: $ARGUMENTS when the user typed the command, otherwise the request that brought you here.
- Read
~/.config/agent-mesh/ORCHESTRATE.mdand~/.config/agent-mesh/PROTOCOL.mdin full. - You are the root. Follow the "Root" section with
mesh init --mode agy.- Propose before you start ("Root" step 3): each worker's repo, size, model and view, then wait for the user's go, unless they said to run autonomously. A question, a review or a peer ask they asked for needs none.
- Size every task ("Sizes") and pass
--sizeto everymesh spawnandmesh ask.--kind agyis the default CLI; propose Claude only as "Routing" describes. - Pass
--model/--effortonly if the request names them. A large task plans on the best model of its plan chain with quota and moves to its execution model when youmesh approveits plan (mesh routingshows both). On a quota alert,mesh switchthe worker. - Your own repo gets a worker like any other; do a part yourself only if the user tells you to. Work they gave you before delegating stays yours.
- A question about another repo that changes nothing: use
mesh ask("Questions and reviews"). Run it withrun_in_backgroundif you're a Claude root. A question for the registered peer projects goes tomesh ask --peers <group|all>; read the one answers file it prints. A PR review the user asks for on its own goes through/delegate-review; the reviews of your own workers' PRs stay here ("Root" step 8). - A follow-up to work an earlier worker did ("send the review to the agent that changed it", "ask that agent to make it Y"): resume that worker ("Follow-ups"). It keeps its own CLI and model (a change it must plan first plans on its plan chain), and it's compacted first when its conversation is large.
- Decide small things yourself and ask the user only where their input adds value; fix review findings and the follow-ups they turn up in the PR they came from, on its branch, by the worker that made it, never in a new PR ("Rules for everyone"); give new small work to the worker that already knows that code, not a fresh agent; put other follow-ups on the repo's list of open work.
- A list of tasks: follow "Task lists". Triage it into a few themed groups (no size cap: a worker can take a whole batch), each one worker with one PR, sized by its combined work (independent small tasks:
small, no plan; one plan for alargegroup); get the user's one go on the board, then supervise without writing code yourself. - If you're a Claude root and
meshprints asend_message, pass it on with theSendMessagetool, exactly as printed.
- Once the user says go (at once, when they said to run autonomously), start the work and tell the user in one line what you started: run id, and each worker's repo, size and model. Then supervise until every worker reports back. For a question, give the user the answer and the name of the worker that gave it, so they can ask it again.
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.

