resilient-execution

resilient-execution is a skill for Claude Code, Codex from Pixel-Process-UG/superkit-agents. It costs 48 tokens per session (2,321 once invoked), scanned A, original, MIT.

A procedure for continuing after a coding task fails by classifying the error and trying at least three genuinely different approaches before asking the user for help.

In plain words
What is it for?
Use it during failed implementations, unexpected results, dependency or permission errors, and situations where an initial solution does not work.
Why use it?
It reduces premature failure when an error may come from a temporary problem, a setup issue, or a mistaken approach.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during failed implementations, unexpected results, dependency or permission errors, and situations where an initial solution does not work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pixel-process-ug/superkit-agents/resilient-execution
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Pixel-Process-UG/superkit-agents --skill resilient-execution
Clone the repo
git clone --depth 1 https://github.com/Pixel-Process-UG/superkit-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for resilient-execution

README.md
[![agentmods](https://agentmods.dev/badge/skills/pixel-process-ug/superkit-agents/resilient-execution/github.svg)](https://agentmods.dev/skills/pixel-process-ug/superkit-agents/resilient-execution)
Your own site
<a href="https://agentmods.dev/skills/pixel-process-ug/superkit-agents/resilient-execution"><img src="https://agentmods.dev/badge/skills/pixel-process-ug/superkit-agents/resilient-execution/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for resilient-execution

Your own site · 80×15
<a href="https://agentmods.dev/skills/pixel-process-ug/superkit-agents/resilient-execution"><img src="https://agentmods.dev/badge/skills/pixel-process-ug/superkit-agents/resilient-execution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,321 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.02321
Opus 5.5 $0.00019 $0.00928
Sonnet 5.5 $0.00010 $0.00464
Haiku 4.5 $0.00005 $0.00232

Measured 2mo ago against content hash 1ea48f972108, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

resilient-execution scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

templates/skills/resilient-execution/SKILL.md · 250 lines

How it starts

The opening of the file, as written. The whole thing — 250 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

The resilient-execution skill prevents premature failure by enforcing a minimum of 3 genuinely different approaches before escalating to the user. It provides a structured error classification system, an approach cascade methodology, and transparent logging of each attempt. Without this skill, agents give up too early — with it, they systematically exhaust alternatives and only escalate with full evidence.

Announce at start: "I'm using the resilient-execution skill — I will try multiple approaches before escalating."


Phase 1: Error Classification

When an approach fails, immediately classify the error before retrying:

Error Type Definition Indicators Correct Response
Transient Temporary infrastructure failure Network timeout, rate limit, 503 error, lock contention Wait briefly, retry the same approach
Environmental Missing or misconfigured dependency Module not found, wrong version, missing env var, permission denied Fix the environment, then retry same approach
Logical Wrong approach or incorrect assumption Wrong output, unexpected behavior, type mismatch, wrong API usage Rethink the approach entirely
Fundamental Genuinely impossible with available tools API does not exist, hardware limitation, missing capability Escalate to user with evidence

STOP: Classify the error before choosing your next approach. Wrong classification leads to wasted retries.


Phase 2: Approach Cascade

Execute the cascade systematically. Each attempt must be a genuinely different strategy.

Attempt 1: Primary approach (most direct solution)
    | fails
    v
Classify error -> Can same approach work with a fix?
    | YES -> Fix and retry (does NOT count as a new attempt)
    | NO  -> Proceed to Attempt 2
    v
Attempt 2: Alternative approach 1 (different technique)
    | fails
    v
Classify error -> Is this fundamentally blocked?
    | YES -> Proceed directly to escalation
    | NO  -> Proceed to Attempt 3
    v
Attempt 3: Alternative approach 2 (different path entirely)
    | fails
    v
Circuit breaker -> Present findings to user with full evidence

Read the full file on GitHub · 250 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 250 lines · 48 tokens per session scan A 1ea48f972108

Subscribe to this mod's changes

resilient-execution is a skill published in the GitHub repository Pixel-Process-UG/superkit-agents (4 stars, last pushed 8mo ago), licensed MIT. It adds 48 tokens to every session and 2,321 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

resilient-execution compared with skills from other repositories

resilient-execution next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
resilient-executionPixel-Process-UG/superkit-agentsSkill48mo agoMITA48Claude Code, Codex
doubt-driven-developmentaddyosmani/agent-skillsSkill122k7d agoMITA96Claude Code
performance-optimizationaddyosmani/agent-skillsSkill122k7d agoMITA59Claude Code
debugging-and-error-recoveryaddyosmani/agent-skillsSkill122k7d agoMITA129Claude Code
systematic-debuggingjnMetaCode/superpowers-zhSkill8.6k15d agoMITA24Claude Code
diagnosing-superpowersjnMetaCode/superpowers-zhSkill8.6k15d agoMITA111Claude Code
browser-tracemxyhi/ok-skillsSkill51811d agoApache-2.0A88Claude Code