Claude
Skill
self-healing-retry
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.
Virus-scanned
Reviewed automatically before listing.
Download
navinspire-ia-navin-navin_skills_self-healing-retry-e9c73a3.zip · 1 KB
Install
skills CLI
npx skills add https://github.com/Navinspire-ia/navin/tree/main/navin/skills/self-healing-retry
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install navinspire-ia-navin@llmmart
Git
git clone https://github.com/Navinspire-ia/navin.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole navinspire-ia/navin collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Self-Healing & Retry
Overview
Treat failures as information. Retry smartly, switch approach, or escalate - never loop blindly.
Classification
| Failure | First response |
|---|---|
| Transient network / rate limit | Wait briefly, retry once or twice with backoff |
| Command not found / missing CLI | Install if policy allows, or switch tool / skill |
| Permission denied | Stop destructive retries; ask or use safer path |
| Assertion / test failure | Fix root cause; do not rerun hoping for luck |
| Ambiguous / empty result | Change query or tool; verify inputs |
Retry policy
- Max 2 automatic retries for the same exact command.
- On retry #2, change something (flags, cwd, tool, smaller scope).
- Capture stderr; quote the relevant error in your reasoning.
- If still failing → fallback or ask the user with a concrete question.
Fallback ladder
- Built-in tool alternative (
web_fetchvsexec curl,grepvs shell grep) - Smaller reproduction (isolate the failing step)
- Read-only diagnosis, then propose a fix
- 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”.
Files (navin)
-
SKILL.md 1.5 KB
--- name: self-healing-retry description: 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. metadata: {"navin":{"emoji":"🩹","category":"intelligence"}} --- # Self-Healing & Retry ## Overview Treat failures as information. Retry smartly, switch approach, or escalate - never loop blindly. ## Classification | Failure | First response | |---------|----------------| | Transient network / rate limit | Wait briefly, retry once or twice with backoff | | Command not found / missing CLI | Install if policy allows, or switch tool / skill | | Permission denied | Stop destructive retries; ask or use safer path | | Assertion / test failure | Fix root cause; do not rerun hoping for luck | | Ambiguous / empty result | Change 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”.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.