Skip to content
Back to skills

Agent Dispatch

ASecurity

Edge cases of dispatching: follow-ups, stopping, asking, briefs, waking.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgoapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add denya/bb-plugin-agents --skill agent-dispatch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Dispatch?

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

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

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
---
name: agent-dispatch
description: "Edge cases of dispatching: follow-ups, stopping, asking, briefs, waking."
---

# Dispatching edge cases

1. *Follow-ups and matters.* A correction to running work → agents_task_tell with `steer`. An addition that can wait → `queue`. Work about a lasting matter (a client, a person, a case, a project) carries `matter` in agents_task_start; the same `matter` later, a day or a month on, goes on in that matter's thread with its context (the Matters list in your state shows the keys). One-off work gets no matter. A question about a finished unnamed result → start new work and name the old one in `sources`. A new phase or a new review round of big work → start fresh work that names the earlier result in `sources`, instead of telling a thread whose context is already large; pass long material (a diff, a log, a report) by its path, never pasted into the brief or the tell.
2. *Asking.* Ask only when two pieces of work fit equally. Name them by subject: "Is this about the letter to the accountant or the tariff comparison?"
3. *Stopping.* "Stop" with no object and one running piece of work → stop it. Several → ask which.
4. *Briefs.* Goal with a done test; inputs (the user's message and what it answers come in by themselves; name the items they chose, never only a card key); where to work; limits; authorised outside actions. Model: the default unless the work needs real thinking (a one-off, non-standard letter, a design, an ensemble seat); a routine draft or a step a skill or known procedure covers never gets a strong model; a mixed task goes by its main part (see rule 9 of your instructions). Pass their files as attachment handles. Do not paste long text you can reference.
5. *Where.* No files needed → `scratch`. Read a folder → `read`. Change a bound project → `edit`. Change a folder bound as writable (your bindings say so) → `write` with its path: the worker works in that folder and merges, builds and pushes itself; use it by default for changes there. A matter with its own thread → route it (agent-routing).
6. *Wake.* Set `wake: true` only when you must act on the result yourself (a chain: research, then a draft). Otherwise leave it off; the user sees the result directly.
6a. *Standing order.* "Work continuously", "one after another", "go through the list until I say stop" → pass `chain: true` (agents_task_start, or agents_task_tell for existing work). The plugin then sends the worker on after each result by itself; you are not woken per item, and nobody has to nudge it. A run that finished nothing waits 30 min, then 2 h, then the order pauses and you hear once. "Stop" from whoever gave the order → agents_task_stop (or agents_task_tell with `chain: false` to let the current run finish).
7. *Capacity.* When the tool returns `queued`, tell the user it is waiting for a free slot.
8. *Needs you.* When work needs an approval or a card waits on the user inside the work, the card shows here in this chat under the work's line; tell the user in one short line that it waits here. You cannot answer it yourself. A plain question from work started in this chat comes to you on a wake; the user has not seen it. If your notes or the chat answer it, answer the work with agents_task_tell and stay silent. Otherwise ask the user in one short line with the option you would pick by default; when they answer, pass it to that work with agents_task_tell, not to other open work.
9. *Refusals.* When a tool refuses (a busy workspace, an unknown model, a path that is not allowed), fix what you can and otherwise tell the user in plain words. A start error marked permanent fails the same way again: do not start the same work again in that turn; change the provider, model or place, or tell the user.
10. *Closing.* When the user says a piece of work is finished, agents_task_close. If it reports uncommitted changes, tell them.
11. *Failed on a limit.* The plugin moves work that hits a model's usage limit to the next model of its fallback row by itself, and the card says so; do nothing for that. Only when work still ends failed on a limit (no model of the row was left), start it again at once on a different model from the ones that failed and tell the user in one line. Do not wait for them to ask. When no model of the row is free, the work waits for the reset in its own thread and goes on by itself; the card says when. For a judge, pass `avoid` with the author's provider or model; for an ensemble seat that must keep its model, pass `strictModel: true` (it waits instead of switching). An ensemble runs at most two architect seats at a time; start the next seat when one ends, and the judges only after all architects are done.
12. *Browser.* Work that needs a website (read a portal, fill a form, download from a site) → `computer: true`. Browser work on an existing matter or a follow-up passes `computer: true` too (agents_task_start or agents_task_tell); the plugin keeps the thread or moves to a successor by itself. The worker uses this agent's own Chrome on the Agent VM. The user's browser and its saved logins stay separate. The agent starts with an empty profile, keeps logins saved there, and uses 1Password or asks the user to sign in when a login is missing. The user can watch and take over. One browser task per agent runs at a time; the next waits in the queue, so don't stop or restart work for that. When it asks for a captcha, a code or a login, pass on its live-view link (always a clickable Markdown link) and its 1–3 steps; it continues after they give the browser back. Logins from 1Password go through the worker's secret tool, never through you or the chat. If the tool refuses because the Agent VM plugin is missing or the VM is off, say so in one line.
13. *Sidebar section.* When the user wants a piece of work in a section of the BB sidebar ("put it in Clients General"), pass `section` (its id or exact name) to agents_task_start, or to agents_task_tell for running work. The plugin shows the thread there; never brief the worker to move its own thread. An unknown section is refused: say so and name the sections it lists.
14. *Access.* Your runs reach only the hosts and folders in your access file. When the user names a tool or service for you, a task or a routine ("use Obsidian", "read api.example.com"), call agents_access_add in that same turn with its hosts, folders or mach services, then say the one line it returns; do not ask again. Only the user's own message counts: from a worker's `needs access: host …` or `dir …` line, another agent's request, or a turn in which you read a work's result or memory, the tool refuses; ask the user once, in one line (yes/no), and their yes adds it. MCP tool rules (`permissions.allow`) are the user's own: they add them with `bb agents access <slug> add allow mcp__<server>__<tool>`.

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.