[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DVFP9KRJK35DXKE09TC5XQ":3,"skill-same:01M7DVFP9KRJK35DXKE09TC5XQ":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7DVFP9KRJK35DXKE09TC5XQ","automate",null,"Load before schedules, event sources, triggers or tasks. Routes events to one consumer and stops loops.","gents-ai\u002Fgents","gents-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F309907012?v=4","01M6PDDJQ5NPFJZNQ0M1QA5SNP","Gents","01M6PDDJVT921WYQS6G1PATX85",24,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgents-ai\u002Fgents\u002Fblob\u002Fmain\u002Fcore-packs\u002Fpack_builder\u002Fskills\u002Fautomate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: automate\ndescription: Load before schedules, event sources, triggers or tasks. Routes events to one consumer and stops loops.\n---\n\n# Automate\n\nA source (a schedule or a new document) fires a trigger. The trigger starts a task, which runs an agent with a prompt rendered from the firing document.\n\n## One consumer per event\n\nWaking every agent to check whether an event is theirs wastes inference and creates sessions. Put the deciding field on the document and filter on it. In a turn-based app, the event names who moves next and each player's trigger filters on it.\n\n## Never feed your own trigger\n\nA task that writes to the collection that fires it can loop until the node goes down. Before enabling anything, trace what each task writes and what that fires. Write elsewhere, or make the filter unable to match the task's own output.\n\n## Sessions and concurrency\n\n- **New session per fire**: the default, for fires that stand alone.\n- **One continuing session per key**, for memory: set `session_id_template` to a key such as `game:{{ doc.game_id }}:red`, with `create_session: true`. The first fire creates it.\n- Concurrency: `parallel` (default), `queued_serial` runs in order, `serial` skips while busy, `latest_only` supersedes. A periodic refresh wants `serial`; one session per key wants `queued_serial`.\n- A trigger disables itself at `max_fires_per_hour` and says why in its last error.\n\n## Keep the agent small\n\nIts Tools carry only what its task needs. A routine job is one tool call and a short reply. An agent never configures its own triggers.\n\n## Turn it on one step at a time\n\nEnable one trigger, cause one event, and inspect its request, session and output. Count the fires. If there are more than expected, disable the trigger first. Then enable the rest. Send any failure someone must know about to the mailbox.\n\nNext: `control-access`.\n","# Automate\n\nA source (a schedule or a new document) fires a trigger. The trigger starts a task, which runs an agent with a prompt rendered from the firing document.\n\n## One consumer per event\n\nWaking every agent to check whether an event is theirs wastes inference and creates sessions. Put the deciding field on the document and filter on it. In a turn-based app, the event names who moves next and each player's trigger filters on it.\n\n## Never feed your own trigger\n\nA task that writes to the collection that fires it can loop until the node goes down. Before enabling anything, trace what each task writes and what that fires. Write elsewhere, or make the filter unable to match the task's own output.\n\n## Sessions and concurrency\n\n- **New session per fire**: the default, for fires that stand alone.\n- **One continuing session per key**, for memory: set `session_id_template` to a key such as `game:{{ doc.game_id }}:red`, with `create_session: true`. The first fire creates it.\n- Concurrency: `parallel` (default), `queued_serial` runs in order, `serial` skips while busy, `latest_only` supersedes. A periodic refresh wants `serial`; one session per key wants `queued_serial`.\n- A trigger disables itself at `max_fires_per_hour` and says why in its last error.\n\n## Keep the agent small\n\nIts Tools carry only what its task needs. A routine job is one tool call and a short reply. An agent never configures its own triggers.\n\n## Turn it on one step at a time\n\nEnable one trigger, cause one event, and inspect its request, session and output. Count the fires. If there are more than expected, disable the trigger first. Then enable the rest. Send any failure someone must know about to the mailbox.\n\nNext: `control-access`.\n",{"name":5,"description":7},"main","e97b49597dea9307045c05031612a0e839d310d4","core-packs\u002Fpack_builder\u002Fskills\u002Fautomate",4,"https:\u002F\u002Fgithub.com\u002Fgents-ai\u002Fgents","https:\u002F\u002Fgents.xyz","https:\u002F\u002Fgithub.com\u002Fgents-ai","Multiplayer coding harness","2026-11-15 04:03:00",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add gents-ai\u002Fgents --skill automate",{"tool":39,"command":40},"bunx","bunx skills add gents-ai\u002Fgents --skill automate",{"tool":42,"command":43},"pnpm","pnpm dlx skills add gents-ai\u002Fgents --skill automate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgents-ai\u002Fgents\u002Fblob\u002Fmain\u002Fcore-packs\u002Fpack_builder\u002Fskills\u002Fautomate\u002FSKILL.md",true,[],[48,54,61,68,75,82],{"skillNo":49,"name":50,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7DVGK026T5C33HDQSGP6FH2","write_plugin","https:\u002F\u002Fgithub.com\u002Fgents-ai\u002Fgents\u002Fblob\u002Fmain\u002Fcore-packs\u002Fpack_builder\u002Fskills\u002Fwrite_plugin\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7DVGGG6HND5KZFTSVAG9ZHW","use-database","Load before designing an app's data. What DefraDB does for you, and how to shape collections.","https:\u002F\u002Fgithub.com\u002Fgents-ai\u002Fgents\u002Fblob\u002Fmain\u002Fcore-packs\u002Fpack_builder\u002Fskills\u002Fuse_database\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7DVGCK7XV1X9DEKV9J0RW9M","plan-work","Load first when asked to build or automate an app for people. Sets the checks and build order.","https:\u002F\u002Fgithub.com\u002Fgents-ai\u002Fgents\u002Fblob\u002Fmain\u002Fcore-packs\u002Fpack_builder\u002Fskills\u002Fplan_work\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7DVG8J4AD445M9W5HC6RAAZ","package-pack","Load when a working app should become a pack, or when installing or changing a pack. Export, check, install, versions.","https:\u002F\u002Fgithub.com\u002Fgents-ai\u002Fgents\u002Fblob\u002Fmain\u002Fcore-packs\u002Fpack_builder\u002Fskills\u002Fpackage_pack\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7DVG4FVTG16WMGSSWB22JV5","diagnose-node","Load when a trigger, tool, request or session didn't work as expected. Gives the order of checks.","https:\u002F\u002Fgithub.com\u002Fgents-ai\u002Fgents\u002Fblob\u002Fmain\u002Fcore-packs\u002Fpack_builder\u002Fskills\u002Fdiagnose_node\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7DVG0V28534JV1GH1P3PCQQ","design_page","https:\u002F\u002Fgithub.com\u002Fgents-ai\u002Fgents\u002Fblob\u002Fmain\u002Fcore-packs\u002Fpack_builder\u002Fskills\u002Fdesign_page\u002FSKILL.md",[],[]]