Delegate AI Subtasks is a skill for AI coding agents that addresses two distinct inefficiencies in agentic workflows: unnecessary spend on expensive models for mechanical work, and lost context when switching models or sessions.
For task delegation, the skill automatically identifies subtasks that are repetitive or mechanical — batch file creation, format conversion, validation checks, boilerplate generation — and routes them to a cheaper model. It generates fully self-contained prompts so the delegated subagent requires no surrounding conversation context. The primary model is then reserved for work that genuinely requires judgment: architecture decisions, debugging, and producing the final user-facing deliverable.
For context continuity, the skill writes a structured HANDOFF.md file that records what was done and why. The snapshot includes key decisions with their rationale, approaches that were considered and rejected, concrete next steps, and any user preferences noted during the session. A different model loading that file can resume the task without asking the user to re-explain prior context.
Both features can be used independently or together. On a long task, an agent might delegate boilerplate generation to a cheaper model mid-session and then write a handoff document before the user returns in a new session with a different model.
The skill is compatible with Claude Code, Cursor, Codex CLI, VS Code Copilot, and any agent that supports the SKILL.md standard.