Self-Healing & Retry

SkillProductivity

Recover from tool failures and flaky commands with intelligent retries, alternate tools, and clear fallbacks. Use when exec, network, or MCP calls fail mid-task.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Self-Healing & Retry skill

What this skill tells your AI

The instructions your AI receives, as published by navinspire-ia/navin in navin/skills/self-healing-retry/SKILL.md and read by ahel’s review.

Overview

Treat failures as information. Retry smartly, switch approach, or escalate - never loop blindly.

Classification

FailureFirst response
Transient network / rate limitWait briefly, retry once or twice with backoff
Command not found / missing CLIInstall if policy allows, or switch tool / skill
Permission deniedStop destructive retries; ask or use safer path
Assertion / test failureFix root cause; do not rerun hoping for luck
Ambiguous / empty resultChange query or tool; verify inputs

Retry policy

  1. Max 2 automatic retries for the same exact command.
  2. On retry #2, change something (flags, cwd, tool, smaller scope).
  3. Capture stderr; quote the relevant error in your reasoning.
  4. If still failing → fallback or ask the user with a concrete question.

Fallback ladder

  1. Built-in tool alternative (web_fetch vs exec curl, grep vs shell grep)
  2. Smaller reproduction (isolate the failing step)
  3. Read-only diagnosis, then propose a fix
  4. User intervention (credentials, network, approval)

Reporting

When you recover, briefly state:

  • what failed
  • what you changed
  • current status

Do not hide repeated failures behind “still working on it”.

Signals

GitHub stars
22
Forks
4
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
self-healing-retry
Source
github.com/navinspire-ia/navin