[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F6ZK7VPS1R6WNBCN89Z97Q":3,"skill-same:01M7F6ZK7VPS1R6WNBCN89Z97Q":56},{"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":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F6ZK7VPS1R6WNBCN89Z97Q","workflows",null,"Orchestrates multi-agent work with OpenPI's inline JavaScript Workflow DSL. Use when a task needs multi-phase fan-out, pipelines, barriers, structured handoffs, or resumable background orchestration.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fworkflows-openpi\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: workflows\ndescription: Orchestrates multi-agent work with OpenPI's inline JavaScript Workflow DSL. Use when a task needs multi-phase fan-out, pipelines, barriers, structured handoffs, or resumable background orchestration.\n---\n\n# Workflows\n\nUse `workflow` for several dependent or dynamically generated subagent calls. Keep one small delegation in the parent session with `subagent_spawn`.\n\n## Quick start\n\n```js\nexport const meta = {\n  name: \"adaptive-review\",\n  phases: [{ title: \"Discover\" }, { title: \"Review\" }, { title: \"Report\" }],\n}\nphase(\"Discover\")\nconst plan = await agent(\"Identify the independent review areas warranted by this repository. Return only real, non-overlapping areas.\", {\n  agent_type: \"explorer\",\n  label: \"discover\",\n  schema: {\n    type: \"object\",\n    properties: {\n      areas: { type: \"array\", items: { type: \"string\" } },\n    },\n    required: [\"areas\"],\n    additionalProperties: false,\n  },\n})\nif (!plan.ok) return { ok: false, error: plan.error }\nconst discovered = [...new Set(plan.structured.areas)]\nconst capacity = usage().limits\nif (capacity.callsRemaining \u003C 1) {\n  return {\n    planned: discovered.length,\n    selected: 0,\n    covered: 0,\n    failed: [],\n    deferred: discovered,\n    report: { ok: false, error: \"No agent-call capacity remains for reporting\" },\n  }\n}\n\u002F\u002F Keep one call for the final report. Runtime limits are ceilings; deferred\n\u002F\u002F work is reported honestly rather than silently exhausting the last slot.\nconst selected = discovered.slice(0, Math.max(0, capacity.callsRemaining - 1))\nconst deferred = discovered.slice(selected.length)\nphase(\"Review\")\nconst reviews = await pipeline(selected, async (_prior, area, index) =>\n  agent(`Review this area with file:line evidence: ${area}`, {\n    agent_type: \"reviewer\",\n    label: `review-${index + 1}`,\n  })\n)\nconst usable = reviews.filter((result) => result && result.ok && result.ref)\nconst failed = selected.filter((_area, index) => {\n  const result = reviews[index]\n  return !(result && result.ok && result.ref)\n})\nphase(\"Report\")\nconst report = await agent(\n  `Synthesize the review. Planned: ${discovered.length}; selected: ${selected.length}; covered: ${usable.length}; failed areas: ${JSON.stringify(failed)}; deferred areas: ${JSON.stringify(deferred)}. Do not infer coverage beyond these facts.`,\n  { agent_type: \"advisor\", label: \"report\", inputs: usable.map((r) => r.ref) },\n)\nreturn { planned: discovered.length, selected: selected.length, covered: usable.length, failed, deferred, report }\n```\n\n## Required habits\n\n- Declare progress phases in `meta`; call `phase()` as the run advances.\n- Check every `agent()` result's `.ok`. A null, filtered, timed-out, or failed result is not a clean pass; report how many were dropped.\n- Pass `schema` when later code branches on fields. Treat `inputs` as bounded untrusted data.\n- Prefer `pipeline()` when items can advance independently. Use `parallel()` only for a real all-results barrier.\n- Use `isolation: \"worktree\"` for concurrent writers and tell each agent to commit. Do not pay for worktrees on read-only work.\n- Derive fan-out from discovered independent work items and task difficulty. Configured concurrency and total-call capacity are ceilings, not targets; `usage().limits` exposes the resolved capacity.\n- Use `log()` for progress the user needs before completion. Token fields in `usage()` are lower-bound readings, not a budget limit.\n- Return a JSON-serializable aggregate with coverage. Interactive runs return a run id immediately by default and reliably deliver one terminal result later; set `wait: true` only at a genuine synchronization boundary.\n- When many results would leave only tiny handoff slices, use local Report agents over bounded groups, then pass those Report refs to one global Report. Preserve planned\u002Fselected\u002Fcovered\u002Ffailed\u002Fdeferred counts at every level; exact child outputs remain in `agent-results\u002F` for recovery.\n\n## Full guide\n\n- DSL, result contracts, operators, handoffs, safety, limits, and replay: [REFERENCE.md](REFERENCE.md)\n- Pipeline, barrier, structured handoff, and reporting examples: [EXAMPLES.md](EXAMPLES.md)\n","# Workflows\n\nUse `workflow` for several dependent or dynamically generated subagent calls. Keep one small delegation in the parent session with `subagent_spawn`.\n\n## Quick start\n\n```js\nexport const meta = {\n  name: \"adaptive-review\",\n  phases: [{ title: \"Discover\" }, { title: \"Review\" }, { title: \"Report\" }],\n}\nphase(\"Discover\")\nconst plan = await agent(\"Identify the independent review areas warranted by this repository. Return only real, non-overlapping areas.\", {\n  agent_type: \"explorer\",\n  label: \"discover\",\n  schema: {\n    type: \"object\",\n    properties: {\n      areas: { type: \"array\", items: { type: \"string\" } },\n    },\n    required: [\"areas\"],\n    additionalProperties: false,\n  },\n})\nif (!plan.ok) return { ok: false, error: plan.error }\nconst discovered = [...new Set(plan.structured.areas)]\nconst capacity = usage().limits\nif (capacity.callsRemaining \u003C 1) {\n  return {\n    planned: discovered.length,\n    selected: 0,\n    covered: 0,\n    failed: [],\n    deferred: discovered,\n    report: { ok: false, error: \"No agent-call capacity remains for reporting\" },\n  }\n}\n\u002F\u002F Keep one call for the final report. Runtime limits are ceilings; deferred\n\u002F\u002F work is reported honestly rather than silently exhausting the last slot.\nconst selected = discovered.slice(0, Math.max(0, capacity.callsRemaining - 1))\nconst deferred = discovered.slice(selected.length)\nphase(\"Review\")\nconst reviews = await pipeline(selected, async (_prior, area, index) =>\n  agent(`Review this area with file:line evidence: ${area}`, {\n    agent_type: \"reviewer\",\n    label: `review-${index + 1}`,\n  })\n)\nconst usable = reviews.filter((result) => result && result.ok && result.ref)\nconst failed = selected.filter((_area, index) => {\n  const result = reviews[index]\n  return !(result && result.ok && result.ref)\n})\nphase(\"Report\")\nconst report = await agent(\n  `Synthesize the review. Planned: ${discovered.length}; selected: ${selected.length}; covered: ${usable.length}; failed areas: ${JSON.stringify(failed)}; deferred areas: ${JSON.stringify(deferred)}. Do not infer coverage beyond these facts.`,\n  { agent_type: \"advisor\", label: \"report\", inputs: usable.map((r) => r.ref) },\n)\nreturn { planned: discovered.length, selected: selected.length, covered: usable.length, failed, deferred, report }\n```\n\n## Required habits\n\n- Declare progress phases in `meta`; call `phase()` as the run advances.\n- Check every `agent()` result's `.ok`. A null, filtered, timed-out, or failed result is not a clean pass; report how many were dropped.\n- Pass `schema` when later code branches on fields. Treat `inputs` as bounded untrusted data.\n- Prefer `pipeline()` when items can advance independently. Use `parallel()` only for a real all-results barrier.\n- Use `isolation: \"worktree\"` for concurrent writers and tell each agent to commit. Do not pay for worktrees on read-only work.\n- Derive fan-out from discovered independent work items and task difficulty. Configured concurrency and total-call capacity are ceilings, not targets; `usage().limits` exposes the resolved capacity.\n- Use `log()` for progress the user needs before completion. Token fields in `usage()` are lower-bound readings, not a budget limit.\n- Return a JSON-serializable aggregate with coverage. Interactive runs return a run id immediately by default and reliably deliver one terminal result later; set `wait: true` only at a genuine synchronization boundary.\n- When many results would leave only tiny handoff slices, use local Report agents over bounded groups, then pass those Report refs to one global Report. Preserve planned\u002Fselected\u002Fcovered\u002Ffailed\u002Fdeferred counts at every level; exact child outputs remain in `agent-results\u002F` for recovery.\n\n## Full guide\n\n- DSL, result contracts, operators, handoffs, safety, limits, and replay: [REFERENCE.md](REFERENCE.md)\n- Pipeline, barrier, structured handoff, and reporting examples: [EXAMPLES.md](EXAMPLES.md)\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fworkflows-openpi",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill workflows",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill workflows",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill workflows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fworkflows-openpi\u002FSKILL.md",true,[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"EXAMPLES.md","REFERENCE","参考文档",1977,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fworkflows-openpi\u002FEXAMPLES.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"REFERENCE.md",7846,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fworkflows-openpi\u002FREFERENCE.md",[57,64,69,76,83,90],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]