delegate
by cdeust · ★ 1 · updated 9 days ago
The main loop only delegates; the mod decides each subagent's model and effort from its brief, with Apple's on-device model and, when a key is set, TypeSafe Jev (the higher class wins). When no model answers it asks you. Lookups run on haiku at low effort, implementation on sonnet, review and measurement on opus.
Install
/plugin marketplace add cdeust/claude-mods/plugin install delegate@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runprompt.composetool.callagent.spawnturn.startturn.stepturn.completeui.render- API calls
$.clock.sleep$.command.register$.env.get$.fs.stat$.http.fetch$.process.run$.state.get$.state.set$.ui.ask$.ui.log$.ui.open$.ui.resolve$.ui.toast- Draws
Pane- Can see
every tool callsubagent spawns- Reach
- level 3 of 3 networkruns processesreads filesreads env varsreads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/cdeust/claude-mods
- Path in repo
mods/delegate- Source commit
360dafbthe exact code the scan read- Author
- @cdeust
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.