[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69A0ZCY61A97MHSNEFGAJ6D":3,"skill-same:01M69A0ZCY61A97MHSNEFGAJ6D":87},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":17,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M69A0ZCY61A97MHSNEFGAJ6D","diagnose","场景失败根因诊断","Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns","用于系统诊断场景失败的原因——通过分析智能体执行轨迹、代码库和行为模式来识别根本原因。","microsoft\u002FAutoSaddler","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69A0VT60MZ2F2MPYMKY735H",251,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAutoSaddler\u002Fblob\u002Fmain\u002Fsrc\u002Fautosaddler\u002Fv1\u002Fproposer\u002Fautosaddler\u002Fskills\u002Fdiagnose\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",[5],"2026-11-10 10:12:30",false,"---\nname: diagnose\ndescription: \"Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns\"\n---\n\n# Diagnosis Methodology\n\n## Overview\n\nDiagnosis identifies the root cause of scenario failures by tracing the\nagent's execution step-by-step and reading the agent codebase to understand\nwhy the code produces the observed behavior. A correct diagnosis is the\nfoundation for an effective patch — without understanding WHY the agent\nfails, patches are shots in the dark.\n\n## When to Use\n\nBefore applying any patch. Every patch should be preceded by diagnosis\nof at least the target failing scenarios.\n\n## Diagnosis Workflow\n\n### 1. Read Evaluation Output\nStart with the evaluation output for the scenario to get the score and\nrationale. The rationale provides a high-level summary of why the scenario\nfailed. Refer to the session prompt or CLAUDE.md for the exact file paths.\n\n### 2. Read Agent Execution Trace\nRead the full agent trace file for the scenario to see:\n- Every tool call the agent made\n- Every tool response\n- The agent's reasoning at each step\n- Where the agent deviated from expected behavior\n\n### 3. Read the Agent Codebase\nRead the relevant source files to understand why the code caused the\nobserved behavior:\n- **System prompt**: What instructions did the agent receive?\n- **Tool docstrings**: What did the agent see about the tool's API?\n- **Tool implementation**: What does the tool actually do? Is there a\n  mismatch between the docstring and the implementation?\n- **Hook configurations**: Are there PreToolUse hooks that should have\n  guided the agent but didn't?\n- **Agent loop logic**: Are there infrastructure constraints (budget,\n  timeouts) that prevented completion?\n\nTrace the code path: what the agent saw (docstring\u002Fprompt) → what it\ndecided (trace reasoning) → what happened (tool implementation).\n\n### 4. Identify the Failure Point\n\nPinpoint the exact step where the agent's behavior diverged from what was\nneeded. Compare what the agent did (from the trace) against what it should\nhave done (from the evaluation rationale and oracle expectations).\n\nKey questions:\n- At which step did the agent first make a wrong decision?\n- What information was available to the agent at that point?\n- What did the agent see (prompt, docstring, tool response) that led to\n  the wrong decision?\n- Was the root cause in the code (what the tool does), in the text (what\n  the agent reads about the tool), or in the agent's reasoning?\n\n### 5. Build a Comprehensive Root Cause Analysis\n\nGo beyond surface-level symptoms. The same failure can often be addressed\nthrough multiple approaches — a missing action might be fixable by adding\na new tool, by improving an existing tool's output, by adding a prompt\nrule, or by inserting a hook reminder. Your job is to understand the\n**full causal chain** deeply enough that the patch strategy can be chosen\nbased on which approach is most robust and generalizable.\n\nFor each failing scenario, document:\n- **What happened**: The exact sequence of agent actions that led to failure\n- **Why it happened**: The code path — what the agent saw (docstring\u002Fprompt),\n  what it decided (trace reasoning), what actually happened (implementation)\n- **What should have happened**: The expected behavior based on the oracle\n- **Where the gap is**: The precise mismatch between the agent's world model\n  and reality — is it in the tool's behavior, the agent's understanding of\n  the tool, the agent's planning, or the environment's constraints?\n\n### 6. Cross-Reference with History\n- Check `evo-dag show history` for the full patch history — look for\n  similar failure patterns that were diagnosed before, what fix was\n  applied, and whether it worked. Use this to avoid known pitfalls and\n  build on proven strategies.\n- Check `evo-dag show scenario \u003Cid>` for prior attempts on this specific\n  scenario — known root causes and previously attempted fixes. Avoid\n  repeating approaches that already failed.\n\n## Diagnosis Quality Checklist\n\n1. **Specific**: Points to the exact line\u002Fstep where the agent fails\n2. **Causal**: Explains WHY the agent makes that mistake (not just what it does wrong)\n3. **Actionable**: Clearly implies what kind of patch would fix it\n4. **Unique**: Distinguished from prior failed attempts on the same scenario\n","# Diagnosis Methodology\n\n## Overview\n\nDiagnosis identifies the root cause of scenario failures by tracing the\nagent's execution step-by-step and reading the agent codebase to understand\nwhy the code produces the observed behavior. A correct diagnosis is the\nfoundation for an effective patch — without understanding WHY the agent\nfails, patches are shots in the dark.\n\n## When to Use\n\nBefore applying any patch. Every patch should be preceded by diagnosis\nof at least the target failing scenarios.\n\n## Diagnosis Workflow\n\n### 1. Read Evaluation Output\nStart with the evaluation output for the scenario to get the score and\nrationale. The rationale provides a high-level summary of why the scenario\nfailed. Refer to the session prompt or CLAUDE.md for the exact file paths.\n\n### 2. Read Agent Execution Trace\nRead the full agent trace file for the scenario to see:\n- Every tool call the agent made\n- Every tool response\n- The agent's reasoning at each step\n- Where the agent deviated from expected behavior\n\n### 3. Read the Agent Codebase\nRead the relevant source files to understand why the code caused the\nobserved behavior:\n- **System prompt**: What instructions did the agent receive?\n- **Tool docstrings**: What did the agent see about the tool's API?\n- **Tool implementation**: What does the tool actually do? Is there a\n  mismatch between the docstring and the implementation?\n- **Hook configurations**: Are there PreToolUse hooks that should have\n  guided the agent but didn't?\n- **Agent loop logic**: Are there infrastructure constraints (budget,\n  timeouts) that prevented completion?\n\nTrace the code path: what the agent saw (docstring\u002Fprompt) → what it\ndecided (trace reasoning) → what happened (tool implementation).\n\n### 4. Identify the Failure Point\n\nPinpoint the exact step where the agent's behavior diverged from what was\nneeded. Compare what the agent did (from the trace) against what it should\nhave done (from the evaluation rationale and oracle expectations).\n\nKey questions:\n- At which step did the agent first make a wrong decision?\n- What information was available to the agent at that point?\n- What did the agent see (prompt, docstring, tool response) that led to\n  the wrong decision?\n- Was the root cause in the code (what the tool does), in the text (what\n  the agent reads about the tool), or in the agent's reasoning?\n\n### 5. Build a Comprehensive Root Cause Analysis\n\nGo beyond surface-level symptoms. The same failure can often be addressed\nthrough multiple approaches — a missing action might be fixable by adding\na new tool, by improving an existing tool's output, by adding a prompt\nrule, or by inserting a hook reminder. Your job is to understand the\n**full causal chain** deeply enough that the patch strategy can be chosen\nbased on which approach is most robust and generalizable.\n\nFor each failing scenario, document:\n- **What happened**: The exact sequence of agent actions that led to failure\n- **Why it happened**: The code path — what the agent saw (docstring\u002Fprompt),\n  what it decided (trace reasoning), what actually happened (implementation)\n- **What should have happened**: The expected behavior based on the oracle\n- **Where the gap is**: The precise mismatch between the agent's world model\n  and reality — is it in the tool's behavior, the agent's understanding of\n  the tool, the agent's planning, or the environment's constraints?\n\n### 6. Cross-Reference with History\n- Check `evo-dag show history` for the full patch history — look for\n  similar failure patterns that were diagnosed before, what fix was\n  applied, and whether it worked. Use this to avoid known pitfalls and\n  build on proven strategies.\n- Check `evo-dag show scenario \u003Cid>` for prior attempts on this specific\n  scenario — known root causes and previously attempted fixes. Avoid\n  repeating approaches that already failed.\n\n## Diagnosis Quality Checklist\n\n1. **Specific**: Points to the exact line\u002Fstep where the agent fails\n2. **Causal**: Explains WHY the agent makes that mistake (not just what it does wrong)\n3. **Actionable**: Clearly implies what kind of patch would fix it\n4. **Unique**: Distinguished from prior failed attempts on the same scenario\n",{"name":5,"description":7},"main","e841543ce6cf6bdf690e65134b12a829ec9f66d1","src\u002Fautosaddler\u002Fv1\u002Fproposer\u002Fautosaddler\u002Fskills\u002Fdiagnose",21,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAutoSaddler","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-04 09:31:35",{"source":9,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add microsoft\u002FAutoSaddler --skill diagnose",{"tool":51,"command":52},"bunx","bunx skills add microsoft\u002FAutoSaddler --skill diagnose",{"tool":54,"command":55},"pnpm","pnpm dlx skills add microsoft\u002FAutoSaddler --skill diagnose","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAutoSaddler\u002Fblob\u002Fmain\u002Fsrc\u002Fautosaddler\u002Fv1\u002Fproposer\u002Fautosaddler\u002Fskills\u002Fdiagnose\u002FSKILL.md",true,[59,65,71,75,79,83],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"agents\u002Fopenai.yaml","REFERENCE","参考文档",485,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-setup-auth\u002Fagents\u002Fopenai.yaml",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"assets\u002Ficon.svg","ASSET","资产文件",394,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-setup-auth\u002Fassets\u002Ficon.svg",{"path":72,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fauth0.md",7542,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-setup-auth\u002Freferences\u002Fauth0.md",{"path":76,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fclerk.md",6340,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-setup-auth\u002Freferences\u002Fclerk.md",{"path":80,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fconvex-auth.md",8400,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-setup-auth\u002Freferences\u002Fconvex-auth.md",{"path":84,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fworkos-authkit.md",6318,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-setup-auth\u002Freferences\u002Fworkos-authkit.md",[88,103,117,129,141,153],{"skillNo":89,"name":90,"nameZh":91,"description":92,"descriptionZh":93,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":94,"categories":95,"keywords":100,"publishedAt":31},"01M69A1BZNSPKDFFH17EC65HB4","verification-baseline","候选变更验证","Use after applying a candidate change to verify its diff, scope, syntax, integration behavior, and consistency before returning it.","在应用候选变更之后使用，在返回该变更之前，验证其差异（diff）、作用范围、语法、集成行为及一致性。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAutoSaddler\u002Fblob\u002Fmain\u002Fsrc\u002Fautosaddler\u002Fv2\u002Fprompting\u002Fmethodology\u002Fskills\u002Fverification-baseline\u002FSKILL.md",[96,99],{"categoryNo":97,"categoryName":98,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[101,102],"verification baseline","change",{"skillNo":104,"name":105,"nameZh":106,"description":107,"descriptionZh":108,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":109,"categories":110,"keywords":115,"publishedAt":31},"01M69A1AQWGTRW8ZSJK27HZJEW","history-analysis","演进历史分析","Use to systematically analyze the full evolution history without output truncation and produce a focused summary for selection, diagnosis, or reflection.","用于系统分析完整的演进历史（不受输出截断影响），并生成一份聚焦的摘要，供选择、诊断或反思使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAutoSaddler\u002Fblob\u002Fmain\u002Fsrc\u002Fautosaddler\u002Fv2\u002Fprompting\u002Fmethodology\u002Fskills\u002Fhistory-analysis\u002FSKILL.md",[111,112],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":113,"categoryName":114,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[116],"history analysis",{"skillNo":118,"name":119,"nameZh":120,"description":121,"descriptionZh":122,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":123,"categories":124,"keywords":127,"publishedAt":31},"01M69A19GG7FP9TD0DH1JK92KS","causal-diagnosis","失败根因诊断","Use before proposing a mutation to diagnose measured failures from evaluator outcomes, traces, history, and the controlling candidate surfaces.","在提出变更（mutation）之前使用，依据评估器结果、追踪记录、历史以及用于控制的候选面（candidate surfaces）对已测得的失败进行诊断。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAutoSaddler\u002Fblob\u002Fmain\u002Fsrc\u002Fautosaddler\u002Fv2\u002Fprompting\u002Fmethodology\u002Fskills\u002Fcausal-diagnosis\u002FSKILL.md",[125,126],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[128,5],"causal diagnosis",{"skillNo":130,"name":131,"nameZh":132,"description":133,"descriptionZh":134,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":135,"categories":136,"keywords":139,"publishedAt":31},"01M69A188Y251SZRQVRX6T7MNJ","steering-patch","智能体行为引导补丁","Selected during the steering phase to refine agent behavior through prompts, tool descriptions, or hook reminders without changing executable code.","在引导（steering）阶段选用，通过提示词、工具描述或钩子提醒来优化智能体行为，而无需修改可执行代码。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAutoSaddler\u002Fblob\u002Fmain\u002Fsrc\u002Fautosaddler\u002Fv2\u002Fplugins\u002Fmeta_are\u002Fskills\u002Fsteering-patch\u002FSKILL.md",[137,138],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":113,"categoryName":114,"taxonomyType":23,"taxonomyTypeDesc":24},[140],"steering patch",{"skillNo":142,"name":143,"nameZh":144,"description":145,"descriptionZh":146,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":147,"categories":148,"keywords":151,"publishedAt":31},"01M69A17091MKDJBMZZZ0S083M","patch-verification","Meta-ARE 补丁验证","Use after applying a Meta-ARE patch to check syntax, imports, integration behavior, hooks, mutation scope, and result consistency.","在应用 Meta-ARE 补丁后使用，检查语法、导入、集成行为、钩子、变更范围以及结果一致性。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAutoSaddler\u002Fblob\u002Fmain\u002Fsrc\u002Fautosaddler\u002Fv2\u002Fplugins\u002Fmeta_are\u002Fskills\u002Fpatch-verification\u002FSKILL.md",[149,150],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":113,"categoryName":114,"taxonomyType":23,"taxonomyTypeDesc":24},[152],"patch verification",{"skillNo":154,"name":155,"nameZh":156,"description":157,"descriptionZh":158,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":159,"categories":160,"keywords":163,"publishedAt":31},"01M69A15YTSC5SQZF2T26HGK06","capability-patch","智能体能力补丁","Selected during the capability phase to add tools, expose parameters, fix implementations, or remove infrastructure limitations that restrict the agent.","在能力（capability）阶段选用，用于添加工具、开放参数、修复实现，或移除限制智能体的基础设施约束。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAutoSaddler\u002Fblob\u002Fmain\u002Fsrc\u002Fautosaddler\u002Fv2\u002Fplugins\u002Fmeta_are\u002Fskills\u002Fcapability-patch\u002FSKILL.md",[161,162],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":113,"categoryName":114,"taxonomyType":23,"taxonomyTypeDesc":24},[164],"capability patch"]