[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E08DK2ENE118ZYZBNZ7500":3,"skill-same:01M6E08DK2ENE118ZYZBNZ7500":71},{"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":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M6E08DK2ENE118ZYZBNZ7500","agent-harness-construction",null,"设计和优化AI代理的动作空间、工具定义和观察格式，以提高完成率。","7dvq6yrkgs-stack\u002Fplaywright","7dvq6yrkgs-stack","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F251638143?v=4","01M6E061J2AMGWYZ6TK7Y8NM74","01M6E061PQCQJGQMPBERMCFN5G",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fagent-harness-construction\u002FSKILL.md",[],[18,19,20,21],"harness","agent harness","agent harness construction","design","2026-11-10 10:12:30",false,"---\nname: agent-harness-construction\ndescription: 设计和优化AI代理的动作空间、工具定义和观察格式，以提高完成率。\norigin: ECC\n---\n\n# 智能体框架构建\n\n当你在改进智能体的规划、调用工具、从错误中恢复以及收敛到完成状态的方式时，使用此技能。\n\n## 核心模型\n\n智能体输出质量受限于：\n\n1. 行动空间质量\n2. 观察质量\n3. 恢复质量\n4. 上下文预算质量\n\n## 行动空间设计\n\n1. 使用稳定、明确的工具名称。\n2. 保持输入模式优先且范围狭窄。\n3. 返回确定性的输出形状。\n4. 除非无法隔离，否则避免使用全能型工具。\n\n## 粒度规则\n\n* 对高风险操作（部署、迁移、权限）使用微工具。\n* 对常见的编辑\u002F读取\u002F搜索循环使用中等工具。\n* 仅当往返开销是主要成本时使用宏工具。\n\n## 观察设计\n\n每个工具响应都应包括：\n\n* `status`: success|warning|error\n* `summary`: 一行结果\n* `next_actions`: 可执行的后续步骤\n* `artifacts`: 文件路径 \u002F ID\n\n## 错误恢复契约\n\n对于每个错误路径，应包括：\n\n* 根本原因提示\n* 安全重试指令\n* 明确的停止条件\n\n## 上下文预算管理\n\n1. 保持系统提示词最少且不变。\n2. 将大量指导信息移至按需加载的技能中。\n3. 优先引用文件，而不是内联长文档。\n4. 在阶段边界处进行压缩，而不是任意的令牌阈值。\n\n## 架构模式指导\n\n* ReAct：最适合路径不确定的探索性任务。\n* 函数调用：最适合结构化的确定性流程。\n* 混合模式（推荐）：ReAct 规划 + 类型化工具执行。\n\n## 基准测试\n\n跟踪：\n\n* 完成率\n* 每项任务的重试次数\n* pass@1 和 pass@3\n* 每个成功任务的成本\n\n## 反模式\n\n* 太多语义重叠的工具。\n* 不透明的工具输出，没有恢复提示。\n* 仅输出错误而没有后续步骤。\n* 上下文过载，包含不相关的引用。\n","# 智能体框架构建\n\n当你在改进智能体的规划、调用工具、从错误中恢复以及收敛到完成状态的方式时，使用此技能。\n\n## 核心模型\n\n智能体输出质量受限于：\n\n1. 行动空间质量\n2. 观察质量\n3. 恢复质量\n4. 上下文预算质量\n\n## 行动空间设计\n\n1. 使用稳定、明确的工具名称。\n2. 保持输入模式优先且范围狭窄。\n3. 返回确定性的输出形状。\n4. 除非无法隔离，否则避免使用全能型工具。\n\n## 粒度规则\n\n* 对高风险操作（部署、迁移、权限）使用微工具。\n* 对常见的编辑\u002F读取\u002F搜索循环使用中等工具。\n* 仅当往返开销是主要成本时使用宏工具。\n\n## 观察设计\n\n每个工具响应都应包括：\n\n* `status`: success|warning|error\n* `summary`: 一行结果\n* `next_actions`: 可执行的后续步骤\n* `artifacts`: 文件路径 \u002F ID\n\n## 错误恢复契约\n\n对于每个错误路径，应包括：\n\n* 根本原因提示\n* 安全重试指令\n* 明确的停止条件\n\n## 上下文预算管理\n\n1. 保持系统提示词最少且不变。\n2. 将大量指导信息移至按需加载的技能中。\n3. 优先引用文件，而不是内联长文档。\n4. 在阶段边界处进行压缩，而不是任意的令牌阈值。\n\n## 架构模式指导\n\n* ReAct：最适合路径不确定的探索性任务。\n* 函数调用：最适合结构化的确定性流程。\n* 混合模式（推荐）：ReAct 规划 + 类型化工具执行。\n\n## 基准测试\n\n跟踪：\n\n* 完成率\n* 每项任务的重试次数\n* pass@1 和 pass@3\n* 每个成功任务的成本\n\n## 反模式\n\n* 太多语义重叠的工具。\n* 不透明的工具输出，没有恢复提示。\n* 仅输出错误而没有后续步骤。\n* 上下文过载，包含不相关的引用。\n",{"name":5,"origin":27,"description":7},"ECC","main","a2e3284ed4488780397ee2f78217366e11470dfb","skills\u002Fagent-harness-construction","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright","https:\u002F\u002Fplaywright.dev","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack","2026-04-25 06:04:45",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add 7dvq6yrkgs-stack\u002Fplaywright --skill agent-harness-construction",{"tool":41,"command":42},"bunx","bunx skills add 7dvq6yrkgs-stack\u002Fplaywright --skill agent-harness-construction",{"tool":44,"command":45},"pnpm","pnpm dlx skills add 7dvq6yrkgs-stack\u002Fplaywright --skill agent-harness-construction","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fagent-harness-construction\u002FSKILL.md",true,[49,55,59,63,67],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},".skillfish.json","REFERENCE","参考文档",270,"https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fagent-harness-construction\u002F.skillfish.json",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Finternational-gtm.md",10517,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fmarketing-skill\u002Fskills\u002Fmarketing-strategy-pmm\u002Freferences\u002Finternational-gtm.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Flaunch-checklists.md",8992,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fmarketing-skill\u002Fskills\u002Fmarketing-strategy-pmm\u002Freferences\u002Flaunch-checklists.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fmessaging-templates.md",10783,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fmarketing-skill\u002Fskills\u002Fmarketing-strategy-pmm\u002Freferences\u002Fmessaging-templates.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fpositioning-frameworks.md",7807,"https:\u002F\u002Fgithub.com\u002Fagency-black\u002FSkills\u002Fblob\u002Fmain\u002Fmarketing-skill\u002Fskills\u002Fmarketing-strategy-pmm\u002Freferences\u002Fpositioning-frameworks.md",[72,90,98,106,119,129],{"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":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":22},"01M6E3XK4PRPMQHM7Y98FQPTY1","zyte-api-automation","Automate Zyte API tasks via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzyte-api-automation\u002FSKILL.md",[],[79,80,81,82,83,84,85,86,87,88,89],"zyte api automation","api","automation","MCP","tasks","search","Tools","first","automate","composio","via",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":22},"01M6E3XFX6QSTR1QR59NFXJTMA","zylvie-automation","Automate Zylvie tasks via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzylvie-automation\u002FSKILL.md",[],[97,81,87,82,83,84,85,86,88,89],"zylvie automation",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":22},"01M6E3XCX2GDYYCHN58ZJHT37M","zoominfo-automation","Automate Zoominfo tasks via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzoominfo-automation\u002FSKILL.md",[],[105,81,84,85,86,87,88,89,83,82],"zoominfo automation",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":22},"01M6E3X9WJ2T73216WQHHTB9BD","zoho_mail-automation","Automate Zoho Mail tasks via Rube MCP (Composio): email sending, folders, labels, and mailbox management. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzoho_mail-automation\u002FSKILL.md",[],[113,114,115,81,82,83,84,116,85,86,87,117,88,118,89],"mail","zoho mail automation","zoho","email","management","mailbox",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":22},"01M6E3X719W648XZBW1EC6JQ64","zoho_invoice-automation","Automate Zoho Invoice tasks via Rube MCP (Composio): invoices, estimates, expenses, clients, and payment tracking. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzoho_invoice-automation\u002FSKILL.md",[],[126,115,81,83,84,85,86,87,127,128,88,89,82],"zoho invoice automation","tracking","payment",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":22},"01M6E3X28JYTC3QTK32AQF7BYB","zoho_inventory-automation","Automate Zoho Inventory tasks via Rube MCP (Composio): items, orders, warehouses, shipments, and stock management. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002F7dvq6yrkgs-stack\u002Fplaywright\u002Fblob\u002Fmain\u002Fskills\u002Fzoho_inventory-automation\u002FSKILL.md",[],[81,136,115,137,86,87,85,84,83,82,88,89,138,139,117],"inventory","zoho inventory automation","stock","orders"]