gh-aw-troubleshooting

Diagnose GitHub Agentic Workflows failures by auditing run artifacts and logs.

3|1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill gh-aw-troubleshooting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-aw-troubleshooting
Source: https://github.com/Cogni-AI-OU/cogni-ai-agent-skills/tree/main/gh-aw-troubleshooting
Command: npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill gh-aw-troubleshooting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It diagnoses and resolves failing GitHub Agentic Workflows (gh-aw) by turning run failures into actionable root-cause analysis across tools, permissions, MCP configuration, firewall egress, and safe-outputs behavior.

Core Features & Use Cases

  • Run-Centric Root-Cause Debugging: Extracts a run ID, audits the run artifacts, and correlates missing tools and failures with the workflow configuration.
  • Configuration Verification: Checks MCP server/toolset settings and validates safe-outputs and permissions so fixes address the actual gating constraints.
  • Log-Driven Evidence: Guides inspection of agent stdio logs and generated reports to pinpoint issues like 401s, missing tools, MCP timeouts, blocked domains, or rejected writes.

Quick Start

Use gh-aw-troubleshooting to diagnose a failing workflow run by running the audit for the specific run ID and following the reported missing tools, firewall findings, and safe-outputs or MCP mismatch signals.

Frequently Asked Questions about gh-aw-troubleshooting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I troubleshoot a 401 Unauthorized error in GitHub Agentic Workflows?

To troubleshoot a 401 Unauthorized error in GitHub Agentic Workflows, run the gh aw audit for the specific run ID to inspect agent stdio logs and verify MCP server configuration and permissions. This identifies the exact authentication gating constraints causing the failure.

Why does my MCP server connectivity timeout during agentic workflow execution?

MCP server connectivity timeouts in agentic workflows often stem from firewall egress restrictions or mismatched MCP configuration. Inspect the run artifacts and agent logs via gh aw audit to pinpoint blocked domains or invalid toolset settings for remediation.

How do I fix missing tool errors when running GitHub Agentic Workflows?

Fix missing tool errors in GitHub Agentic Workflows by auditing the run artifacts to correlate the failure with your workflow configuration. Check MCP server toolset settings and validate safe-outputs behavior to apply the minimum configuration changes needed.

What's the best way to diagnose blocked egress domains in gh-aw agent sessions?

The best way to diagnose blocked egress domains in gh-aw agent sessions is to extract the run ID and execute gh aw audit. Log-driven evidence from agent stdio reports pinpoints rejected writes and blocked domains for targeted firewall constraint updates.

Does safe-outputs configuration affect tool availability in GitHub Agentic Workflows?

Yes, safe-outputs configuration directly affects tool availability by gating write permissions and tool execution behavior. Verify safe-outputs settings alongside MCP server configuration during run audits to ensure fixes address the actual gating constraints.

Can I validate workflow configuration changes after fixing a gh-aw run failure?

Yes, after identifying the minimum configuration changes needed for remediation through log inspection, you can recompile and validate the GitHub Agentic Workflow to confirm the missing tools, MCP timeouts, or egress issues are fully resolved.