diagnose-awf
Skill148 starsChanged 2 months agoMITView on GitHub
Diagnose an AWF (Agentic Workflow Firewall) failure from an error, workflow run URL, or symptom. Covers auth (api-proxy, enterprise/BYOK Copilot, OIDC, mcpg), ARC/DinD and self-hosted runners, alternative runtimes (gVisor/Kata/chroot), Squid/DNS/egress denials, CI and gh-aw safe-output failures, and suspected security regressions. Routes to the canonical diagnosis registry in docs/diagnostics.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- awf-debug-toolsSkill
- awf-skillSkill
- debug-firewallSkill
- recompile-workflowsSkill
- add-llm-providerSkill
- agentic-workflowsSkill
- debugging-workflowsSkill
- pr-finisherSkill
- awf-skillSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
Check configuration presence/shape, route and health status, and redacted error classes only.
- Very specific: line 47
Never request API keys, tokens, JWTs, Authorization headers, environment dumps, inference probes, or token exchanges.
- Very specific: line 49
Never recommend --env-all, disabling isolation, or broadening the domain allowlist by default.
- Distinctive: line 53
If no record matches, say so, name the smallest missing evidence, and stop.
- Distinctive: line 54
Never invent a fix.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Diagnose AWF Failures
Single entry point for diagnosing AWF failures. The canonical knowledge lives in the diagnosis registry — this skill only routes and reports.
Procedure
- Read the index —
docs/diagnostics/README.mdfor boundary routing and specialist references, anddocs/diagnostics/agent-playbook.mdfor the report shape and safety rules. - Fingerprint the run: AWF version, runner type (GitHub-hosted /
self-hosted / ARC+DinD / GHES / GHEC),
DOCKER_HOST,GITHUB_SERVER_URL, container runtime, provider, auth mode. Useunknownwhere unverified. - Classify the failing boundary:
runner,runtime,network,auth,ci,security. Load only matching records:
npx tsx scripts/diagnostics/cli.ts search "<redacted error string>" --boundary <boundary>Without a clone, use the portable artifact
.github/agents/diagnose-awf.md(prefer a tag matching your AWF version).- Probe with the matched finding's read-only probe when the match is ambiguous — one probe at a time.
- Report: observed symptom, matched finding ID and evidence, affected version/topology, safe next probe, fix/workaround, citations.
Auth routing
- api-proxy sidecar / provider token exchange →
AUTH-001,AUTH-002 - GitHub/Copilot enterprise and BYOK routing →
AUTH-001,docs/auth-matrix.md - gh-aw-launched mcpg HTTP MCP GitHub OIDC →
AUTH-003
Check configuration presence/shape, route and health status, and redacted error classes only.
Safety rules
- Never request API keys, tokens, JWTs,
Authorizationheaders, environment dumps, inference probes, or token exchanges. - Never recommend
--env-all, disabling isolation, or broadening the domain allowlist by default. - Suspected isolation or credential-boundary regressions route to
SEC-001and the repository security review process. - If no record matches, say so, name the smallest missing evidence, and stop. Never invent a fix.
Specialist references
.github/workflows/shared/self-hosted-failure-modes.md— full runner catalog.github/skills/debug-firewall/SKILL.md— Squid, iptables, container state.github/skills/awf-debug-tools/SKILL.md— log parsing helpers.github/skills/debugging-workflows/SKILL.md— GitHub Actions log retrievaldocs/auth-matrix.md,docs/compatibility.md,docs/troubleshooting.md
Updating knowledge
Follow docs/diagnostics/patterns.md.
Edit the canonical record, run npm run diagnostics:render, and open a reviewed
PR. Never edit generated artifacts or .lock.yml files by hand.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

