Taskflow

From qianleigood/crawclaw · View interactive version

Taskflow is an AI agent skill from the GitHub repository qianleigood/crawclaw. Use when work should span one or more detached tasks but still behave like one job with one owner session, one return context, and durable flow state.

How to use this skill

Skill file

TaskFlow

Use TaskFlow when a job needs to outlive one prompt or one detached run, but still needs one owner session and one place to inspect or resume the work.

Use it for

Do not use it for

Keep those in the caller.

Canonical entrypoints

Lifecycle

  1. createManaged(...)
  2. runTask(...)
  3. setWaiting(...) when blocked on a person or external system
  4. resume(...)
  5. finish(...) or fail(...)
  6. requestCancel(...) or cancel(...)

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.