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 agentmods add skills/spinabot/brigade/taskflownpx skills add spinabot/brigade --skill taskflowgit clone --depth 1 https://github.com/spinabot/brigadeWhat 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 | $0.00080 | $0.01201 |
| Opus 5 | $0.00040 | $0.00600 |
| Sonnet 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 2d 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.
This is a copy
97% identical to taskflow — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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.
- 2d ago First seen · 150 lines · 80 tokens per session scan A fdffab23ebaa
taskflow is a skill published in the GitHub repository spinabot/brigade (3,342 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 1,201 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to taskflow, differing in 2 lines, and is treated as a copy.
Other skills, from other repositories
extension-authoring
Step-by-step guide to building, installing, and testing a SynapsCLI extension — manifest, handshake, tool, hook, install, and test.
loopplane
Initialize and run a durable, plan-driven agent workflow inside any project using external CLI coding agents.
pixel-art
Pixel art w/ era palettes (NES, Game Boy, PICO-8).
mcporter
List, auth, and call MCP servers/tools from the terminal.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
develop-web-game
Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.