delegate
Was er macht
Dieser Skill erklärt, wann Teile einer größeren Aufgabe an Subagenten gegeben werden sollten, die gleichzeitig arbeiten. Er richtet sich an Personen, die mehrstufige Code-, Recherche- oder Prüfaufgaben mit einer KI erledigen.
Wann du ihn nutzt
- ✓Wenn sich eine große Aufgabe in unabhängige Teile zerlegen lässt, die gleichzeitig laufen.
- ✓Wenn du einen nur lesenden Review eines begrenzten Satzes von Dateien durch einen Helfer willst.
- ✓Wenn eine mechanische Änderung oder ein Testlauf mit klarer Grenze übergeben werden kann.
Link zum Skill
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/delegate/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Teile diese Migration in Teile auf, lass Helfer das Scannen der Dateien übernehmen und kümmere dich selbst um das Design.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der übergeordnete Agent behält die Entscheidungen und die finale Prüfung. Er gibt jedem Helfer ein klares Ergebnis mit Abnahmekriterien und lässt unabhängige Helfer gemeinsam laufen.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Delegate
Use sub-agents when they can do focused work in parallel while the parent keeps architectural judgment, integration, and final verification.
Keep vs Delegate
Keep in the parent:
- Understanding the user's actual request and constraints
- Architecture, security, product, and release-risk decisions
- Cross-module integration
- Final review, test interpretation, and user-facing summary
Delegate to sub-agents:
- Read-only exploration over a bounded file set
- Mechanical edits with a clear file ownership boundary
- Focused test or lint runs
- Boilerplate generation from an explicit spec
- Independent checks that can run while parent work continues
Do not delegate tiny one-step tasks, ambiguous product decisions, destructive operations without a clear acceptance criterion, or final verification.
Launch Focused Work
Use agent for a focused child run. Launch independent children together so they can run in parallel.
Give each child a concrete outcome and acceptance criteria. Let it continue until the work is complete or it needs input. Do not invent time, turn or token budgets, or tell it to stop early because a percentage of a budget has elapsed. The runtime carries any limits explicitly configured by the owner.
Prefer provider-neutral model_strength over hardcoded model ids. Children inherit the active model by default (model_strength: "same"), including type: "explore", so pass model_strength: "faster" explicitly to get the cheaper same-family sibling for read-only exploration:
{
"name": "config_audit",
"prompt": "Inspect crates/tui/src/config.rs and crates/tui/src/settings.rs for duplicate model-default logic. Return file/line findings only; do not edit files.",
"type": "explore",
"model_strength": "faster",
"cwd": "."
}
For code changes, give the child a precise write boundary and tell it not to revert unrelated edits. Keep implementation children capable with model_strength: "same":
{
"name": "docs_patch",
"prompt": "Update only docs/configuration.md to document the new [statusline] keys. Match the surrounding style. Do not edit other files.",
"type": "implement",
"model_strength": "same",
"cwd": "."
}
Use fork_context: true only when the child genuinely needs the current conversation prefix. Leave it omitted for fresh, narrower context.
Route the Work
Choose the route per child from agent(action:"roster") (no provider request), not from memory. It lists each role's resolved route and the models you may pick.
thinkingoverrides a saved tier on any role. Dial:off low medium high xhigh max ultra, plusinherit(role default, then session effort) andauto.modelandmodel_strengthapply to unpinned routes only. A pinned profile refuses a conflicting model; to choose a model, start an unpinned role such asgeneral.model_strength: "faster"is the same-family faster sibling,"same"the session model.- Read the receipt, not your request:
child_routeshows the provider, model and route source, andrequested_reasoningvseffective_reasoningshows what the route actually ran. - Route by stakes. Mechanical work: the cheapest sufficient route with
thinking: "off"or"low". Implementation: a capable route atmediumor above. Review and verification: a strong route athigh, on a different route than the author when independence matters.
Evaluate and Verify
Sub-agent outputs are self-reports. Re-check material claims before relying on them:
- Read changed files directly.
- Run the relevant tests locally.
- Inspect unexpected diffs before committing.
- Verify externally visible or destructive claims against source data.
Prompt Shape
A good delegation prompt includes:
- The exact task
- Files or modules owned by the child
- Files or behavior the child must not touch
- Expected output format
- Acceptance criteria
Weak prompt:
Fix the settings bug.
Strong prompt:
Own only crates/tui/src/settings.rs and its tests. Preserve existing config key names. Verify with the existing checks that provider-specific API key changes do not restart provider onboarding. Return the changed paths and test command output.
Häufige Fragen
Was bleibt bei der Haupt-KI?
Das Verstehen deiner Anfrage, Architektur- und Sicherheitsentscheidungen, modulübergreifende Integration und die finale Prüfung bleiben beim Hauptagenten.
Was sollte nicht delegiert werden?
Winzige Einzelschritte, unklare Produktentscheidungen, zerstörerische Operationen ohne klare Kriterien und die finale Prüfung.
Kann ich das Modell des Helfers steuern?
Ja. Der Skill bevorzugt eine anbieterneutrale Einstellung für die Modellstärke. Helfer übernehmen standardmäßig das aktive Modell.
Details
Originalbeschreibung des Autors
Strategic delegation for multi-step coding, research, or verification work. Use when a task can be split into parent reasoning plus focused sub-agent execution through the agent tool.
repo: codewhale-hq/Codewhale
Beliebtheit
- GitHub-Sterne
- 41k
- Platz im Ranking
- #6523
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
best-of-n
41kHilft deinem Agenten, mehrere unabhängige Lösungen zu einem schweren Problem zu erstellen, anhand eines Rasters zu bewerten und nur die beste anzuwenden.
dataviz
41kHilft deinem Agenten, ein passendes Diagramm oder Dashboard für deine Daten zu wählen, mit klaren Beschriftungen und Prüfung fehlender Werte.
debug
41kHilft deinem Agenten, die echte Ursache eines Fehlers zu finden: reproduzieren, eingrenzen und nur mit deiner Freigabe beheben, statt zu raten.
dependency-update
41kHilft deinem Agenten, bestimmte Abhängigkeiten zu aktualisieren, Versionshinweise zu lesen, Brüche zu beheben und die Projektprüfungen laufen zu lassen.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.