- Home
- Skills
- Agents & Orchestration
- Delegation Failure Recovery Planner
Works with the AI Agents you already use
Delegation Failure Recovery Planner
A systematic framework for reconstructing and recovering failed delegated workflows without side-effect risks.
$19.99
Delegation Failure Recovery Planner
Example session with this skill installed
A delegated script failed while sending 50 Slack notifications. 22 succeeded, then a timeout occurred. I don't know if notification 23 went out. I need a recovery plan.
- Read your context and instructions
- Compiled the delegation failure recovery
I have analyzed the interrupted Slack notification workflow. The execution state for the 23rd notification is OUTCOME_AMBIGUOUS with a high risk of DUPLICATE_SUSPECTED.
Failure State, Containment & Recovery Ledger (FSCRL)
| Step ID | Failure Symptom | Execution Outcome | Idempotency | Recovery Decision | Validation Evidence |
|---|---|---|---|---|---|
| NOTIF_01-22 | Success | COMPLETED_VERIFIED | N/A | RESUME_FROM_CHECKPOINT | Log timestamps |
| NOTIF_23 | Timeout (No ACK) | OUTCOME_AMBIGUOUS | NON_IDEMPOTENT | RECONCILE_BEFORE_RETRY | History API check |
| NOTIF_24-50 | Not attempted | NOT_STARTED | NON_IDEMPOTENT | SAFE_RETRY | N/A |
Executive Recovery Verdict: PAUSED_FOR_RECONCILIATION
Recovery Path
- Contain: Disable the automated retry trigger to prevent blind replays of the entire list.
Reconcile: Execute slack.conversations.history for the target channel of Notif 23 to check for the specific message payload hash.
3. Update Ledger: If Notif 23 exists, mark as COMPLETED_VERIFIED. If not, mark as SAFE_RETRY.
4. Execute: Resume the loop starting from the first NOT_STARTED or verified missing index.
5. Verify: Compare final message count in channel against the original recipient list of 50.
Next steps
- Provide the Slack
channel_idand the text of notification 23 to perform the reconciliation check. - Confirm if you have
chat:writepermissions for the recovery attempt. - Review the reconciliation result before I trigger the remaining 27 notifications.
Connects securely to your tools. The creator never sees your data.
About this skill
Delegated workflows often fail in ways that manual retries cannot fix. When a tool timeouts, an API returns a 500, or a script is interrupted, you are left with an ambiguous state where side effects may have partially occurred. This skill provides a systematic framework to reconstruct what happened and execute a safe recovery without creating duplicates or corrupting production data.
What it does
- State reconstruction classifies failed actions into precise states like
PARTIAL_SIDE_EFFECTorOUTCOME_AMBIGUOUSbased on available logs. - Risk assessment evaluates idempotency and duplicate risks before any retry is attempted.
- Blast radius mapping identifies downstream impacts across financial, customer-facing, and system-level artifacts.
- Recovery planning selects the optimal strategy between resume, reconcile, compensate, rollback, or human escalation.
- Evidence verification defines observable criteria that must be met before a workflow is considered recovered.
How it works
- Freeze and Fact-Find by capturing the task objective, observed symptoms, and stopping all automated retries.
- Build the FSCRL Ledger to map every failed step to its specific execution outcome, containment state, and reversibility class.
- Establish Recovery Authority by verifying if the current principal has explicit permission to perform recovery actions like voiding or deleting.
- Generate the Control Pack which provides a deterministic sequence of containment, reconciliation, and verification steps.
Frameworks & tools
This skill is platform-agnostic and works with any delegated agent environment including Claude Code, Cursor, AutoGPT, and custom LangChain or CrewAI implementations. It handles REST APIs, database transactions, and cloud provider operations.
Why this beats prompting it yourself
Generic prompts often lead agents to blindly retry failing actions, which causes duplicate payments, double-posts, or data corruption. This skill enforces strict evidence discipline and human-in-the-loop gates for all irreversible actions.
Use cases
- API Timeout Recovery where a payment or message may have been sent but no receipt was recorded.
- Interrupted Deployment where a CI/CD pipeline fails mid-run leaving infra in an inconsistent state.
- Approval Drift when a workflow payload changes after a human has already signed off on an earlier version.
- Data Pipeline Failures where partial ETL loads require precise reconciliation before resuming.
Known limitations
This skill designs recovery procedures but cannot execute them without direct tool access provided by the host environment. It relies on the accuracy of provided logs and system receipts.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 18 days ago
- Passed all security checks, Safe to install