Delegate

Route tasks to sub-agents with optimal model selection, error recovery, and result verification.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Delegate" with this command: npx skills add ivangdavila/delegate

Core Rule

Spawn cost < task cost → delegate. Otherwise, do it yourself.

Model Tiers

TierModelsCostUse for
SmallHaiku, GPT-4o-mini, Gemini Flash~$0.25/1MSearch, summarize, format, classify
MediumSonnet, GPT-4o, Gemini Pro~$3/1MCode, analysis, synthesis
LargeOpus, o1, Gemini Ultra~$15/1MArchitecture, complex reasoning

Rule of thumb: Start with smallest tier. Escalate only if output quality insufficient.

Spawn Checklist

Every spawn must include:

1. TASK: Single clear deliverable (not "help with X")
2. MODEL: Explicit tier choice
3. CONTEXT: Only files/info needed (never full history)
4. OUTPUT: Expected format ("return JSON with...", "write to file X")
5. DONE: How to signal completion

Check templates.md for copy-paste spawn templates.

Error Recovery

Error TypeAction
Sub-agent timeout (>5 min no response)Kill and retry once
Wrong output formatRetry with stricter instructions
Task too complex for tierEscalate: Small→Medium→Large
Repeated failures (3x)Abort, report to user

Check errors.md for recovery patterns and escalation logic.

Verification

Never trust "done" without checking:

  • Code: Run tests, check syntax
  • Files: Verify they exist and have content
  • Data: Spot-check 2-3 items
  • Research: Confirm sources exist

Don't Delegate

  • Quick tasks (<30 seconds to do yourself)
  • Tasks needing conversation context
  • Anything requiring user clarification mid-task

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Email Excel Transfer

Pobieranie załączników z maila przez IMAP i wypełnianie plików Excel przez PowerShell. Użyj gdy użytkownik prosi o pobranie plików z email i wstawienie warto...

Registry SourceRecently Updated
Automation

CamScanner Extract Formula

Use CamScanner to extract formulas from images. Powered by OCR recognition engine that detects formula regions in images, crops them, and stitches into a sin...

Registry SourceRecently Updated
Automation

Image Marketing Brochure

A complete workflow skill for marketing brochure design, covering everything from requirements gathering, layout design, to mock-up delivery. It uses a 'layo...

Registry SourceRecently Updated
Automation

Image Social Carousel

A structured workflow skill dedicated to social-media carousel design. The core method is 'decide intent first, then execute,' using a 'single-confirmation +...

Registry SourceRecently Updated