Skip to content
Back to skills

Agent Brief

ASecurity

How Dodaios writes the prompt it hands to another agent: a coding agent, a pane, a team thread, a mission worker or a routine. Distilled from the frontier labs' own prompting guides for their current models: look in the repository first, give the outcome and the reason, what the agent cannot see, a "done" it can check itself, the boundaries the person drew, and then get out of the way. By default the agent finishes the job: it checks its own work and ships it. Step scripts, guessed fixes, sho...

  • 475 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentspythonrustgogitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add PersonalJarvis/PersonalJarvis --skill agent-brief --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Brief?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Brief
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/personaljarvis-agent-brief/badge)](https://www.skillsdirectory.com/skills/personaljarvis-agent-brief)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
schema_version: "1"
name: agent-brief
version: "1.2.0"
description: >-
  How Dodaios writes the prompt it hands to another agent: a coding agent, a
  pane, a team thread, a mission worker or a routine. Distilled from the
  frontier labs' own prompting guides for their current models: look in the
  repository first, give the outcome and the reason, what the agent cannot
  see, a "done" it can check itself, the boundaries the person drew, and then
  get out of the way. By default the agent finishes the job: it checks its own
  work and ships it. Step scripts, guessed fixes, shouted rules and git brakes
  nobody asked for make current models worse. A brief for a coding agent is
  checked before it is sent.
when_to_use: >-
  Use when you are about to write a brief for another agent (the prompt of
  workspace-orchestrate, or delegate to coding_agent, pane, team_thread,
  mission, routine or agent) and this guide is not already in the
  conversation. Not for replies to the person.
category: meta
tags: [meta, delegation, prompting, coding-agents, briefs]
author: builtin
license: Apache-2.0
triggers: []
requires_tools: []
risk_policy:
  default_tier: monitor
token_budget_estimate: 3600
---

# Writing a brief for another agent

The agent sees your brief and the repository. It does not see this
conversation, the person, their screen or what you already know. A current
frontier agent is strong, follows instructions literally and checks its own
work. So the brief carries the goal, the reason, what the agent cannot see, a
way to tell it is done, and the limits. The agent picks the route.

Test every brief by one question: could a capable engineer who just walked in,
with no access to this chat, do excellent work from this text alone?

## Look first, then brief

What costs an agent is a missing fact, not plain wording. A brief does not get
better by sounding technical; it gets better when it names the real thing.
Rewriting a request helps only with facts read from the repository, and a
detail added from memory makes the result worse than no rewrite.

For a new job for a coding agent, get the facts before you write:
`delegate` with `options.prepare: true`, the target, and what the person
wants as `task`. Nothing is sent. The result holds

- **starting points**: files whose names and contents fit the request, with
  the lines that made them fit. Name the ones that really fit, with the
  symbol when you know it. Drop the rest: they are candidates, not facts.
- **the project's own checks**: the commands its files call the end of a
  change. Use them in "done" instead of "tests pass".
- **what their words mean**: entries of this project's glossary for words the
  person used.
- **what their words leave open**, and for this kind of work which facts make
  a brief precise (a defect: observed, expected, how to trigger it; the
  interface: the component by its name in the code, its state, each visible
  fault; speed: the measure, its value now, the target).
- **open points**: what the request does not say. Settle each from memory,
  the conversation or the repository. Ask the person only when none of those
  answers it and the answer changes the work: all open points on one question
  card. Otherwise write your reading into the brief as `Assumption: ...`.
- **the recipient**: what its vendor's guide says about writing for this
  model.

When you worked out what a word of theirs stands for ("the side bar" is the
left rail, `Rail.tsx`), pass it in `options.resolved` as
`[{"said": ..., "means": ...}]` with the hand-off. It is remembered for the
project, also when the word was misheard in dictation. An entry is a word or a
short name of up to four words, and what it means is the thing in the code. A
sentence, a rule or a decision ("the agent asks you first") belongs in the
brief: it is not remembered.

## What a brief contains

1. **The outcome, first.** One or two sentences that say what is true when
   the work is done. Use the verb you mean. "Fix", "add" or "change" gets a
   change; "look at" or "suggest" gets a suggestion. When the person only
   described a problem or asked a question, the deliverable is an assessment.
   Say "find the cause and report it; change nothing".
2. **Why it matters.** The person's intent, who the result is for and what
   breaks while it is wrong. Agents make better decisions about things you did
   not foresee when they know the purpose. A useful shape: "This is for X.
   They need it to Y. With that in mind: ...".
3. **What the agent cannot see.** Replace every pointer into the conversation
   ("the second option", "like yesterday", "that bug") with the thing itself.
   Quote error text, names and numbers verbatim. Give the repro steps when
   there are any. Name the real starting files, the branch, the issue or the
   PR. Pass on decisions the person already made and approaches already ruled
   out. Where their words leave a fact open ("looks bad", "is broken",
   "somehow"), say the fact: which fault, what was observed and what was
   expected, which value. Leave out what the agent can read in a minute; do
   not narrate how the code works.
4. **Done when.** What the agent can check itself: the case that fails today
   and must pass (ideally a test that fails before the fix and passes after
   it), a command and the output it shows, a page that shows X, a merged PR
   with green checks. Name the project's own check command. "Tests pass" alone
   is true of every change and says nothing about this one. A change ends
   shipped (see "Finishing" below).
5. **Boundaries.** Only the limits the person drew or the situation needs,
   usually one to three lines. For example: what must not change (an API, a
   public behaviour, other people's branches); what needs approval first (an
   irreversible step outside the repository: deleting data, sending messages,
   spending money, force-pushing over someone's work); and the scope ("keep
   the fix minimal" only when that is what they want). Write approvals as
   conditions ("ask before you delete files"), not as absolutes. The agent
   takes "never" literally. Git is not a boundary by default: see
   "Finishing".

## What you leave out

A coding agent that Dodaios starts has standing rules, given once and not by
you: nobody is watching the run, the order sets the scope, a step is done and
not announced, each claim rests on a result from the run, and the report
leads with the outcome in the person's language. Do not repeat any of that in
a brief. The person's own words are added to your brief verbatim, so you need
not quote the whole message; quote the error text and the names.

## What happens to your brief

- **It is checked before it is sent.** A step script, a path that does not
  exist, a suspected cause stated as a fact, capital-letter rules, a "done"
  that names no check, a git brake the person did not ask for or words that
  leave the agent guessing send it back to you once, with what to fix and the
  facts to fix it with. Nothing was started. Revise and call again; the
  revised brief is sent as it is.
- **It is assembled for the model that receives it.** The order of its parts
  and a closing line follow that vendor's guide. You write one brief.
- **The effort is chosen from the job** when the person named none. Pass a
  model or an effort only when they asked for one.
- **Its done-when points are checked** when the agent reports: against the
  commands it ran, the files in its folder and its pull request. A check that
  passed before the last file change counts as open. The result comes back
  with the report and outranks it. Send what is contradicted back to the same
  agent before you call the work done. A follow-up you send without done-when
  points goes on with the thread's order: its points are checked again when
  that turn ends.
- **Its questions come to you first.** The agent asks through its own
  question tool, so write what it should ask and when ("ask which file format
  before you write the export"), not how to ask, and do not tell it to end
  its turn on the question. The question arrives with its job; answer it with
  `workspace-orchestrate`, action `respond`, only when the person's own
  words, a decision they made or the repository settles it, and tell them
  what you answered. Otherwise ask them. Approvals and plan decisions are
  theirs alone.

## Finishing: the agent ships

Many people no longer read, write or review code; they trust the agent. So
unless the person said otherwise, a change ends shipped: the agent reviews
its own work, runs the tests, and when they and CI are green it commits,
pushes and merges, the way the repository lands work (a pull request and its
checks where there is one). Its own review is part of the job; do not count on
the person reading the diff.

- Write no git brakes the person did not ask for: no "do not push", "do not
  merge", "open the PR with a hold label for a human", "work in your own
  worktree, change nothing in the main folder" or "do not prune worktrees".
  How to branch, where to work and how to land is the repository's rules and
  the agent's call.
- When other agents work in the same repository, say who works on what; the
  agent decides how to keep out of their way.
- The person may want more caution ("I approve every PR myself") or other
  habits ("always with tests", "write the prompts in English"). Their
  standing brief wishes are kept with `agent-briefs-set` and reach you beside
  each message; they win over this default. A limit the person sets in the
  request wins too.
- The real limits stay whenever a task touches them, whatever the wishes
  say, unless the person asked for that very step: nothing posted or sent in
  the person's name (a post, a mail, a review comment), no payments, no
  untrusted code (a stranger's pull request, a downloaded script) run with
  the person's real credentials.
- Work that changes nothing (a review, an investigation, a question) has
  nothing to ship; its deliverable is the report.

## What makes results worse

- **Step-by-step scripts.** A numbered list of commands binds the agent to
  your route and to every guess in it. Describe a procedure only when the
  order is itself a requirement, such as a release or a safety check, and say
  so.
- **Your guessed fix.** Give the symptom and the goal. If you have a hunch,
  call it an unverified hypothesis. An agent follows a wrong direction it is
  handed, and a brief that prescribes a solution once had an agent re-build
  something that was already built.
- **Shouting.** CRITICAL, MUST, NEVER in capitals and "if in doubt, use X"
  make current models over-apply the rule. Write a plain sentence with the
  reason.
- **Generic rules the agent already follows.** "Write clean code", "no
  unrelated refactors", "be thorough", "double-check everything". These add
  noise, cause over-searching and over-verification, and hide the one rule
  that matters. Give one concrete check instead.
- **Asking it to show or explain its reasoning or thought process.** On some
  models this triggers a refusal or a fallback to a weaker model. Ask for
  findings and the evidence for them.
- **Pressure.** Time limits, token or context counters, "stop at the first
  error", "you are running out of room". Agents cut their own work short.
- **Contradictions and repeats.** Read the brief once for two rules that pull
  against each other. Say each thing once.
- **Role costumes.** "You are a world-class engineer" adds nothing. One
  sentence that does change behaviour: "You own this code and its design is
  up to you." It makes the agent consolidate and clean up beyond the task, so
  use it only when the person wants broad change.

## Length and language

As long as the agent needs, not longer. A one-line job gets one line. Most
coding briefs fit in 5 to 25 lines. Hard or unattended work gets more context,
not more steps. Use short headings or a few bullets when they help a reader;
none of the sections is compulsory.

Write a brief for a coding agent in English unless the person's brief wishes
say otherwise: the repository's artifacts are English, and a brief in another
language pulls commit messages and comments after it. The agent answers the
person in their language by itself.

## By kind of work

- **Bug.** Observed symptom, verbatim error, repro steps, where it happens,
  what was tried. "Done" names the failing case that must pass, ideally a test
  that fails before the fix and passes after it.
- **Feature or change.** Outcome for the user, why, the constraints, and how
  to see it working (a test, a screenshot, a command).
- **Investigation or question.** The question, the evidence wanted, and "report
  only; change nothing".
- **Review.** What to review (diff, PR, files) and the requirement it must
  meet. Ask for every finding with its severity and file:line. A "high
  severity only" rule makes the agent drop real findings.
- **Long or unattended run.** A done condition the agent can check by itself,
  and where to note progress (for example a checklist file it updates).
- **Routine (repeats on a schedule).** Describe the job and the judgement it
  needs: what counts as new or worth reporting, what to remember between runs,
  where and in which language to report, and what it must never do. Do not
  write a fixed command list. The tools and the data change between runs, and
  the judgement does not. A routine has no standing rules: say that nobody
  watches the run and how to report.
- **Several agents at once.** Give each agent its own outcome and its own
  files, and tell each one what the others own, so they do not collide. How
  each keeps out of the others' way (a branch, a worktree) is its own call.

## Shape (adapt; drop what does not apply)

```
<Outcome in one or two sentences, with the verb you mean.>

Why: <intent, who it is for, what breaks while it is wrong.>

Context: <verbatim errors, repro steps, the real starting files, decisions
already made, approaches ruled out, each open word as the fact it stands for.>

Done when: <what the agent can check itself: the failing case that must pass,
the project's check command and what it shows, visible behaviour, PR state.>

Boundaries: <only the limits the person set, and the real limits the task
touches.>
```

## Example

Weak: "1. Open sync.py. 2. Add a retry with exponential backoff to
upload(). 3. Run the tests. 4. Make sure everything works. IMPORTANT: do not
break anything!"

Strong: "Uploads to the sync server fail about one time in five on a slow
connection, and the person loses notes when that happens. The log line is
`UploadError: timed out after 10s` (sync/client.py). Make uploads survive a
slow or flaky connection without losing or duplicating a note. Done when a test
that simulates a timeout fails before the change and passes after it,
`python -m pytest tests/sync` is green and the fix is merged with CI green. Do
not change the server API."

## Before you send

- You looked first: the starting files are real and the check is the
  project's own.
- The outcome and the reason are in the first lines.
- Nothing points into the conversation; error text and names are verbatim.
- No word of theirs is left open; a suspicion is called unverified.
- "Done" can be checked by the agent itself and belongs to this task.
- No step script, no shouting, no request to show reasoning, nothing about
  reporting or autonomy.
- The boundaries are the person's, not a list of generic rules.
- No git brake they did not ask for; a change ends shipped unless their
  wishes or the request say otherwise.
- Their standing brief wishes are applied.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.