---
name: subagent-briefing
description: Use when delegating work to a subagent and writing its brief/dispatch prompt — spawning parallel agents, writing Task/Agent prompts, farming out research or production work to worker agents. Also when subagent output came back in the wrong shape, got lost, or two agents overwrote each other's files.
title: subagent-briefing
canonical_url: https://skilld.dev/gh/ccanbulmus-tech/claude-skills/subagent-briefing
last_updated: 2026-09-20T03:59:21.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install ccanbulmus-tech/claude-skills/subagent-briefing`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/subagent-briefing`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/ccanbulmus-tech/claude-skills/subagent-briefing) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/subagent-briefing`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/subagent-briefing --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/subagent-briefing --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Subagent Briefing

## Core principle
A subagent knows ONLY what the brief says. A constraint missing from the brief is a constraint the agent doesn't have. A weak brief means the work gets done twice.

## The brief's 7 REQUIRED sections — in this order
Writing a brief = filling these 7 slots. An empty slot ships as a gap.

1. **THE BIG PICTURE** — why this task exists, who is waiting for it, where the result will be merged.
2. **THE TASK (atomic)** — one sentence: what to produce + its definition-of-done.
3. **CONSTRAINTS** — what NOT to touch · what NOT to delete · which files/folders belong to ANOTHER agent · which paths are single-owner.
4. **SOURCES** — absolute paths of files to read. Say "read, don't invent" explicitly.
5. **VERIFICATION STEPS** — each step must demand a MEASURED NUMBER ("how many files scanned", "worst value found"), never just "check it".
6. **RETURN FORMAT** — with a line cap (e.g. "≤25 lines"), field-by-field schema; raw dumps forbidden.
7. **FALSE-GREEN WARNING** — "before saying PASS/done, show how many units you processed; empty output does not count as PASS."

## Two pre-dispatch checks (both bit us in production)

**① TOOLSET CHECK — can this agent type actually do the job?**
An agent tasked with writing files must HAVE a write tool; one tasked with running commands must have shell access. Real incident: two read-only research agents were told to write reports to disk — no write tool, output lost, work redone. Read the agent type's tool list before dispatch. If the tools don't fit: pick another type, or have the agent return text and write it yourself.

**② IS THE OUTPUT PATH SINGLE-OWNER?**
Two parallel agents must never write to the same folder. Real incident: two production lanes wrote into one folder; one deleted the other's files. Give each agent its own output directory; the orchestrator merges.

## Working discipline to embed in every brief
- Fabrication = 0. No source → answer "NOT FOUND", never guess.
- Tag every finding: `[V]` verbatim from source · `[I]` inferred · `[C]` needs confirmation.
- One agent = one atomic task = one return. No wandering, no self-extension.
- Return compressed synthesis (schema-coded), not raw dumps — protect the orchestrator's context.

## Quick checklist
| Check | Pass? |
|---|---|
| All 7 slots filled | ☐ |
| Task truly atomic (one return suffices) | ☐ |
| Constraints name what's off-limits | ☐ |
| Verification demands numbers | ☐ |
| Return format has a line cap | ☐ |
| Agent's toolset can do the job | ☐ |
| Output path owned by this agent only | ☐ |

## Common failures
| Mistake | Consequence |
|---|---|
| "Research this and write a report" (no slots) | Agent invents a format; syntheses don't merge |
| No constraints written | Agent overwrites/deletes working files |
| "Check it" (no number demanded) | Agent says "checked, looks fine"; nothing measured |
| No line cap | Raw dump floods the orchestrator's context |
| Toolset not checked | Output can't be written; work redone |
| Two agents, one folder | File loss (it happened) |
| Warnings hand-copied into each brief | Session ends, the habit dies — bind it to a skill |
