---
name: agent-task-brief
description: Write a complete, self-contained brief for handing work to another agent (a subagent, a background coding agent, a cloud session, or an outside contractor using AI) so it can succeed without the context in your head. Use when delegating, spawning, or forking work, when the user says "hand this off", "write a prompt for another agent", "brief a subagent", or "write up a task for a contractor", and when a previous delegation came back wrong or incomplete. Covers goal, context, what is already ruled out, files to read, scope boundaries, definition of done, verification, and the report-back format. It does not track the agent after launch; use coding-agent-handoff for that.
license: MIT
metadata:
  title: Agent Task Brief
  summary: Brief a subagent or coding agent like a peer, with goal, context, scope, definition of done, and how to report back.
  category: agent-ops
  tags: [delegation, agents, prompts, coding]
  version: "1.0.0"
  author: Austin Christensen
  publisher: Christensen Equity
  related: [coding-agent-handoff, workflow-designer, tech-spec, review-to-prs]
---

# Agent Task Brief

The agent you delegate to knows only what you write down. Everything you learned in the last hour, every dead end, every preference the user stated, is invisible to it. Most bad delegations are not bad agents; they are briefs that assumed shared context. Write the brief you would want if you were dropped into the task cold.

## When to use

- Spawning a subagent, background agent, or parallel session.
- Handing a task to a contractor or teammate who will work with their own AI tools.
- A delegated task came back wrong, and the brief needs repair before retrying.

## Before writing

If you cannot state the goal and the definition of done in two sentences each, you do not understand the task well enough to delegate it. Do a little more investigation first. Also ask whether delegation is worth it: a handful of tool calls is usually faster to do yourself.

## Workflow

1. **State the goal** as an outcome, not an activity: "Users can reset their password by email", not "work on auth".
2. **Give the why.** One or two sentences of motivation help the agent make good judgment calls you did not anticipate.
3. **Hand over the context it cannot rediscover cheaply**: decisions already made and why, user preferences, constraints (deadlines, budgets, compatibility), environment quirks.
4. **Say what is ruled out.** Approaches you already tried or rejected, with the reason. This prevents the agent from spending its budget re-discovering your dead ends.
5. **Point at sources, do not paste them.** List the files, docs, tickets, or URLs worth reading, with a note on why each matters. Keep pasted excerpts to the few lines that are essential.
6. **Draw the scope boundary.** What it may change, what it must not touch (shared config, migrations, other teams' code, production), and whether it may install dependencies, push, or open PRs.
7. **Define done** as checkable criteria: tests that pass, behavior that can be demonstrated, files that exist, a PR opened against a named branch.
8. **Require verification.** Tell it which commands to run (test, typecheck, build, lint) and to report their actual results. "I believe it works" is not verification.
9. **Specify the report-back format**: what changed, evidence of verification, open questions, judgment calls it made, and anything it could not do. Ask for findings to be stated plainly, with uncertain items marked as such.
10. **Keep your hypothesis out of review tasks.** When asking for an independent review or diagnosis, give the evidence, not your conclusion; an agent handed a theory tends to return it confirmed.
11. **One brief, one job.** Split unrelated tasks into separate briefs so each result can be judged on its own.

## Output

```markdown
## Goal
<outcome in one or two sentences>

## Why
<motivation that informs judgment calls>

## Context
- <decisions, constraints, preferences>

## Already ruled out
- <approach>: <why it failed or was rejected>

## Read first
- <path or link>: <why it matters>

## Scope
- May change: <...>
- Must not touch: <...>
- Allowed actions: <push / open PR / install deps / none>

## Done when
- [ ] <checkable criterion>

## Verify by running
- <command>

## Report back with
- What changed (files, PR link)
- Verification output
- Judgment calls and assumptions
- Open questions and anything not done
```

## Guardrails

- Never include secrets in a brief; name the environment variable or store instead.
- Do not grant broader permissions than the task needs, and say explicitly when the agent must stop and ask.
- Treat the returned report as claims to check. Verify key evidence (the PR exists, the tests ran) before telling the user the work is done.
- If you delegated a task, do not also do it yourself in parallel; wait for the result or cancel the delegation.
