# Subagent brief

> Subagent brief is an open-source agent skill for developer tools. Forces agents to compress subagent prompts into short briefs before spawning. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/LichAmnesia/lich-skills/tree/main/skills/subagent-brief
- **Repository:** https://github.com/lichamnesia/lich-skills
- **GitHub stars:** 233
- **License:** MIT
- **Skill name:** subagent-brief
- **Collection:** https://github.com/LichAmnesia/lich-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

Subagent Brief is a pre-flight checklist for Claude Code agents that are about to call the Task or Agent tool. It argues that each subagent cold-starts and re-tokenizes its entire prompt, so passing long files or full repo dumps multiplies token cost across parallel fan-outs. The skill walks the agent through five rules: strip its own conversation context, replace file contents with paths the subagent can read, replace raw context with short summaries, keep the brief under about 200 words, and check whether parallel subagents really need the same shared context.

The skill also supplies a brief template with fields for role, goal, inputs, constraints and the expected return, plus a short list of red flags to catch oversized prompts. After a subagent returns, it suggests how to judge whether the brief was too vague or too thin and to adjust it. The guidance is plain instructions in a single SKILL.md file with no scripts.

## When your agent uses it

> Use BEFORE invoking the Task or Agent tool to spawn a subagent. Anthropic does NOT share prefix cache across subagents — every subagent cold-starts and re-tokenizes its full prompt (system prompt + tool definitions + the context you handed it). Spawning N subagents with full context = N× token cost; a single fan-out can burn an entire Max-plan day. This skill enforces a pre-flight discipline: compress every subagent prompt into a ≤200-word brief before spawning. Triggers when the agent is about to call Task / Agent tool, especially with long files, full repo dumps, or N parallel subagents on similar work.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/LichAmnesia/lich-skills/tree/HEAD/skills/subagent-brief)
- [License: MIT](https://github.com/LichAmnesia/lich-skills/tree/HEAD/skills/subagent-brief)

## Features

- **Pre-spawn prompt check:** Runs a checklist before any Task or Agent call to catch oversized subagent prompts.
- **File paths over pasted content:** Directs the agent to hand subagents file paths they can read rather than embedded file text.
- **Brief template:** Provides a fixed layout for role, goal, inputs, constraints and expected return.
- **Fan-out cost check:** Asks whether parallel subagents share the same long context and suggests sequential handling or a shared brief.
- **Rationalization table:** Lists common excuses for pasting full context and explains why each one is costly.

## Good for

- Plan a subagent prompt for reading a large module and reporting its public API
- Decide whether a set of parallel review tasks should run as one subagent or several
- Shrink a long repository-analysis prompt into a short brief before delegating
- Check whether a multi-file refactor should be split across separate subagent calls

## Install

### Claude Code

This skill ships in the `lich-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add LichAmnesia/lich-skills
/plugin install lich-skills@lich-skills
```

Or copy only this skill to `~/.claude/skills/subagent-brief`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/subagent-brief &&
cp -R "$tmp/skills/subagent-brief" ~/.claude/skills/subagent-brief &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/subagent-brief` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/subagent-brief` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/subagent-brief &&
cp -R "$tmp/skills/subagent-brief" ~/.agents/skills/subagent-brief &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/subagent-brief` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/subagent-brief` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/subagent-brief &&
cp -R "$tmp/skills/subagent-brief" ~/.cursor/skills/subagent-brief &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/subagent-brief` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/LichAmnesia/lich-skills.git --path skills/subagent-brief
```

Or copy the folder to `~/.gemini/skills/subagent-brief` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/subagent-brief`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/subagent-brief &&
cp -R "$tmp/skills/subagent-brief" ~/.copilot/skills/subagent-brief &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/subagent-brief` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git
```

Then copy `lich-skills/skills/subagent-brief` into your agent's skills folder as `subagent-brief`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Subagent brief trigger?

It is meant to be used before the agent calls the Task or Agent tool to spawn a subagent, especially with long files, full repo dumps or several parallel subagents on similar work.

### What does the skill require to run?

It has no scripts and does not set allowed tools. It is a single SKILL.md file with written guidance.

### Does Subagent brief change how subagents are billed or cached?

It does not change caching. It asks the orchestrating agent to write shorter prompts, based on the stated claim that Anthropic does not share prefix cache across subagents.

### Is Subagent brief skipped for some tasks?

Yes. The skill says not to use it for a single one-line subagent task, when the subagent truly needs the full document, or when token cost does not matter.

### How do I install Subagent brief in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/subagent-brief to use it in all your projects, or to .claude/skills/subagent-brief in one project. Or install the lich-skills plugin, which includes it: /plugin marketplace add LichAmnesia/lich-skills, then /plugin install lich-skills@lich-skills.

### Does Subagent brief run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Subagent brief?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Subagent brief?

The closest alternatives to Subagent brief are Writing agents, Skill creator, Independent review, Principle guard the context window and Delegate.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Writing agents](https://ai-powered.com/skills/writing-agents-xiaolai): Writing agents is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Independent review](https://ai-powered.com/skills/independent-review): Independent review is an open-source agent skill for developer tools.
- [Principle guard the context window](https://ai-powered.com/skills/principle-guard-the-context-window): Principle guard the context window is an open-source agent skill for developer tools.
- [Delegate](https://ai-powered.com/skills/delegate): Delegate is an open-source agent skill for developer tools.
- [Conventions](https://ai-powered.com/skills/conventions-xiaolai): Conventions is an open-source agent skill for developer tools.
- [Multi agent handoff](https://ai-powered.com/skills/multi-agent-handoff): Multi agent handoff is an open-source agent skill for developer tools.
- [Dispatching parallel agents](https://ai-powered.com/skills/dispatching-parallel-agents): Dispatching parallel agents is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/subagent-brief
