reset
Reset after failures, blockers, or when stuck. Use when execution hits a wall, something breaks, or we need to step back and reassess. This is the fifth system in the 5-system framework.
Best use case
reset is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Reset after failures, blockers, or when stuck. Use when execution hits a wall, something breaks, or we need to step back and reassess. This is the fifth system in the 5-system framework.
Teams using reset should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/5-reset/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How reset Compares
| Feature / Agent | reset | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Reset after failures, blockers, or when stuck. Use when execution hits a wall, something breaks, or we need to step back and reassess. This is the fifth system in the 5-system framework.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Reset System (Failure Recovery)
> **Purpose:** Gracefully recover from setbacks, learn, and continue.
> **When to trigger:** When stuck, something breaks, approach isn't working, or need to step back.
## Failure Response Protocol
### Step 1: STOP
**Immediately cease current approach.**
Do NOT:
- Try "one more thing"
- Keep pushing the same failing approach
- Make changes hoping they'll work
- Ignore the signals
Do:
- Acknowledge something isn't working
- Take a breath
- Prepare to capture state
### Step 2: CAPTURE STATE
Document what happened:
```markdown
## Failure Capture
**What we were trying to do:**
[Description of goal]
**What actually happened:**
[Description of failure/block]
**Error/symptom observed:**
[Specific error messages, unexpected behavior]
**What we tried:**
1. Attempt 1: [what] → [result]
2. Attempt 2: [what] → [result]
3. Attempt 3: [what] → [result]
**Current git state:**
[Branch, commit, uncommitted changes]
```
Log this to `.claude/failure-log.md`.
### Step 3: CHECKPOINT
Ensure state is preserved:
1. **Git status** - Are there uncommitted changes to save?
2. **Working state** - Note the last known working commit
3. **Context** - Save any important context that might be lost
```bash
git status
git stash # if needed to preserve work-in-progress
```
### Step 4: DIAGNOSE
Determine the root cause category:
**Clarity Problem** (misunderstanding)
- Requirements were ambiguous
- Success criteria unclear
- Scope was wrong
→ Return to **Clarity System**
**Identity Problem** (hidden issue)
- Discovered unknown constraint
- Missed a dependency
- Technical limitation found
→ Run **Identity System**
**Priority Problem** (wrong focus)
- Solving the wrong problem
- This should have waited
- Dependencies not addressed
→ Return to **Priority System**
**Execution Problem** (bad approach)
- Approach was flawed
- Implementation strategy wrong
- Need different technique
→ Try different approach, same task
**External Block** (outside control)
- API down
- Missing credentials
- Need user input
→ Document and wait/ask
### Step 5: RESET TO APPROPRIATE SYSTEM
Based on diagnosis:
| Root Cause | Action |
|------------|--------|
| Clarity | Update active-context.md, restart with clarity |
| Identity | Run identification, log new issues |
| Priority | Re-evaluate, might deprioritize |
| Execution | New approach, same goal |
| External | Document, notify user, wait |
### Step 6: LEARN
Update `.claude/learnings.md` with:
```markdown
## Learning Entry - [Date]
**Failure:** [Brief description]
**Root Cause:** [What actually went wrong]
**Pattern:** [Is this a recurring issue?]
**Prevention:** [How to avoid this in future]
**New Rule/Check:** [Any process improvement to add]
```
## Failure Log Format
Maintain `.claude/failure-log.md`:
```markdown
# Failure Log
## Entry Template
| Date | Task | What Failed | Root Cause | Resolution | Learning |
|------|------|-------------|------------|------------|----------|
| 2026-01-01 | Add auth | Type errors cascaded | Didn't validate early | Reset, fix types first | Run tsc after every change |
## Detailed Entries
### [Date] - [Brief Title]
**Context:**
What we were doing
**Failure:**
What went wrong
**Attempts:**
What we tried
**Resolution:**
How it was fixed
**Takeaway:**
What we learned
```
## Recovery Strategies
### For Code Failures
1. `git stash` or commit current state
2. `git checkout .` to return to last working state
3. Re-approach with new strategy
### For Conceptual Failures
1. Step back to clarity
2. Re-read requirements
3. Ask user for clarification
### For Integration Failures
1. Isolate the failing component
2. Test in isolation
3. Gradually reintegrate
### For Persistent Failures
1. Document thoroughly
2. Ask user for help
3. Consider if this is the right approach at all
## Rules
1. **No shame in reset** - It's better to restart cleanly than compound mistakes
2. **Document first** - Don't reset without capturing what happened
3. **Learn always** - Every failure is information
4. **Stay calm** - Frustration compounds errors
5. **Ask for help** - The user is a partner, not a judge
## Transition
After reset:
- Clarity problem → **Clarity System**
- Hidden issue found → **Identity System**
- Wrong priority → **Priority System**
- Bad approach → **Execution System** with new approach
- Resolved → Continue with task
---
*This is System 5 of 5: Clarity → Identity → Priority → Execution → Reset*
## The Complete Cycle
```
┌─────────────────────────────────────────────┐
│ │
▼ │
┌─────────┐ ┌──────────┐ ┌──────────┐ │
│ CLARITY │ ──▶ │ IDENTITY │ ──▶ │ PRIORITY │ │
└─────────┘ └──────────┘ └──────────┘ │
│ │
▼ │
┌───────────┐ │
│ EXECUTION │ │
└───────────┘ │
│ │
┌────────────┴────────┐ │
▼ ▼ │
┌─────────┐ ┌───────┐ │
│ FAILURE │ │SUCCESS│ │
│ (Reset) │ └───────┘ │
└─────────┘ │
│ │
└─────────────────────────┘
```Related Skills
thor-skills
An entry point and router for AI agents to manage various THOR-related cybersecurity tasks, including running scans, analyzing logs, troubleshooting, and maintenance.
chrome-debug
This skill empowers AI agents to debug web applications and inspect browser behavior using the Chrome DevTools Protocol (CDP), offering both collaborative (headful) and automated (headless) modes.
grail-miner
This skill assists in setting up, managing, and optimizing Grail miners on Bittensor Subnet 81, handling tasks like environment configuration, R2 storage, model checkpoint management, and performance tuning.
ux
This AI agent skill provides comprehensive guidance for creating professional and insightful User Experience (UX) designs, covering user research, information architecture, interaction design, visual guidance, and usability evaluation. It aims to produce actionable, user-centered solutions that avoid generic AI aesthetics.
whisper-transcribe
Transcribes audio and video files to text using OpenAI's Whisper CLI, enhanced with contextual grounding from local markdown files for improved accuracy.
astro
This skill provides essential Astro framework patterns, focusing on server-side rendering (SSR), static site generation (SSG), middleware, and TypeScript best practices. It helps AI agents implement secure authentication, manage API routes, and debug rendering behaviors within Astro projects.
ontopo
An AI agent skill to search for Israeli restaurants, check table availability, view menus, and retrieve booking links via the Ontopo platform, acting as an unofficial interface to its data.
vly-money
Generate crypto payment links for supported tokens and networks, manage access to X402 payment-protected content, and provide direct access to the vly.money wallet interface.
lets-go-rss
A lightweight, full-platform RSS subscription manager that aggregates content from YouTube, Vimeo, Behance, Twitter/X, and Chinese platforms like Bilibili, Weibo, and Douyin, featuring deduplication and AI smart classification.
tech-blog
Generates comprehensive technical blog posts, offering detailed explanations of system internals, architecture, and implementation, either through source code analysis or document-driven research.
modal-deployment
Run Python code in the cloud with serverless containers, GPUs, and autoscaling using Modal. This skill enables agents to generate code for deploying ML models, running batch jobs, serving APIs, and scaling compute-intensive workloads.
advanced-skill-creator
Meta-skill that generates domain-specific skills using advanced reasoning techniques. PROACTIVELY activate for: (1) Create/build/make skills, (2) Generate expert panels for any domain, (3) Design evaluation frameworks, (4) Create research workflows, (5) Structure complex multi-step processes, (6) Instantiate templates with parameters. Triggers: "create a skill for", "build evaluation for", "design workflow for", "generate expert panel for", "how should I approach [complex task]", "create skill", "new skill for", "skill template", "generate skill"