rick-respawn
Installation
SKILL.md
Rick Respawn
Boots the current session from a prior /rick-save briefing. Saves live at docs/rick/<folder>/saves/<timestamp>.md. Each save is a "Rick" from a parallel timeline; each folder is a feature thread.
Protocol
1. Resolve which Rick
The argument decides what gets loaded.
- No argument: find the newest save across all feature folders. Discovery:
find docs/rick -type f -path '*/saves/*.md' 2>/dev/null | sort -r | head -1. (The trailing path-segment timestamp sort works because filenames areYYYY-MM-DD_HHMM.md.) - Argument contains
/or ends with.md: treat it as an explicit path. Use it as-is. (Explicit paths can point anywhere, including archived Ricks outside the working tree.) - Argument matches
^[a-z0-9][a-z0-9-]*$: treat as a folder name. Find the newest file indocs/rick/<arg>/saves/:ls -1 docs/rick/<arg>/saves/ 2>/dev/null | grep '\.md$' | sort -r | head -1.
Error cases:
- No rick directory or no saves anywhere: print
No Ricks found under docs/rick/. Run /rick-save at the end of a session to create one.and stop. - Folder given, no saves there: print
No Rick in folder "<folder>". Available folders: <comma-separated list of docs/rick/*/saves/ parents that contain at least one .md>.and stop. - Explicit path does not exist: print
No save found at <path>.and stop.