Not loaded · from founder-os
Classifies plugin errors into transient, recoverable, degradable, or fatal categories and applies retry/fallback strategies with exponential backoff and learned recovery patterns.
Claude Code won't load this skill
It ships in founder-os at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
The self-healing module detects errors during plugin execution and applies recovery strategies. It classifies errors into four categories and learns which recovery approaches work over time.
| Category | Signal | Action | Max Retries |
|---|---|---|---|
| Transient | HTTP 429, 503, timeout, network error | Retry with exponential backoff | 3 (configurable) |
| Recoverable | Auth expired, DB not found, schema mismatch | Apply known fix, then retry | 1 |
| Degradable | Optional source unavailable | Fall back to reduced capability | 0 |
| Fatal | Invalid input, missing required resource | Stop + notify user | 0 |
HTTP 429 → transient
HTTP 503 → transient
HTTP 502 → transient
"timeout" in error → transient
"ECONNREFUSED" in error → transient
"ENOTFOUND" in error → transient
HTTP 401 → recoverable (auth refresh)
HTTP 403 → fatal (permissions)
HTTP 404 + "database" → recoverable (DB discovery)
HTTP 404 + other → fatal
"not found" + Notion DB name → recoverable (try alternate names)
"rate limit" → transient
Slack/Drive/Calendar unavailable → degradable
Optional MCP source error → degradable
All other errors → fatal (safe default)
The healing_patterns table tracks which classifications and fixes actually work. If a "transient" error persists across 3+ sessions, it gets reclassified to "recoverable" or "fatal". If a "fatal" error gets manually resolved by the user, the system learns the recovery path.
Attempt 1: wait 2 seconds, retry same call
Attempt 2: wait 5 seconds, retry same call
Attempt 3: wait 15 seconds, retry same call
Exhausted: reclassify as degradable (if optional source) or fatal (if required)
gws auth login promptEvery self-healing action produces a visible notification:
[Heal] {error_description} — retrying in {wait}s (attempt {n}/{max})
[Heal] {source} unavailable — continuing without {data_type}
[Heal] Recovered: {fix_description}, resuming command
[Heal] FAILED: {error_description} — {suggested_fix}
Plugins integrate self-healing by including the error observation block (from hooks convention) and checking healing configuration:
## Self-Healing: Error Recovery
If an error occurs during this command:
1. Classify using the rules in _infrastructure/intelligence/self-healing/SKILL.md
2. Check healing.enabled config (default: true)
3. Apply the appropriate recovery strategy
4. Record an error event with recovery_attempted field
5. If recovery succeeds, continue execution and note the recovery in post_command
6. If recovery fails, stop and present the error to the user
After each error event:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
error-handling, retry-logic, graceful-degradation, resilience
npx claudepluginhub thecloudtips/founder-os --plugin founder-os97 skills in this plugin
/action-extractionAction ExtractionConverts meeting transcripts, email threads, and documents into structured Notion tasks. Activates when the user pastes text and wants action items extracted, asks 'what tasks are in this?', or needs to parse any content for to-dos, assignments, and commitments. Handles verb detection, owner inference, deadline parsing, and duplicate checking against HQ Tasks./activity-loggingActivity LoggingCreates and manages activity records in the CRM Communications database with AI-generated summaries. Activates when the user wants to log an email or meeting to CRM, record a client interaction, or asks 'save this to the client record.' Handles idempotent operations, deduplication, and AI summarization./answer-synthesisOther plugins' skills for the same job