Skip to content

TaskFlow Inbox Triage

Routes inbox messages by intent: business to Slack with a wait, personal to immediate notice, rest to a daily summary.

Stars
11,367
Licence
MIT
Files
1 file

What it does

This skill is an example showing developers how to structure a multi-step inbox triage workflow using the Brigade TaskFlow runtime. It teaches the agent a pattern: create one flow for a batch of inbox items, classify them in a background task, send business messages to Slack and pause until someone replies, notify the owner about personal items right away, and hold everything else for an end-of-day summary. It is a pattern reference rather than a finished, ready-to-run inbox assistant.

Great for

  • Developers building plugins or agents on the Brigade TaskFlow runtime who want a worked example of flow, task, and wait states
  • Teams designing triage logic that must pause for an external reply before continuing

Skip it if

  • People who want an out-of-the-box email or inbox assistant: the file only describes a pattern and example code, and does not connect to any mail provider
  • Use with sensitive inboxes without review: the example routes messages to Slack and notifications, so misclassification could expose or misdirect private content

Try asking

  • “Show me how to set up a TaskFlow that triages inbox messages into business, personal, and end-of-day summary routes.”
  • “Write a TaskFlow example that waits for a Slack thread reply before resuming routing.”
  • “Explain how stateJson and waitJson are used to persist routing state in a Brigade flow.”
Step-by-step guide: how to use TaskFlow Inbox TriageInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    taskflow-inbox-triage.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip taskflow-inbox-triage.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip taskflow-inbox-triage.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Treat this as a template: replace the placeholder controllerId, channel and thread keys with your own before use.
  • Review the classification logic yourself before pointing it at a real inbox, since the file does not define how messages are classified.
  • Check the related example file skills/taskflow/examples/inbox-triage.lobster for a fuller workflow definition; it was not included in this assessment.

What's inside

  • SKILL.md

Redistributed unmodified from spinabot/brigade under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.