Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills Aโ€“Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Session Recovery

ASecurity

--- name: session-recovery description: Recover context and continue work after session interruptions or restarts ---

33 stars
0 votes
0 copies
0 views
Added 2/10/2026
developmentjavascriptgojavabashgit

Security Analysis

A100/100

Scanned 2/12/2026

Install to Claude Code

$npx -y skills add lovedragonball/power-ranger-toolkit --skill session-recovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Recovery?

Add the live security badge to your README โ€” it updates automatically with every re-scan.

Security grade badge for Session Recovery
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/lovedragonball-session-recovery/badge)](https://www.skillsdirectory.com/skills/lovedragonball-session-recovery)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
# ๐Ÿ”„ Session Recovery Skill

---
name: session-recovery
description: Recover context and continue work after session interruptions or restarts
---

## ๐ŸŽฏ Purpose

Seamlessly recover from session interruptions, crashes, or context switches without losing progress.

## ๐Ÿ“‹ When to Use

- Starting a new conversation
- After IDE restart
- Switching between projects
- Resuming interrupted work

## ๐Ÿšจ Recovery Triggers

| Trigger | Action |
|---------|--------|
| New session | Load last context |
| User says "continue" | Resume last task |
| IDE restart | Restore state |
| Crash recovery | Check incomplete tasks |

## ๐Ÿ“ Recovery Process

### Step 1: Detect Context
```markdown
Check for:
1. [ ] Active task files (task.md, active.md)
2. [ ] Recent git changes
3. [ ] Unsaved work
4. [ ] Error logs
```

### Step 2: Load Context
```markdown
Read in order:
1. memory/active.md โ†’ Current task
2. memory/summary.md โ†’ Project context
3. memory/decisions.md โ†’ Recent decisions
4. task.md โ†’ Pending items
```

### Step 3: Summarize State
```markdown
"Last session you were working on [task].
Progress was [X]% complete.
You were in the middle of [specific action].
Would you like to continue?"
```

### Step 4: Resume or Restart
```markdown
Options:
- Continue from last point
- Start fresh with context
- Switch to different task
```

## ๐Ÿ—‚๏ธ Context Files

| File | Purpose | Priority |
|------|---------|----------|
| `active.md` | Current task | ๐Ÿ”ด High |
| `task.md` | Task checklist | ๐Ÿ”ด High |
| `summary.md` | Project overview | ๐ŸŸก Medium |
| `decisions.md` | Architecture choices | ๐ŸŸก Medium |
| `changelog.md` | Recent changes | ๐ŸŸข Low |

## ๐Ÿ“‹ Recovery Template

```markdown
## ๐Ÿ”„ Session Recovery

### Last Session
- **Date**: [date]
- **Duration**: [time]
- **Project**: [name]

### Work in Progress
- Task: [description]
- Progress: [X]%
- Last action: [what was happening]

### Pending Items
- [ ] Item 1
- [ ] Item 2

### Files Modified
- `file1.js` - [changes]
- `file2.css` - [changes]

### Would you like to:
1. Continue from last point
2. Review changes first
3. Start fresh
```

## ๐Ÿ”ง Auto-Recovery Features

### 1. State Persistence
```javascript
// Save state before session ends
saveState({
  currentTask: taskName,
  progress: percentage,
  openFiles: fileList,
  recentActions: actionLog
});
```

### 2. Crash Detection
```javascript
// Check for incomplete state
if (activeTask && !taskCompleted) {
  recoveryMode = true;
  loadLastCheckpoint();
}
```

### 3. Git Integration
```bash
# Check uncommitted changes
git status --porcelain

# Get recent commits
git log --oneline -5
```

## ๐Ÿ’ก Best Practices

1. **Save frequently**: Update active.md during work
2. **Checkpoint**: Mark milestones in progress
3. **Commit often**: Small, frequent commits
4. **Document blockers**: Note where you got stuck

## ๐Ÿ”— Related Skills

- `memory-system` - Memory management
- `progress-tracking` - Track where you left off
- `git-workflow` - Version control recovery

Attribution

lovedragonballlovedragonball
View sourceMore from lovedragonball โ†’
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots ยท $299/mo ยท GSC-verified traffic ยท sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots ยท $299/mo ยท GSC-verified traffic ยท sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284722 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch โ€” SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions โ€” even if they don't name TanStack Start specifically. No template repo โ€” Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development โ†’