[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E3GZNQ1WVC4HGSR3819XKH":3,"skill-same:01M6E3GZNQ1WVC4HGSR3819XKH":62},{"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":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":13,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6E3GZNQ1WVC4HGSR3819XKH","taskflow-inbox-triage",null,"Example TaskFlow pattern for inbox triage, intent routing, waiting on replies, and later summaries.","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-inbox-triage\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26],"triage","inbox triage","inbox","taskflow inbox triage","routing","example","later","intent","pattern","2026-11-10 10:12:30",false,"---\nname: taskflow-inbox-triage\ndescription: Example TaskFlow pattern for inbox triage, intent routing, waiting on replies, and later summaries.\nmetadata: { \"openclaw\": { \"emoji\": \"?\" } }\n---\n\n# TaskFlow inbox triage\n\nThis is a concrete example of how to think about TaskFlow without turning the core runtime into a DSL.\n\n## Goal\n\nTriage inbox items with one owner flow:\n\n- business → post to Slack and wait for reply\n- personal → notify the owner now\n- everything else → keep for end-of-day summary\n\n## Pattern\n\n1. Create one flow for the inbox batch.\n2. Run one detached task to classify new items.\n3. Persist the routing state in `stateJson`.\n4. Move to `waiting` only when an outside reply is required.\n5. Resume the flow when classification or human input completes.\n6. Finish when the batch has been routed.\n\n## Suggested `stateJson` shape\n\n```json\n{\n  \"businessThreads\": [],\n  \"personalItems\": [],\n  \"eodSummary\": []\n}\n```\n\nSuggested `waitJson` when blocked on Slack:\n\n```json\n{\n  \"kind\": \"reply\",\n  \"channel\": \"slack\",\n  \"threadKey\": \"slack:thread-1\"\n}\n```\n\n## Minimal runtime calls\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 child = taskFlow.runTask({\n  flowId: created.flowId,\n  runtime: \"acp\",\n  childSessionKey: \"agent:main:subagent:classifier\",\n  task: \"Classify inbox messages\",\n  status: \"running\",\n  startedAt: Date.now(),\n  lastEventAt: Date.now(),\n});\n\nif (!child.created) {\n  throw new Error(child.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: \"route_items\",\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## Related example\n\n- `skills\u002Ftaskflow\u002Fexamples\u002Finbox-triage.lobster`\n","# TaskFlow inbox triage\n\nThis is a concrete example of how to think about TaskFlow without turning the core runtime into a DSL.\n\n## Goal\n\nTriage inbox items with one owner flow:\n\n- business → post to Slack and wait for reply\n- personal → notify the owner now\n- everything else → keep for end-of-day summary\n\n## Pattern\n\n1. Create one flow for the inbox batch.\n2. Run one detached task to classify new items.\n3. Persist the routing state in `stateJson`.\n4. Move to `waiting` only when an outside reply is required.\n5. Resume the flow when classification or human input completes.\n6. Finish when the batch has been routed.\n\n## Suggested `stateJson` shape\n\n```json\n{\n  \"businessThreads\": [],\n  \"personalItems\": [],\n  \"eodSummary\": []\n}\n```\n\nSuggested `waitJson` when blocked on Slack:\n\n```json\n{\n  \"kind\": \"reply\",\n  \"channel\": \"slack\",\n  \"threadKey\": \"slack:thread-1\"\n}\n```\n\n## Minimal runtime calls\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 child = taskFlow.runTask({\n  flowId: created.flowId,\n  runtime: \"acp\",\n  childSessionKey: \"agent:main:subagent:classifier\",\n  task: \"Classify inbox messages\",\n  status: \"running\",\n  startedAt: Date.now(),\n  lastEventAt: Date.now(),\n});\n\nif (!child.created) {\n  throw new Error(child.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: \"route_items\",\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## Related example\n\n- `skills\u002Ftaskflow\u002Fexamples\u002Finbox-triage.lobster`\n",{"name":5,"metadata":32,"description":7},{"openclaw":33},{"emoji":34},"?","main","a2e3284ed4488780397ee2f78217366e11470dfb","skills\u002Ftaskflow-inbox-triage","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":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add 7dvq6yrkgs-stack\u002Fplaywright --skill taskflow-inbox-triage",{"tool":48,"command":49},"bunx","bunx skills add 7dvq6yrkgs-stack\u002Fplaywright --skill taskflow-inbox-triage",{"tool":51,"command":52},"pnpm","pnpm dlx skills add 7dvq6yrkgs-stack\u002Fplaywright --skill taskflow-inbox-triage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Ftaskflow-inbox-triage\u002FSKILL.md",true,[56],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},".skillfish.json","REFERENCE","参考文档",235,"https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Ftaskflow-inbox-triage\u002F.skillfish.json",[63,81,89,97,110,120],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":27},"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",[],[70,71,72,73,74,75,76,77,78,79,80],"zyte api automation","api","automation","MCP","tasks","search","Tools","first","automate","composio","via",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":27},"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",[],[88,72,78,73,74,75,76,77,79,80],"zylvie automation",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":27},"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",[],[96,72,75,76,77,78,79,80,74,73],"zoominfo automation",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":27},"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",[],[104,105,106,72,73,74,75,107,76,77,78,108,79,109,80],"mail","zoho mail automation","zoho","email","management","mailbox",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":27},"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",[],[117,106,72,74,75,76,77,78,118,119,79,80,73],"zoho invoice automation","tracking","payment",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":27},"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",[],[72,127,106,128,77,78,76,75,74,73,79,80,129,130,108],"inventory","zoho inventory automation","stock","orders"]