Exec Error Doctor
Triage execution failures quickly, classify root cause, and apply targeted fixes instead of random retries.
Quick workflow
- Run triage on raw error text:
scripts/exec_error_triage.sh <error_text_or_file>
- Apply the category fix from
references/error-taxonomy.md. - Re-run with safer wrappers when relevant:
- GitHub CLI search schema drift:
scripts/gh_search_repos_safe.sh - ClawHub publish visibility lag:
scripts/clawhub_publish_safe.sh
- GitHub CLI search schema drift:
- Confirm with one clean re-run and capture outcome.
Standard commands
Generic triage
bash scripts/exec_error_triage.sh "Unknown JSON field: nameWithOwner"
Safe GitHub repo search (schema-aware)
bash scripts/gh_search_repos_safe.sh "safe-exec skill" 15
Safe ClawHub publish (retry-aware inspect)
bash scripts/clawhub_publish_safe.sh ./my-skill my-skill "My Skill" 1.0.0 "Initial release"
Rules
- Prefer classification before fixes.
- Treat
Skill not foundright after publish as potentially transient if publish already returned OK. - For
gh search repos --json, preferfullName(notnameWithOwner). - Distinguish transient errors (retry/backoff) from hard errors (auth, permission, invalid args).
Resources
references/error-taxonomy.md: category→fix map.scripts/exec_error_triage.sh: pattern-based classifier.scripts/gh_search_repos_safe.sh: resilient GitHub search wrapper.scripts/clawhub_publish_safe.sh: publish + retry verification wrapper.