taskflow

taskflow is a skill for Claude Code, Codex from spinabot/brigade. It costs 80 tokens per session (1,201 once invoked), scanned A, original, MIT.

A durable job tracker for work that continues across separate tasks, prompts, or background runs. It keeps one owner, linked child tasks, saved state, and statuses such as waiting, finished, failed, or blocked.

In plain words
What is it for?
Use it to manage multi-step background jobs, resume paused work, connect related tasks, and report one final result to the owner.
Why use it?
It prevents long-running work from losing its context or progress when a prompt ends, a task waits for a reply, or a system restarts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to manage multi-step background jobs, resume paused work, connect related tasks, and report one final result to the owner.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spinabot/brigade/taskflow
About the project

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.

spinabot/brigade · 11,395 stars · on GitHub · brigade.spinabot.com

Install

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.

Any agent
npx skills add spinabot/brigade --skill taskflow
Clone the repo
git clone --depth 1 https://github.com/spinabot/brigade

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for taskflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/spinabot/brigade/taskflow/github.svg)](https://agentmods.dev/skills/spinabot/brigade/taskflow)
Your own site
<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.

agentmods 80×15 button for taskflow

Your own site · 80×15
<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>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,201 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3mo ago against content hash fdffab23ebaa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • taskflow — 97% identical, 2 lines differ
  • taskflow — 88% identical, 14 lines differ
skills/taskflow/SKILL.md · 150 lines

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, and waitJson
  • 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.flow
  • api.runtime.taskFlow still exists as an alias, but api.runtime.tasks.flow is the canonical shape

Binding:

  • api.runtime.tasks.flow.fromToolContext(ctx) when you already have trusted tool context with sessionKey
  • api.runtime.tasks.flow.bindSession({ sessionKey, requesterOrigin }) when your binding layer already resolved the session and delivery context

Managed-flow lifecycle:

  1. createManaged(...)
  2. runTask(...)
  3. setWaiting(...) when waiting on a person or an external system
  4. resume(...) when work can continue
  5. finish(...) or fail(...)
  6. requestCancel(...) or cancel(...) 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 stateJson as the persisted state bag. There is no separate setFlowOutput or appendFlowOutput API.
  • Every mutating method after creation is revision-checked. Carry forward the latest flow.revision after each successful mutation.
  • runTask(...) links the child task to the flow. Use it instead of manually creating detached tasks when you want parent orchestration.

Read the full file on GitHub · 150 lines

Changes

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.

  1. 3mo ago First seen · 150 lines · 80 tokens per session scan A fdffab23ebaa

Subscribe to this mod's changes

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.

Related

taskflow compared with skills from other repositories

taskflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
taskflowspinabot/brigadeSkill11k17d agoMITA80Claude Code, Codex
extension-authoringHaseebKhalid1507/SynapsCLISkill62yesterdayApache-2.0A34Claude Code, Codex
loopplaneLJC-FVNR/LoopPlaneSkill143mo agoApache-2.0A22Codex
paperclippaperclipai/paperclipSkill118kyesterdayMITA54Claude Code, Codex
baoyu-article-illustratorNousResearch/hermes-agentSkill267ktodayMITA18Claude Code, Codex
flash-attentionNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
subagent-driven-developmentNousResearch/hermes-agentSkill267ktodayMITA17Claude Code, Codex