Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Operate safely and efficiently inside a gh-aw workflow with a restricted tools/bash allowlist, and correctly triage tool-denial events before they exhaust the session's denial budget.
.claude/skills/github-restricted-tool-triage/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-19 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 415% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 119% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 56% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 1% | 0% |
Use 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/shell at all) and you hit — or are at risk of hitting — a "permission denied" / tool-denial response from the harness.
gh-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.
tools: allowlist.bash: list, restrictive MCP toolsets, or omits edit/bash entirely.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.git status to git status --short to git diff --stat as three separate attempts). Instead:git diff --name-only if git diff:* is allowed but git status is not; use the already-available MCP toolset instead of raw read/shell for file or repo introspection).missing_tool / missing_data / equivalent "report a gap" safe-output:tools: allowlist denial — that phrasing wrongly suggests an infra/auth bug and can prompt maintainers to loosen permissions unnecessarily, which is a security regression.tools: allowlist (or infer it from the first denial) before issuing further commands?| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-20 | pass→pass | 18,795 | 13,247 | -30% | 1 | 1 | 0% | 2,204 | 2,439 | +11% | 0 | 0 | — |
case-21 | pass→pass | 14,375 | 11,291 | -21% | 1 | 1 | 0% | 2,669 | 3,074 | +15% | 0 | 0 | — |
case-22 | pass→fail | 13,453 | 11,208 | -17% | 1 | 1 | 0% | 2,189 | 2,772 | +27% | 0 | 0 | — |
case-19 | fail→pass | 21,686 | 13,917 | -36% | 1 | 1 | 0% | 2,457 | 2,337 | -5% | 0 | 0 | — |
case-01 | fail→fail | 50,896 | 20,799 | -59% | 1 | 1 | 0% | 273 | 3,585 | +1213% | 0 | 0 | — |
case-02 | fail→fail | 32,835 | 20,688 | -37% | 1 | 1 | 0% | 2,867 | 3,695 | +29% | 0 | 0 | — |
case-03 | fail→pass | 12,479 | 51,777 | +315% | 1 | 1 | 0% | 1,221 | 6,286 | +415% | 0 | 0 | — |
case-04 | fail→fail | 15,791 | 12,537 | -21% | 1 | 1 | 0% | 1,760 | 2,429 | +38% | 0 | 0 | — |
case-05 | pass→pass | 13,415 | 12,318 | -8% | 1 | 1 | 0% | 1,220 | 2,193 | +80% | 0 | 0 | — |
case-06 | pass→pass | 12,999 | 10,276 | -21% | 1 | 1 | 0% | 1,283 | 1,950 | +52% | 0 | 0 | — |
case-07 | pass→pass | 11,518 | 10,316 | -10% | 1 | 1 | 0% | 1,624 | 1,640 | +1% | 0 | 0 | — |
case-08 | fail→pass | 10,214 | 7,815 | -23% | 1 | 1 | 0% | 695 | 1,523 | +119% | 0 | 0 | — |
case-09 | pass→pass | 15,985 | 7,744 | -52% | 1 | 1 | 0% | 1,631 | 1,482 | -9% | 0 | 0 | — |
case-10 | pass→pass | 13,934 | 9,059 | -35% | 1 | 1 | 0% | 1,693 | 1,756 | +4% | 0 | 0 | — |
case-11 | fail→pass | 13,973 | 11,126 | -20% | 1 | 1 | 0% | 1,309 | 2,039 | +56% | 0 | 0 | — |
case-12 | pass→pass | 6,805 | 5,194 | -24% | 1 | 1 | 0% | 959 | 1,823 | +90% | 0 | 0 | — |
case-13 | pass→pass | 7,910 | 8,674 | +10% | 1 | 1 | 0% | 422 | 1,593 | +277% | 0 | 0 | — |
case-14 | pass→pass | 17,628 | 10,620 | -40% | 1 | 1 | 0% | 2,189 | 1,940 | -11% | 0 | 0 | — |
case-15 | pass→pass | 16,971 | 12,536 | -26% | 1 | 1 | 0% | 1,947 | 2,187 | +12% | 0 | 0 | — |
case-16 | pass→pass | 11,834 | 9,546 | -19% | 1 | 1 | 0% | 995 | 1,966 | +98% | 0 | 0 | — |
case-17 | fail→pass | 8,548 | 7,413 | -13% | 1 | 1 | 0% | 1,360 | 1,380 | +1% | 0 | 0 | — |
case-18 | fail→pass | 17,778 | 8,378 | -53% | 1 | 1 | 0% | 2,090 | 2,413 | +15% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 21 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +23 percentage points is the difference between those two pass rates over the 21 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.