delegatelisted
Install: claude install-skill Tekkiiiii/the-agency
# delegate
Delegates the current task to a `general-purpose` subagent with enough context to complete it independently. Unlike a focused specialist, this subagent has full tool access and drives the task to completion — no further prompting needed.
## When to Use
- You want a subagent to own a task end-to-end
- You need to offload work without losing context
- A focused skill agent isn't the right tool shape — the task spans files, tools, or domains
## Workflow
### Step 1 — Detect the Task File
The user has a file open in the IDE. Read it first — it's the anchor for context.
**Read the file from `ide_opened_file`** (already provided in the prompt as a system-reminder). Extract:
- The file path
- Any relevant content (look for task descriptions, TODOs, comments about what needs doing)
### Step 2 — Find Project Memory
Determine the project directory. Common patterns:
- `~/.claude/agents/{slug}/` — Agent/PD project
- Current working directory or parent `CLAUDE.md`
Read the following files if they exist (in order of priority):
```
memory/next-session.md ← session-start briefing, carries forward context
memory/decisions.md ← decisions made so far
memory/heartbeat.md ← recent status / what's been worked on
memory/state.md ← machine-readable state snapshot
memory/TODOS.md ← outstanding tasks
CLAUDE.md ← project-level instructions and constraints
PROJECT.md ← project overview and goals
```
### Step 3