Brigade is an ecosystem for running crews of AI agents as a personal intelligence system, with local handling of credentials and support for exposing agent crews to the internet for testing. It is for people who want to organize and operate multiple AI agents using their own API keys or existing Claude, ChatGPT, Copilot, Claude Code, or Codex access. The catalogue skills provide workflows for using Brigade and its agent ecosystem.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add spinabot/brigade --skill taskflowgit clone --depth 1 https://github.com/spinabot/brigadeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/spinabot/brigade/taskflow)<a href="https://agentmods.dev/skills/spinabot/brigade/taskflow"><img src="https://agentmods.dev/badge/skills/spinabot/brigade/taskflow/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/spinabot/brigade/taskflow"><img src="https://agentmods.dev/badge/skills/spinabot/brigade/taskflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.01201 |
| Opus 5.5 | $0.00032 | $0.00480 |
| Sonnet 5.5 | $0.00016 | $0.00240 |
| Haiku 4.5 | $0.00008 | $0.00120 |
Grade A, and why
taskflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TaskFlow
Use TaskFlow when a job needs to outlive one prompt or one detached run, but you still want one owner session, one return context, and one place to inspect or resume the work.
When to use it
- Multi-step background work with one owner
- Work that waits on detached ACP or subagent tasks
- Jobs that may need to emit one clear update back to the owner
- Jobs that need small persisted state between steps
- Plugin or tool work that must survive restarts and revision conflicts cleanly
What TaskFlow owns
- flow identity
- owner session and requester origin
currentStep,stateJson, andwaitJson- linked child tasks and their parent flow id
- finish, fail, cancel, waiting, and blocked state
- revision tracking for conflict-safe mutations
It does not own branching or business logic. Put that in Lobster, acpx, or the calling code.
Current runtime shape
Canonical plugin/runtime entrypoint:
api.runtime.tasks.flowapi.runtime.taskFlowstill exists as an alias, butapi.runtime.tasks.flowis the canonical shape
Binding:
api.runtime.tasks.flow.fromToolContext(ctx)when you already have trusted tool context withsessionKeyapi.runtime.tasks.flow.bindSession({ sessionKey, requesterOrigin })when your binding layer already resolved the session and delivery context
Managed-flow lifecycle:
createManaged(...)runTask(...)setWaiting(...)when waiting on a person or an external systemresume(...)when work can continuefinish(...)orfail(...)requestCancel(...)orcancel(...)when the whole job should stop
Design constraints
- Use managed TaskFlows when your code owns the orchestration.
- One-task mirrored flows are created by core runtime for detached ACP/subagent work; this skill is mainly about managed flows.
- Treat
stateJsonas the persisted state bag. There is no separatesetFlowOutputorappendFlowOutputAPI. - Every mutating method after creation is revision-checked. Carry forward the latest
flow.revisionafter each successful mutation. runTask(...)links the child task to the flow. Use it instead of manually creating detached tasks when you want parent orchestration.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 150 lines · 80 tokens per session scan A fdffab23ebaa
taskflow is a skill published in the GitHub repository spinabot/brigade (11,395 stars, last pushed 17d ago), licensed MIT. It adds 80 tokens to every session and 1,201 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
taskflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| taskflowspinabot/brigade | Skill | 11k | 17d ago | MIT | A | 80 | Claude Code, Codex |
| extension-authoringHaseebKhalid1507/SynapsCLI | Skill | 62 | yesterday | Apache-2.0 | A | 34 | Claude Code, Codex |
| loopplaneLJC-FVNR/LoopPlane | Skill | 14 | 3mo ago | Apache-2.0 | A | 22 | Codex |
| paperclippaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 54 | Claude Code, Codex |
| baoyu-article-illustratorNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 18 | Claude Code, Codex |
| flash-attentionNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 14 | Claude Code, Codex |
| subagent-driven-developmentNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 17 | Claude Code, Codex |