[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74EDBGPKBV0BXW1FQBXFBH5":3,"skill-same:01M74EDBGPKBV0BXW1FQBXFBH5":45},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":13,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M74EDBGPKBV0BXW1FQBXFBH5","error-recovery",null,"Standard recovery patterns for all squad agents. When something fails, adapt — don't just report the failure.","lzy18001500226\u002FMoSim","lzy18001500226","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F152623587?v=4","01M71ZMEX36NK05B642131DEEK","01M71ZMEXSMX72KPVNJ572G0CM",0,"MIT","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002FReferences\u002FAgent\u002FControl\u002Fsquad-dev\u002Fpackages\u002Fsquad-sdk\u002Ftemplates\u002Fskills\u002Ferror-recovery\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: \"error-recovery\"\ndescription: \"Standard recovery patterns for all squad agents. When something fails, adapt — don't just report the failure.\"\ndomain: \"reliability, agent-coordination\"\nconfidence: \"high\"\nlicense: MIT\n---\n\n# Error Recovery Patterns\n\nStandard recovery patterns for all squad agents. When something fails, **adapt** — don't just report the failure.\n\n---\n\n## 1. Retry with Backoff\n\n**When:** Transient failures — API timeouts, rate limits, network errors, temporary service unavailability.\n\n**Pattern:**\n1. Wait briefly, then retry (start at 2s, double each attempt)\n2. Maximum 3 retries before escalating\n3. Log each attempt with the error received\n\n**Example:** API call returns 429 Too Many Requests → wait 2s → retry → wait 4s → retry → wait 8s → retry → escalate if still failing.\n\n---\n\n## 2. Fallback Alternatives\n\n**When:** Primary tool or approach fails and an alternative exists.\n\n**Pattern:**\n1. Attempt primary approach\n2. On failure, identify alternative tool\u002Fmethod\n3. Try the alternative with the same intent\n4. Document which alternative was used and why\n\n**Example:** Primary CLI tool fails → fall back to direct API call for the same operation.\n\n---\n\n## 3. Diagnose-and-Fix\n\n**When:** Build failures, test failures, linting errors — structured errors with actionable output.\n\n**Pattern:**\n1. Read the full error output carefully\n2. Identify the root cause from error messages\n3. Attempt a targeted fix\n4. Re-run to verify the fix\n5. Maximum 3 fix-retry cycles before escalating\n\n**Example:** Build fails with a type error → check for missing import → add it → rebuild.\n\n---\n\n## 4. Escalate with Context\n\n**When:** Recovery attempts have been exhausted, or the failure requires human judgment.\n\n**Pattern:**\n1. Summarize what was attempted and what failed\n2. Include the exact error messages\n3. State what you believe the root cause is\n4. Suggest next steps or who might be able to help\n5. Hand off to the coordinator or the appropriate specialist\n\n**Example:** After 3 failed build attempts → \"Build fails on line 42 with null reference. Tried X, Y, Z. Likely a design issue in the Foo module. Recommend the code owner review.\"\n\n---\n\n## 5. Graceful Degradation\n\n**When:** A non-critical step fails but the overall task can still deliver value.\n\n**Pattern:**\n1. Determine if the failed step is critical to the task outcome\n2. If non-critical, log the failure and continue\n3. Deliver partial results with a clear note of what was skipped\n4. Offer to retry the skipped step separately\n\n**Example:** Generating a report with 5 sections — section 3 data source is unavailable → produce the report with 4 sections, note that section 3 was skipped and why.\n\n---\n\n## Applying These Patterns\n\nEach agent should reference these patterns in their charter's `## Error Recovery` section, tailored to their domain. The charter should list the agent's most common failure modes and map each to the appropriate pattern above.\n\n**Selection guide:**\n\n| Failure Type | Primary Pattern | Fallback Pattern |\n|---|---|---|\n| Network\u002FAPI transient | Retry with Backoff | Escalate with Context |\n| Tool\u002Fdependency missing | Fallback Alternatives | Escalate with Context |\n| Build\u002Ftest error | Diagnose-and-Fix | Escalate with Context |\n| Auth\u002Fpermissions | Retry with Backoff | Escalate with Context |\n| Non-critical data missing | Graceful Degradation | — |\n| Unknown\u002Fnovel error | Escalate with Context | — |\n","# Error Recovery Patterns\n\nStandard recovery patterns for all squad agents. When something fails, **adapt** — don't just report the failure.\n\n---\n\n## 1. Retry with Backoff\n\n**When:** Transient failures — API timeouts, rate limits, network errors, temporary service unavailability.\n\n**Pattern:**\n1. Wait briefly, then retry (start at 2s, double each attempt)\n2. Maximum 3 retries before escalating\n3. Log each attempt with the error received\n\n**Example:** API call returns 429 Too Many Requests → wait 2s → retry → wait 4s → retry → wait 8s → retry → escalate if still failing.\n\n---\n\n## 2. Fallback Alternatives\n\n**When:** Primary tool or approach fails and an alternative exists.\n\n**Pattern:**\n1. Attempt primary approach\n2. On failure, identify alternative tool\u002Fmethod\n3. Try the alternative with the same intent\n4. Document which alternative was used and why\n\n**Example:** Primary CLI tool fails → fall back to direct API call for the same operation.\n\n---\n\n## 3. Diagnose-and-Fix\n\n**When:** Build failures, test failures, linting errors — structured errors with actionable output.\n\n**Pattern:**\n1. Read the full error output carefully\n2. Identify the root cause from error messages\n3. Attempt a targeted fix\n4. Re-run to verify the fix\n5. Maximum 3 fix-retry cycles before escalating\n\n**Example:** Build fails with a type error → check for missing import → add it → rebuild.\n\n---\n\n## 4. Escalate with Context\n\n**When:** Recovery attempts have been exhausted, or the failure requires human judgment.\n\n**Pattern:**\n1. Summarize what was attempted and what failed\n2. Include the exact error messages\n3. State what you believe the root cause is\n4. Suggest next steps or who might be able to help\n5. Hand off to the coordinator or the appropriate specialist\n\n**Example:** After 3 failed build attempts → \"Build fails on line 42 with null reference. Tried X, Y, Z. Likely a design issue in the Foo module. Recommend the code owner review.\"\n\n---\n\n## 5. Graceful Degradation\n\n**When:** A non-critical step fails but the overall task can still deliver value.\n\n**Pattern:**\n1. Determine if the failed step is critical to the task outcome\n2. If non-critical, log the failure and continue\n3. Deliver partial results with a clear note of what was skipped\n4. Offer to retry the skipped step separately\n\n**Example:** Generating a report with 5 sections — section 3 data source is unavailable → produce the report with 4 sections, note that section 3 was skipped and why.\n\n---\n\n## Applying These Patterns\n\nEach agent should reference these patterns in their charter's `## Error Recovery` section, tailored to their domain. The charter should list the agent's most common failure modes and map each to the appropriate pattern above.\n\n**Selection guide:**\n\n| Failure Type | Primary Pattern | Fallback Pattern |\n|---|---|---|\n| Network\u002FAPI transient | Retry with Backoff | Escalate with Context |\n| Tool\u002Fdependency missing | Fallback Alternatives | Escalate with Context |\n| Build\u002Ftest error | Diagnose-and-Fix | Escalate with Context |\n| Auth\u002Fpermissions | Retry with Backoff | Escalate with Context |\n| Non-critical data missing | Graceful Degradation | — |\n| Unknown\u002Fnovel error | Escalate with Context | — |\n",{"name":5,"domain":23,"license":14,"confidence":24,"description":7},"reliability, agent-coordination","high","main","e0ec177d00f087cb04e90206b2f7d3aa2f5a1350","References\u002FAgent\u002FControl\u002Fsquad-dev\u002Fpackages\u002Fsquad-sdk\u002Ftemplates\u002Fskills\u002Ferror-recovery","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim","https:\u002F\u002Fgithub.com\u002Flzy18001500226","2026-08-31 23:29:00",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add lzy18001500226\u002FMoSim --skill error-recovery",{"tool":37,"command":38},"bunx","bunx skills add lzy18001500226\u002FMoSim --skill error-recovery",{"tool":40,"command":41},"pnpm","pnpm dlx skills add lzy18001500226\u002FMoSim --skill error-recovery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002FReferences\u002FAgent\u002FControl\u002Fsquad-dev\u002Fpackages\u002Fsquad-sdk\u002Ftemplates\u002Fskills\u002Ferror-recovery\u002FSKILL.md",true,[],[46,56,64,72,80,88],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":50,"licenseFileUrl":51,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":55},"01M78RK6JGRPTD3TDSMTQWDQ9P","skill-installer","Install Codex skills into $CODEX_HOME\u002Fskills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002Fsrc\u002FAgent\u002Fcodex-main\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fskill-installer\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002Fsrc\u002FAgent\u002Fcodex-main\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fskill-installer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":50,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":55},"01M78RK29KVRDQXSMVZX1GQTJN","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002Fsrc\u002FAgent\u002Fcodex-main\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fskill-creator\u002Flicense.txt","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002Fsrc\u002FAgent\u002Fcodex-main\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":50,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":55},"01M78RJPF3210Y5DA9VJ6JMMG6","openai-docs","Use for Codex models\u002Fpricing, scheduled tasks, skills, settings, setup, troubleshooting, customization, automations, and self-knowledge—including 'you,' 'your,' 'this app,' or 'this coding agent' when they refer to Codex—and for OpenAI APIs\u002Fproducts and ChatGPT Work. Also use for model choice\u002Fmigration, prompting, SDKs, Responses, Realtime, agents, evals, and Chat\u002FWork\u002FCodex comparisons. Do not use for generic app\u002Fsoftware tasks that merely mention Codex.","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002Fsrc\u002FAgent\u002Fcodex-main\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fopenai-docs\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002Fsrc\u002FAgent\u002Fcodex-main\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fopenai-docs\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":50,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":55},"01M78RJH7X67C5AY8ZVS7RQNWJ","imagegen","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002Fsrc\u002FAgent\u002Fcodex-main\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fimagegen\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002Fsrc\u002FAgent\u002Fcodex-main\u002Fcodex-rs\u002Fskills\u002Fsrc\u002Fassets\u002Fsamples\u002Fimagegen\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":50,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":55},"01M78RBBAYMJ6T3ZMAYHCFM6G7","skill-creator-cc","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002FReferences\u002FAgent\u002FWorkflow\u002Fokwinds\u002Fmiscellany\u002Fagent\u002Fskills\u002Fskill-creator-cc\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002FReferences\u002FAgent\u002FWorkflow\u002Fokwinds\u002Fmiscellany\u002Fagent\u002Fskills\u002Fskill-creator-cc\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":96},"01M76VV9V2R9FZTVGMJZV7Y996","prd-writing-guide","Write complete, unambiguous PRDs that development teams can implement without guesswork. Includes requirement discovery framework, structured documentation methodology, completeness checklists, and common pitfall avoidance. Use when: writing new PRDs, reviewing PRD drafts, validating requirement completeness, preparing for engineering handoff. Triggers: 'write PRD', '写PRD', '产品需求文档', '需求文档', '需求规格', '需求评审', '完善需求', 'create requirements doc', 'product requirements', 'feature spec', 'requirements document'. Anti-triggers: 'technical design doc', 'architecture design', 'implementation plan', 'API design', '架构设计', '技术方案', '实现方案', '接口设计'.","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002FReferences\u002FAgent\u002FWorkflow\u002Fokwinds\u002Fmiscellany\u002Fagent\u002Fskills\u002Fprd-writing-guide\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Flzy18001500226\u002FMoSim\u002Fblob\u002Fmain\u002FReferences\u002FAgent\u002FWorkflow\u002Fokwinds\u002Fmiscellany\u002Fagent\u002Fskills\u002Fprd-writing-guide\u002FSKILL.md",[],[],"2026-11-12 13:55:43"]