[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DDGR646WJAWK06E0TC58M7":3,"skill-same:01M6DDGR646WJAWK06E0TC58M7":64},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6DDGR646WJAWK06E0TC58M7","workflow-authoring",null,"Use when writing or debugging a saved Claude Code Workflow (a .js\u002F.mjs orchestration script under ~\u002F.claude\u002Fworkflows that uses the injected agent\u002Fparallel\u002Fphase globals to fan out subagents). Covers the exact runtime API, the args-as-string gotcha, the banned Date.now() non-determinism, worktree isolation for file-mutating agents, one-level nesting, a schema on every fan-in, null-tolerant barriers via filter(Boolean), per-work-unit pipelines so one slow agent cannot deadlock the cohort, cache-cliff-aware fan-out, the typed Codex output-schema landmine when MCP tools are active, and the SDK context-editing \u002F task-budgets \u002F canUseTool notes. Also the map to the saved schema-typed gate Workflows plan-gate and design-gate and the mechanical plan-lint stage-0. Triggers include author a workflow, write a saved workflow, fan out subagents, my parallel workflow deadlocks, workflow returns empty, schema-typed reviewers, or codify a gate as a workflow. NOT for single ad-hoc Task subagents (spawn a Task directly) or for the metaswarm phase pipeline itself.","Prekzursil\u002Fagent-skills-toolchain","Prekzursil","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F54636077?v=4","01M6DACZ1PCQHD99SCR1YXG28B","Andrei Mihai Visalon","01M6DACZ670WZF535V3WYYSS4Z",0,"MIT","https:\u002F\u002Fgithub.com\u002FPrekzursil\u002Fagent-skills-toolchain\u002Fblob\u002Fmain\u002Fplatform\u002Frouting\u002Ffixtures\u002Fhome\u002F.claude\u002Fskills\u002Fworkflow-authoring\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"workflow authoring","workflow","authoring","use","as","triggers","runtime","mechanical","stage","map","schema","design","editing","parallel","pipeline","debugging","workflows","orchestration","writing","MCP","2026-11-10 10:12:30",false,"---\nname: workflow-authoring\ndescription: Use when writing or debugging a saved Claude Code Workflow (a .js\u002F.mjs orchestration script under ~\u002F.claude\u002Fworkflows that uses the injected agent\u002Fparallel\u002Fphase globals to fan out subagents). Covers the exact runtime API, the args-as-string gotcha, the banned Date.now() non-determinism, worktree isolation for file-mutating agents, one-level nesting, a schema on every fan-in, null-tolerant barriers via filter(Boolean), per-work-unit pipelines so one slow agent cannot deadlock the cohort, cache-cliff-aware fan-out, the typed Codex output-schema landmine when MCP tools are active, and the SDK context-editing \u002F task-budgets \u002F canUseTool notes. Also the map to the saved schema-typed gate Workflows plan-gate and design-gate and the mechanical plan-lint stage-0. Triggers include author a workflow, write a saved workflow, fan out subagents, my parallel workflow deadlocks, workflow returns empty, schema-typed reviewers, or codify a gate as a workflow. NOT for single ad-hoc Task subagents (spawn a Task directly) or for the metaswarm phase pipeline itself.\n---\n\n# workflow-authoring\n\nHow to write a **saved Claude Code Workflow** — an orchestration script under\n`~\u002F.claude\u002Fworkflows\u002F*.js` (or `*.mjs`) that the runtime executes to fan out\nsubagents, collect their typed results, and return a structured answer. This is\nthe durable, re-invokable form of a multi-agent job (invoked as `\u002Fname`), as\nopposed to a one-off `Task()` subagent.\n\nThe rules below are distilled from the workspace's own recorded footguns\n(`feedback_workflow_orchestration`, `feedback_parallel_agent_worktree`, the\n\"Workflow args-as-string gotcha\") and the G.6 gem-hunt finds. Follow them and\nyour workflow will not deadlock, will reproduce, and will not contaminate the\nshared git index.\n\n---\n\n## 1. The runtime API (the whole surface)\n\nA workflow file is NOT a plain ES module. The runner injects three globals —\n`agent`, `parallel`, `phase` — reads your `export const meta`, wraps the body so\ntop-level `await` and a trailing top-level `return` are legal, and executes it.\n\n```js\nexport const meta = {\n  name: 'my-workflow',                       \u002F\u002F the \u002Fslash name; keep it stable\n  description: 'one line — shown in the picker',\n  phases: [{ title: 'Ground' }, { title: 'Fan-out' }, { title: 'Synthesize' }],\n}\n\nphase('Ground')                              \u002F\u002F declare\u002Fenter a phase (telemetry)\nconst SCHEMA = { type: 'object', additionalProperties: false,\n  required: ['answer'], properties: { answer: { type: 'string' } } }\n\nconst ground = await agent('prompt string', {\n  label: 'ground',        \u002F\u002F stable id for this agent (used in logs\u002Ftelemetry)\n\n### 2. args-as-string (the recorded gotcha)\n### 3. Never call `Date.now()` (or `Math.random()`, `new Date()`) in workflow JS\n### 4. `isolation: \"worktree\"` for any agent that MUTATES files\n### 5. Null-tolerant barriers: `.filter(Boolean)` after every `parallel`\n### 6. Per-work-unit pipelines, not one fat barrier\n### 7. One-level nesting + a schema on EVERY fan-in\n### 8. Cache-cliff-aware fan-out\n### 9. Typed Codex `--output-schema` landmine (#15451)\n### 10. SDK notes (context-editing, task-budgets, canUseTool)\n### 11. Fan-out spawn-prompt template\n### 12. agentType caveat — a fan-out is only as synchronous as its slowest lie\n### Companion artifacts in this workspace\n","# workflow-authoring\n\nHow to write a **saved Claude Code Workflow** — an orchestration script under\n`~\u002F.claude\u002Fworkflows\u002F*.js` (or `*.mjs`) that the runtime executes to fan out\nsubagents, collect their typed results, and return a structured answer. This is\nthe durable, re-invokable form of a multi-agent job (invoked as `\u002Fname`), as\nopposed to a one-off `Task()` subagent.\n\nThe rules below are distilled from the workspace's own recorded footguns\n(`feedback_workflow_orchestration`, `feedback_parallel_agent_worktree`, the\n\"Workflow args-as-string gotcha\") and the G.6 gem-hunt finds. Follow them and\nyour workflow will not deadlock, will reproduce, and will not contaminate the\nshared git index.\n\n---\n\n## 1. The runtime API (the whole surface)\n\nA workflow file is NOT a plain ES module. The runner injects three globals —\n`agent`, `parallel`, `phase` — reads your `export const meta`, wraps the body so\ntop-level `await` and a trailing top-level `return` are legal, and executes it.\n\n```js\nexport const meta = {\n  name: 'my-workflow',                       \u002F\u002F the \u002Fslash name; keep it stable\n  description: 'one line — shown in the picker',\n  phases: [{ title: 'Ground' }, { title: 'Fan-out' }, { title: 'Synthesize' }],\n}\n\nphase('Ground')                              \u002F\u002F declare\u002Fenter a phase (telemetry)\nconst SCHEMA = { type: 'object', additionalProperties: false,\n  required: ['answer'], properties: { answer: { type: 'string' } } }\n\nconst ground = await agent('prompt string', {\n  label: 'ground',        \u002F\u002F stable id for this agent (used in logs\u002Ftelemetry)\n\n### 2. args-as-string (the recorded gotcha)\n### 3. Never call `Date.now()` (or `Math.random()`, `new Date()`) in workflow JS\n### 4. `isolation: \"worktree\"` for any agent that MUTATES files\n### 5. Null-tolerant barriers: `.filter(Boolean)` after every `parallel`\n### 6. Per-work-unit pipelines, not one fat barrier\n### 7. One-level nesting + a schema on EVERY fan-in\n### 8. Cache-cliff-aware fan-out\n### 9. Typed Codex `--output-schema` landmine (#15451)\n### 10. SDK notes (context-editing, task-budgets, canUseTool)\n### 11. Fan-out spawn-prompt template\n### 12. agentType caveat — a fan-out is only as synchronous as its slowest lie\n### Companion artifacts in this workspace\n",{"name":5,"description":7},"main","a298c929b6cbd662e1fce54302ce520d5ceea1a5","platform\u002Frouting\u002Ffixtures\u002Fhome\u002F.claude\u002Fskills\u002Fworkflow-authoring","https:\u002F\u002Fgithub.com\u002FPrekzursil\u002Fagent-skills-toolchain","https:\u002F\u002Fgithub.com\u002FPrekzursil","2026-11-02 14:30:57",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add Prekzursil\u002Fagent-skills-toolchain --skill workflow-authoring",{"tool":56,"command":57},"bunx","bunx skills add Prekzursil\u002Fagent-skills-toolchain --skill workflow-authoring",{"tool":59,"command":60},"pnpm","pnpm dlx skills add Prekzursil\u002Fagent-skills-toolchain --skill workflow-authoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FPrekzursil\u002Fagent-skills-toolchain\u002Fblob\u002Fmain\u002Fplatform\u002Frouting\u002Ffixtures\u002Fhome\u002F.claude\u002Fskills\u002Fworkflow-authoring\u002FSKILL.md",true,[],[65,86,110,131,145,160],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":39},"01M6DF7D7478R55P46REYH4QAC","clarify-requirements","Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.","https:\u002F\u002Fgithub.com\u002FPrekzursil\u002Fagent-skills-toolchain\u002Fblob\u002Fmain\u002Ftools\u002Fworkspace-hooks\u002Fskills\u002Fclarify-requirements\u002FSKILL.md",[],[72,73,74,75,76,77,78,79,80,22,81,82,83,84,85],"clarify requirements","clarify","requirements","risk","options","task","prompts","goal","scanning","context","repo","injection","execution","file",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":39},"01M6DF79CA4BHJS66J8EZDBPWJ","openmm-md","Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein \u002F protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.","https:\u002F\u002Fgithub.com\u002FPrekzursil\u002Fagent-skills-toolchain\u002Fblob\u002Fmain\u002Ftools\u002Fmcp\u002Fopenmm-md-mcp\u002Fskill\u002Fopenmm-md\u002FSKILL.md",[],[93,94,95,96,97,98,99,100,101,102,103,104,20,105,22,106,107,108,109,38],"openmm md","how","decision","pick","linux","analyze","tool","stack","open","NVIDIA","gpu","license","windows","free","molecular dynamics","local","do",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":39},"01M6DF76C1MG85VEWP8VZCBNMN","visual-review","Take screenshots of web pages and UI using Playwright for visual review and iteration","https:\u002F\u002Fgithub.com\u002FPrekzursil\u002Fagent-skills-toolchain\u002Fblob\u002Fmain\u002Ftools\u002Feditor\u002Fmetaswarm\u002Fskills\u002Fvisual-review\u002FSKILL.md",[],[117,118,119,120,121,122,123,124,125,126,94,127,128,129,130],"review","visual","visual review","pages","web","false","iteration","take","check","slides","ui","screenshot","playwright","screenshots",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":39},"01M6DF73AQVCBZKEN0YXEX9FXP","status","Diagnostic status report — shows metaswarm installation state, project setup, and potential issues","https:\u002F\u002Fgithub.com\u002FPrekzursil\u002Fagent-skills-toolchain\u002Fblob\u002Fmain\u002Ftools\u002Feditor\u002Fmetaswarm\u002Fskills\u002Fstatus\u002FSKILL.md",[],[133,138,139,140,141,142,143,144],"setup","report","project","installation","project setup","issues","state",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":39},"01M6DF6X6C2XB0P6GX76P7TTYV","start","Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work","https:\u002F\u002Fgithub.com\u002FPrekzursil\u002Fagent-skills-toolchain\u002Fblob\u002Fmain\u002Ftools\u002Feditor\u002Fmetaswarm\u002Fskills\u002Fstart\u002FSKILL.md",[],[147,152,77,153,154,155,22,156,157,158,159],"start issue","issue","ready","work on issue","user","work","work on","development",{"skillNo":161,"name":138,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":39},"01M6DF6QMJ9AJKFKHHKRT005PQ","Interactive project setup — detects your project, configures metaswarm, writes project-local files","https:\u002F\u002Fgithub.com\u002FPrekzursil\u002Fagent-skills-toolchain\u002Fblob\u002Fmain\u002Ftools\u002Feditor\u002Fmetaswarm\u002Fskills\u002Fsetup\u002FSKILL.md",[],[138,140,108,166,142,167],"files","interactive"]