[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD7NVXVT3YDZ55T6GXF15S":3,"skill-same:01M6AD7NVXVT3YDZ55T6GXF15S":72},{"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":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6AD7NVXVT3YDZ55T6GXF15S","restricted-tool-triage","工具拒绝事件分诊","Operate safely and efficiently inside a gh-aw workflow with a restricted tools\u002Fbash allowlist, and correctly triage tool-denial events before they exhaust the session's denial budget.","在带有 tools\u002Fbash 受限白名单的 gh-aw 工作流中安全、高效地操作，并在工具拒绝事件耗尽会话的拒绝预算之前，对这些事件进行正确的分诊处理。","github\u002Fgh-aw","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3VCZ4WKQSFSRTPN7N9DN",5636,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frestricted-tool-triage\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42],"triage","restricted tool triage","tool","workflow","Tools","Budget","Bash","gh","session","events","with","operate","2026-11-10 10:12:30",false,"---\nname: restricted-tool-triage\ndescription: Operate safely and efficiently inside a gh-aw workflow with a restricted tools\u002Fbash allowlist, and correctly triage tool-denial events before they exhaust the session's denial budget.\n---\n\n# Restricted Tool Triage\n\nUse this skill whenever you (the agent) are executing inside a gh-aw workflow whose frontmatter declares a narrow `tools:` allowlist (e.g. a short `bash: [...]` list, a scoped MCP `toolsets`, or no `read`\u002F`shell` at all) and you hit — or are at risk of hitting — a \"permission denied\" \u002F tool-denial response from the harness.\n\n## Why this matters\n\ngh-aw enforces a **hard, non-renewable denial budget** per session (commonly 3 denied tool calls). Once the threshold is reached, the harness emits `guard.tool_denials_exceeded` and aborts the entire session immediately — no further turns, no partial credit, no chance to recover. Treat every tool denial as spending down a scarce budget, not as a way to probe what's allowed.\n\n## Triggers\n\n- A tool call returns \"permission denied by workflow tool permissions\" or similar.\n- You are about to try a shell\u002Fread\u002Fwrite command and are unsure if it's in the declared `tools:` allowlist.\n- The workflow frontmatter shows a short\u002Fexplicit `bash:` list, restrictive MCP `toolsets`, or omits `edit`\u002F`bash` entirely.\n\n## Procedure\n\n1. **Read the allowlist first, before acting.** Before issuing any shell\u002Ffile\u002FMCP command, check the workflow's declared `tools:` block (frontmatter `bash: [...]`, `edit:`, MCP `toolsets:`, etc.) if visible in context, or infer it from the first denial message, which echoes the exact denied command. Do not assume general-purpose shell access is available just because the environment looks like a normal shell.\n\n2. **On the first denial, stop and pivot — do not retry variants.** A denial is not a request to try a slightly different phrasing of the same disallowed command (e.g. don't go from `git status` to `git status --short` to `git diff --stat` as three separate attempts). Instead:\n   - Identify the *capability* you actually need (e.g. \"see which files changed\").\n   - Map it to a tool\u002Fcommand explicitly present in the allowlist (e.g. use `git diff --name-only` if `git diff:*` is allowed but `git status` is not; use the already-available MCP toolset instead of raw `read`\u002F`shell` for file or repo introspection).\n   - If no allowed tool can achieve the capability, stop attempting workarounds for that capability and route around it (skip the sub-task, or note the limitation in your output) rather than spending more of the denial budget.\n\n3. **Budget awareness.** Assume a low, fixed denial ceiling (verify from harness messages such as \"N\u002FM\" if shown, e.g. \"tool denial 2\u002F3\"). Once you're at 1 remaining denial, do not attempt anything speculative — only proceed with actions you are confident are allowed.\n\n4. **Don't misreport scope-as-bug.** A restricted toolset is very often an intentional, security-motivated author choice (least-privilege workflow design), not a misconfiguration. Before calling `report_missing_tool` \u002F `report_missing_data` \u002F equivalent \"report a gap\" safe-output:\n   - Confirm the missing capability is genuinely required to complete the task and has no in-allowlist substitute.\n   - Do NOT claim \"verify token scopes \u002F repository permissions \u002F credentials\" when the actual evidence is a `tools:` allowlist denial — that phrasing wrongly suggests an infra\u002Fauth bug and can prompt maintainers to loosen permissions unnecessarily, which is a security regression.\n   - If you do report a gap, name the specific missing tool\u002Fcapability and cite the exact denied command(s), not a generic \"permissions\" narrative.\n\n5. **Prefer completing partial work over aborting.** If some parts of the task can be completed using only allowed tools, finish and report those, and clearly note what could not be done due to the restricted toolset — rather than continuing to probe disallowed tools until the session is forcibly terminated.\n\n## Verification checklist\n\n- [ ] Did you check the declared `tools:` allowlist (or infer it from the first denial) before issuing further commands?\n- [ ] After any denial, did you switch to a different *capability strategy* rather than retry a denied command class?\n- [ ] Did you stay well under the denial threshold (ideally 0 denials, never risk the last one on a speculative call)?\n- [ ] If you reported a missing tool\u002Fcapability, did you cite the specific denied command(s) instead of a generic \"check credentials\u002Fpermissions\" claim?\n\n## Stop conditions\n\n- If you reach 2 denials, stop attempting anything not certain to be in the allowlist — finish with only allowed tools and report the limitation.\n- If the required capability has no allowed substitute, do not keep probing; complete what you can and clearly state the constraint in your final output rather than exhausting the denial budget.\n","# Restricted Tool Triage\n\nUse this skill whenever you (the agent) are executing inside a gh-aw workflow whose frontmatter declares a narrow `tools:` allowlist (e.g. a short `bash: [...]` list, a scoped MCP `toolsets`, or no `read`\u002F`shell` at all) and you hit — or are at risk of hitting — a \"permission denied\" \u002F tool-denial response from the harness.\n\n## Why this matters\n\ngh-aw enforces a **hard, non-renewable denial budget** per session (commonly 3 denied tool calls). Once the threshold is reached, the harness emits `guard.tool_denials_exceeded` and aborts the entire session immediately — no further turns, no partial credit, no chance to recover. Treat every tool denial as spending down a scarce budget, not as a way to probe what's allowed.\n\n## Triggers\n\n- A tool call returns \"permission denied by workflow tool permissions\" or similar.\n- You are about to try a shell\u002Fread\u002Fwrite command and are unsure if it's in the declared `tools:` allowlist.\n- The workflow frontmatter shows a short\u002Fexplicit `bash:` list, restrictive MCP `toolsets`, or omits `edit`\u002F`bash` entirely.\n\n## Procedure\n\n1. **Read the allowlist first, before acting.** Before issuing any shell\u002Ffile\u002FMCP command, check the workflow's declared `tools:` block (frontmatter `bash: [...]`, `edit:`, MCP `toolsets:`, etc.) if visible in context, or infer it from the first denial message, which echoes the exact denied command. Do not assume general-purpose shell access is available just because the environment looks like a normal shell.\n\n2. **On the first denial, stop and pivot — do not retry variants.** A denial is not a request to try a slightly different phrasing of the same disallowed command (e.g. don't go from `git status` to `git status --short` to `git diff --stat` as three separate attempts). Instead:\n   - Identify the *capability* you actually need (e.g. \"see which files changed\").\n   - Map it to a tool\u002Fcommand explicitly present in the allowlist (e.g. use `git diff --name-only` if `git diff:*` is allowed but `git status` is not; use the already-available MCP toolset instead of raw `read`\u002F`shell` for file or repo introspection).\n   - If no allowed tool can achieve the capability, stop attempting workarounds for that capability and route around it (skip the sub-task, or note the limitation in your output) rather than spending more of the denial budget.\n\n3. **Budget awareness.** Assume a low, fixed denial ceiling (verify from harness messages such as \"N\u002FM\" if shown, e.g. \"tool denial 2\u002F3\"). Once you're at 1 remaining denial, do not attempt anything speculative — only proceed with actions you are confident are allowed.\n\n4. **Don't misreport scope-as-bug.** A restricted toolset is very often an intentional, security-motivated author choice (least-privilege workflow design), not a misconfiguration. Before calling `report_missing_tool` \u002F `report_missing_data` \u002F equivalent \"report a gap\" safe-output:\n   - Confirm the missing capability is genuinely required to complete the task and has no in-allowlist substitute.\n   - Do NOT claim \"verify token scopes \u002F repository permissions \u002F credentials\" when the actual evidence is a `tools:` allowlist denial — that phrasing wrongly suggests an infra\u002Fauth bug and can prompt maintainers to loosen permissions unnecessarily, which is a security regression.\n   - If you do report a gap, name the specific missing tool\u002Fcapability and cite the exact denied command(s), not a generic \"permissions\" narrative.\n\n5. **Prefer completing partial work over aborting.** If some parts of the task can be completed using only allowed tools, finish and report those, and clearly note what could not be done due to the restricted toolset — rather than continuing to probe disallowed tools until the session is forcibly terminated.\n\n## Verification checklist\n\n- [ ] Did you check the declared `tools:` allowlist (or infer it from the first denial) before issuing further commands?\n- [ ] After any denial, did you switch to a different *capability strategy* rather than retry a denied command class?\n- [ ] Did you stay well under the denial threshold (ideally 0 denials, never risk the last one on a speculative call)?\n- [ ] If you reported a missing tool\u002Fcapability, did you cite the specific denied command(s) instead of a generic \"check credentials\u002Fpermissions\" claim?\n\n## Stop conditions\n\n- If you reach 2 denials, stop attempting anything not certain to be in the allowlist — finish with only allowed tools and report the limitation.\n- If the required capability has no allowed substitute, do not keep probing; complete what you can and clearly state the constraint in your final output rather than exhausting the denial budget.\n",{"name":5,"description":7},"main","8541229759617347888641eba917d3b0ad66a984",".github\u002Fskills\u002Frestricted-tool-triage",626,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw","https:\u002F\u002Fgh.io\u002Fgh-aw","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 06:45:15",{"source":9,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add github\u002Fgh-aw --skill restricted-tool-triage",{"tool":64,"command":65},"bunx","bunx skills add github\u002Fgh-aw --skill restricted-tool-triage",{"tool":67,"command":68},"pnpm","pnpm dlx skills add github\u002Fgh-aw --skill restricted-tool-triage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frestricted-tool-triage\u002FSKILL.md",true,[],[73,81,89,115,139,172],{"skillNo":74,"name":75,"nameZh":17,"description":76,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M7DQYVZ9W9DDXKQ9452SNP8J","cracktro","Edit, preview, and verify the standalone interactive talk deck in docs\u002Fpublic\u002Fcracktro (slides, SVG diagrams, transitions, WebAudio sound).","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcracktro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":82,"name":83,"nameZh":17,"description":84,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":88},"01M7612HQ4378TK8QZ5HPAF4KR","create-connector","Create or extend a declaration-only third-party connector, with narrow reads, separate safe outputs, optional protected triggers, and offline conformance evidence.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcreate-connector\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":90,"name":91,"nameZh":92,"description":93,"descriptionZh":94,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":95,"categories":96,"keywords":101,"publishedAt":43},"01M6ADC942STTXHFV410J4DH0X","GitHub Agentic Workflows","GitHub 智能体工作流","GitHub Agentic Workflows (`gh-aw`) is a GitHub CLI extension for writing Agentic Workflows in markdown and compiling them to GitHub Actions.","GitHub Agentic Workflows（`gh-aw`）是一个 GitHub CLI 扩展，用于以 Markdown 编写 Agentic Workflows（智能体工作流）并将其编译为 GitHub Actions。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002FSKILL.md",[97,100],{"categoryNo":98,"categoryName":99,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[10,102,103,104,105,106,107,108,109,38,110,111,112,113,114],"github agentic workflows","agentic workflows","workflows","agentic","extension","markdown","github cli","cli","for","compiling","writing","github actions","actions",{"skillNo":116,"name":117,"nameZh":118,"description":119,"descriptionZh":120,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":121,"categories":122,"keywords":127,"publishedAt":43},"01M6ADC6ZXSA46N9XD6VNAP1MS","windows-compatibility","Windows 跨平台兼容处理","Cross-platform path handling and command patterns","跨平台路径处理和命令模式。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fwindows-compatibility\u002FSKILL.md",[123,124],{"categoryNo":98,"categoryName":99,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":125,"categoryName":126,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[128,129,130,131,132,133,134,135,136,137,138],"windows","windows compatibility","compatibility","command","git","bugs","platform","high","patterns","cross-platform","path",{"skillNo":140,"name":141,"nameZh":142,"description":143,"descriptionZh":144,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":145,"categories":146,"keywords":153,"publishedAt":43},"01M6ADC44957SVQF96R5YY247P","versioning-policy","Squad SDK 语义化版本规范","Semver versioning rules for Squad SDK and CLI — prevents prerelease version incidents","Squad SDK 和 CLI 的 Semver（语义化版本）版本规则——防止预发布版本事故。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fversioning-policy\u002FSKILL.md",[147,150],{"categoryNo":148,"categoryName":149,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",{"categoryNo":151,"categoryName":152,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C78XMS93X21V52649FP9VH","发布经理",[154,155,156,157,158,109,159,160,161,162,163,164,165,166,110,167,168,169,170,171],"versioning","policy","versioning policy","gate","implementation","workspace","pr","sdk","release","ci","npm","semver","squad","incident","incidents","Rules","version","resolution",{"skillNo":173,"name":174,"nameZh":175,"description":176,"descriptionZh":177,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":178,"categories":179,"keywords":182,"publishedAt":43},"01M6ADC1PHMEAEVR87F8PDR89X","tiered-memory","智能体分层记忆管理","Three-tier agent memory model (hot\u002Fcold\u002Fwiki) for context reduction per spawn","三层智能体记忆模型（热\u002F冷\u002F维基），用于减少每次生成（spawn）时的上下文。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Ftiered-memory\u002FSKILL.md",[180,181],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[183,184,185,186,187,188,189,190,191,192,193,194,195,110,196,197],"tiered memory","memory","performance","design","agent memory","proposal","cold","model","wiki","spawn","memory-management","context","three","runtime","management"]