taskflow-inbox-triage
Example TaskFlow pattern for inbox triage, intent routing, waiting on replies, and later summaries.
npx skills add Health-Yang/MineEcho --skill taskflow-inbox-triage --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# TaskFlow inbox triage This is a concrete example of how to think about TaskFlow without turning the core runtime into a DSL. ## Goal Triage inbox items with one owner flow: - business -> post to Slack and wait for reply - personal -> notify the owner now - everything else -> keep for end-of-day summary ## Pattern 1. Create one flow for the inbox batch. 2. Run one detached task to classify new items. 3. Persist the routing state in `stateJson`. 4. Move to `waiting` only when an outside reply is required. 5. Resume the flow when classification or human input completes. 6. Finish when the batch has been routed. ## Suggested `stateJson` shape ```json { "businessThreads": [], "personalItems": [], "eodSummary": [] } ``` Suggested `waitJson` when blocked on Slack: ```json { "kind": "reply", "channel": "slack", "threadKey": "slack:thread-1" } ``` ## Minimal runtime calls ```ts const taskFlow = api.runtime.tasks.flow.fromToolContext(ctx); const created = taskFlow.createManaged({ controllerId: "my-plugin/inbox-triage", goal: "triage inbox", currentStep: "classify", stateJson: { businessThreads: [], personalItems: [], eodSummary: [], }, }); const child = taskFlow.runTask({ flowId: created.f
- Goal
- Pattern
- Suggested stateJson shape
- Minimal runtime calls
- Related example
What does the taskflow-inbox-triage skill do?
Example TaskFlow pattern for inbox triage, intent routing, waiting on replies, and later summaries.
How do I install it?
Run `npx skills add Health-Yang/MineEcho --skill taskflow-inbox-triage --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From Health-Yang/MineEcho, a repository with 248 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
