[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E3H330JK7CM2D9CXSMEN6X":3,"skill-same:01M6E3H330JK7CM2D9CXSMEN6X":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":13,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M6E3H330JK7CM2D9CXSMEN6X","taskflow",null,"Coordinate multi-step detached tasks as one durable TaskFlow job with owner context, state, waits, and child tasks.","7dvq6yrkgs-stack\u002Fplaywright","7dvq6yrkgs-stack","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F251638143?v=4","01M6E061J2AMGWYZ6TK7Y8NM74","01M6E061PQCQJGQMPBERMCFN5G",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Ftaskflow\u002FSKILL.md",[],[5,18,19,20,21,22],"tasks","state","context","coordinate","as","2026-11-10 10:12:30",false,"---\nname: taskflow\ndescription: Coordinate multi-step detached tasks as one durable TaskFlow job with owner context, state, waits, and child tasks.\nmetadata: { \"openclaw\": { \"emoji\": \"?\" } }\n---\n\n# TaskFlow\n\nUse 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.\n\n## When to use it\n\n- Multi-step background work with one owner\n- Work that waits on detached ACP or subagent tasks\n- Jobs that may need to emit one clear update back to the owner\n- Jobs that need small persisted state between steps\n- Plugin or tool work that must survive restarts and revision conflicts cleanly\n\n## What TaskFlow owns\n\n- flow identity\n- owner session and requester origin\n- `currentStep`, `stateJson`, and `waitJson`\n- linked child tasks and their parent flow id\n- finish, fail, cancel, waiting, and blocked state\n- revision tracking for conflict-safe mutations\n\nIt does **not** own branching or business logic. Put that in Lobster, acpx, or the calling code.\n\n## Current runtime shape\n\nCanonical plugin\u002Fruntime entrypoint:\n\n- `api.runtime.tasks.flow`\n- `api.runtime.taskFlow` still exists as an alias, but `api.runtime.tasks.flow` is the canonical shape\n\nBinding:\n\n- `api.runtime.tasks.flow.fromToolContext(ctx)` when you already have trusted tool context with `sessionKey`\n- `api.runtime.tasks.flow.bindSession({ sessionKey, requesterOrigin })` when your binding layer already resolved the session and delivery context\n\nManaged-flow lifecycle:\n\n1. `createManaged(...)`\n2. `runTask(...)`\n3. `setWaiting(...)` when waiting on a person or an external system\n4. `resume(...)` when work can continue\n5. `finish(...)` or `fail(...)`\n6. `requestCancel(...)` or `cancel(...)` when the whole job should stop\n\n## Design constraints\n\n- Use **managed** TaskFlows when your code owns the orchestration.\n- One-task **mirrored** flows are created by core runtime for detached ACP\u002Fsubagent work; this skill is mainly about managed flows.\n- Treat `stateJson` as the persisted state bag. There is no separate `setFlowOutput` or `appendFlowOutput` API.\n- Every mutating method after creation is revision-checked. Carry forward the latest `flow.revision` after each successful mutation.\n- `runTask(...)` links the child task to the flow. Use it instead of manually creating detached tasks when you want parent orchestration.\n\n## Example shape\n\n```ts\nconst taskFlow = api.runtime.tasks.flow.fromToolContext(ctx);\n\nconst created = taskFlow.createManaged({\n  controllerId: \"my-plugin\u002Finbox-triage\",\n  goal: \"triage inbox\",\n  currentStep: \"classify\",\n  stateJson: {\n    businessThreads: [],\n    personalItems: [],\n    eodSummary: [],\n  },\n});\n\nconst classify = taskFlow.runTask({\n  flowId: created.flowId,\n  runtime: \"acp\",\n  childSessionKey: \"agent:main:subagent:classifier\",\n  runId: \"inbox-classify-1\",\n  task: \"Classify inbox messages\",\n  status: \"running\",\n  startedAt: Date.now(),\n  lastEventAt: Date.now(),\n});\n\nif (!classify.created) {\n  throw new Error(classify.reason);\n}\n\nconst waiting = taskFlow.setWaiting({\n  flowId: created.flowId,\n  expectedRevision: created.revision,\n  currentStep: \"await_business_reply\",\n  stateJson: {\n    businessThreads: [\"slack:thread-1\"],\n    personalItems: [],\n    eodSummary: [],\n  },\n  waitJson: {\n    kind: \"reply\",\n    channel: \"slack\",\n    threadKey: \"slack:thread-1\",\n  },\n});\n\nif (!waiting.applied) {\n  throw new Error(waiting.code);\n}\n\nconst resumed = taskFlow.resume({\n  flowId: waiting.flow.flowId,\n  expectedRevision: waiting.flow.revision,\n  status: \"running\",\n  currentStep: \"finalize\",\n  stateJson: waiting.flow.stateJson,\n});\n\nif (!resumed.applied) {\n  throw new Error(resumed.code);\n}\n\ntaskFlow.finish({\n  flowId: resumed.flow.flowId,\n  expectedRevision: resumed.flow.revision,\n  stateJson: resumed.flow.stateJson,\n});\n```\n\n## Keep conditionals above the runtime\n\nUse the flow runtime for state and task linkage. Keep decisions in the authoring layer:\n\n- `business` → post to Slack and wait\n- `personal` → notify the owner now\n- `later` → append to an end-of-day summary bucket\n\n## Operational pattern\n\n- Store only the minimum state needed to resume.\n- Put human-readable wait reasons in `blockedSummary` or structured wait metadata in `waitJson`.\n- Use `getTaskSummary(flowId)` when the orchestrator needs a compact health view of child work.\n- Use `requestCancel(...)` when a caller wants the flow to stop scheduling immediately.\n- Use `cancel(...)` when you also want active linked child tasks cancelled.\n\n## Examples\n\n- See `skills\u002Ftaskflow\u002Fexamples\u002Finbox-triage.lobster`\n- See `skills\u002Ftaskflow\u002Fexamples\u002Fpr-intake.lobster`\n- See `skills\u002Ftaskflow-inbox-triage\u002FSKILL.md` for a concrete routing pattern\n","# TaskFlow\n\nUse 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.\n\n## When to use it\n\n- Multi-step background work with one owner\n- Work that waits on detached ACP or subagent tasks\n- Jobs that may need to emit one clear update back to the owner\n- Jobs that need small persisted state between steps\n- Plugin or tool work that must survive restarts and revision conflicts cleanly\n\n## What TaskFlow owns\n\n- flow identity\n- owner session and requester origin\n- `currentStep`, `stateJson`, and `waitJson`\n- linked child tasks and their parent flow id\n- finish, fail, cancel, waiting, and blocked state\n- revision tracking for conflict-safe mutations\n\nIt does **not** own branching or business logic. Put that in Lobster, acpx, or the calling code.\n\n## Current runtime shape\n\nCanonical plugin\u002Fruntime entrypoint:\n\n- `api.runtime.tasks.flow`\n- `api.runtime.taskFlow` still exists as an alias, but `api.runtime.tasks.flow` is the canonical shape\n\nBinding:\n\n- `api.runtime.tasks.flow.fromToolContext(ctx)` when you already have trusted tool context with `sessionKey`\n- `api.runtime.tasks.flow.bindSession({ sessionKey, requesterOrigin })` when your binding layer already resolved the session and delivery context\n\nManaged-flow lifecycle:\n\n1. `createManaged(...)`\n2. `runTask(...)`\n3. `setWaiting(...)` when waiting on a person or an external system\n4. `resume(...)` when work can continue\n5. `finish(...)` or `fail(...)`\n6. `requestCancel(...)` or `cancel(...)` when the whole job should stop\n\n## Design constraints\n\n- Use **managed** TaskFlows when your code owns the orchestration.\n- One-task **mirrored** flows are created by core runtime for detached ACP\u002Fsubagent work; this skill is mainly about managed flows.\n- Treat `stateJson` as the persisted state bag. There is no separate `setFlowOutput` or `appendFlowOutput` API.\n- Every mutating method after creation is revision-checked. Carry forward the latest `flow.revision` after each successful mutation.\n- `runTask(...)` links the child task to the flow. Use it instead of manually creating detached tasks when you want parent orchestration.\n\n## Example shape\n\n```ts\nconst taskFlow = api.runtime.tasks.flow.fromToolContext(ctx);\n\nconst created = taskFlow.createManaged({\n  controllerId: \"my-plugin\u002Finbox-triage\",\n  goal: \"triage inbox\",\n  currentStep: \"classify\",\n  stateJson: {\n    businessThreads: [],\n    personalItems: [],\n    eodSummary: [],\n  },\n});\n\nconst classify = taskFlow.runTask({\n  flowId: created.flowId,\n  runtime: \"acp\",\n  childSessionKey: \"agent:main:subagent:classifier\",\n  runId: \"inbox-classify-1\",\n  task: \"Classify inbox messages\",\n  status: \"running\",\n  startedAt: Date.now(),\n  lastEventAt: Date.now(),\n});\n\nif (!classify.created) {\n  throw new Error(classify.reason);\n}\n\nconst waiting = taskFlow.setWaiting({\n  flowId: created.flowId,\n  expectedRevision: created.revision,\n  currentStep: \"await_business_reply\",\n  stateJson: {\n    businessThreads: [\"slack:thread-1\"],\n    personalItems: [],\n    eodSummary: [],\n  },\n  waitJson: {\n    kind: \"reply\",\n    channel: \"slack\",\n    threadKey: \"slack:thread-1\",\n  },\n});\n\nif (!waiting.applied) {\n  throw new Error(waiting.code);\n}\n\nconst resumed = taskFlow.resume({\n  flowId: waiting.flow.flowId,\n  expectedRevision: waiting.flow.revision,\n  status: \"running\",\n  currentStep: \"finalize\",\n  stateJson: waiting.flow.stateJson,\n});\n\nif (!resumed.applied) {\n  throw new Error(resumed.code);\n}\n\ntaskFlow.finish({\n  flowId: resumed.flow.flowId,\n  expectedRevision: resumed.flow.revision,\n  stateJson: resumed.flow.stateJson,\n});\n```\n\n## Keep conditionals above the runtime\n\nUse the flow runtime for state and task linkage. Keep decisions in the authoring layer:\n\n- `business` → post to Slack and wait\n- `personal` → notify the owner now\n- `later` → append to an end-of-day summary bucket\n\n## Operational pattern\n\n- Store only the minimum state needed to resume.\n- Put human-readable wait reasons in `blockedSummary` or structured wait metadata in `waitJson`.\n- Use `getTaskSummary(flowId)` when the orchestrator needs a compact health view of child work.\n- Use `requestCancel(...)` when a caller wants the flow to stop scheduling immediately.\n- Use `cancel(...)` when you also want active linked child tasks cancelled.\n\n## Examples\n\n- See `skills\u002Ftaskflow\u002Fexamples\u002Finbox-triage.lobster`\n- See `skills\u002Ftaskflow\u002Fexamples\u002Fpr-intake.lobster`\n- See `skills\u002Ftaskflow-inbox-triage\u002FSKILL.md` for a concrete routing pattern\n",{"name":5,"metadata":28,"description":7},{"openclaw":29},{"emoji":30},"?","main","a2e3284ed4488780397ee2f78217366e11470dfb","skills\u002Ftaskflow","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright","https:\u002F\u002Fplaywright.dev","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack","2026-04-25 06:04:45",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add 7dvq6yrkgs-stack\u002Fplaywright --skill taskflow",{"tool":44,"command":45},"bunx","bunx skills add 7dvq6yrkgs-stack\u002Fplaywright --skill taskflow",{"tool":47,"command":48},"pnpm","pnpm dlx skills add 7dvq6yrkgs-stack\u002Fplaywright --skill taskflow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Ftaskflow\u002FSKILL.md",true,[52,58,64,68,72,76,80,86],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},".skillfish.json","REFERENCE","参考文档",209,"https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Ftaskflow\u002F.skillfish.json",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"examples\u002Finbox-triage.lobster","OTHER","其他",1360,"https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Ftaskflow\u002Fexamples\u002Finbox-triage.lobster",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"examples\u002Fpr-intake.lobster",1274,"https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Ftaskflow\u002Fexamples\u002Fpr-intake.lobster",{"path":69,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fcoordinate-systems.md",9968,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--geospatial-data-pipeline\u002Freferences\u002Fcoordinate-systems.md",{"path":73,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fgeojson-optimization.md",9544,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--geospatial-data-pipeline\u002Freferences\u002Fgeojson-optimization.md",{"path":77,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fpostgis-guide.md",11519,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--geospatial-data-pipeline\u002Freferences\u002Fpostgis-guide.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fgeospatial_processor.ts","SCRIPT","脚本",17329,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--geospatial-data-pipeline\u002Fscripts\u002Fgeospatial_processor.ts",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Ftile_generator.ts",12764,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--geospatial-data-pipeline\u002Fscripts\u002Ftile_generator.ts",[91,108,116,124,137,147],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":23},"01M6E3XK4PRPMQHM7Y98FQPTY1","zyte-api-automation","Automate Zyte API tasks via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzyte-api-automation\u002FSKILL.md",[],[98,99,100,101,18,102,103,104,105,106,107],"zyte api automation","api","automation","MCP","search","Tools","first","automate","composio","via",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":23},"01M6E3XFX6QSTR1QR59NFXJTMA","zylvie-automation","Automate Zylvie tasks via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzylvie-automation\u002FSKILL.md",[],[115,100,105,101,18,102,103,104,106,107],"zylvie automation",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":23},"01M6E3XCX2GDYYCHN58ZJHT37M","zoominfo-automation","Automate Zoominfo tasks via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzoominfo-automation\u002FSKILL.md",[],[123,100,102,103,104,105,106,107,18,101],"zoominfo automation",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":23},"01M6E3X9WJ2T73216WQHHTB9BD","zoho_mail-automation","Automate Zoho Mail tasks via Rube MCP (Composio): email sending, folders, labels, and mailbox management. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzoho_mail-automation\u002FSKILL.md",[],[131,132,133,100,101,18,102,134,103,104,105,135,106,136,107],"mail","zoho mail automation","zoho","email","management","mailbox",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":23},"01M6E3X719W648XZBW1EC6JQ64","zoho_invoice-automation","Automate Zoho Invoice tasks via Rube MCP (Composio): invoices, estimates, expenses, clients, and payment tracking. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzoho_invoice-automation\u002FSKILL.md",[],[144,133,100,18,102,103,104,105,145,146,106,107,101],"zoho invoice automation","tracking","payment",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":23},"01M6E3X28JYTC3QTK32AQF7BYB","zoho_inventory-automation","Automate Zoho Inventory tasks via Rube MCP (Composio): items, orders, warehouses, shipments, and stock management. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzoho_inventory-automation\u002FSKILL.md",[],[100,154,133,155,104,105,103,102,18,101,106,107,156,157,135],"inventory","zoho inventory automation","stock","orders"]