Restore context from a stash file in tmp/stash/ (relative to project root).
Parse arguments
Argument
Example
Meaning
(none)
/hydrate
Load the most recent stash file
YYYY-MM-DD
/hydrate 2026-05-03
Load the most recent stash from that date
list
/hydrate list
Show available stash files, don't load any
Steps
Find stash files. List tmp/stash/*-session-resume.md sorted by filename
(newest first). Files are named YYYY-MM-DD-HHMMSS-session-resume.md so
alphabetical = chronological.
If no stash files exist, also check for a legacy tmp/session-resume.md.
If found, use it and suggest the user run /stash to migrate to the new format.
If nothing exists at all: "No stash found. Use /stash to create one." and stop.
Select the file.
list argument: show all available stashes as a table (date | time | first line)
and stop. Don't load anything.
Date argument: find the most recent stash file matching that date prefix. If no
match: "No stash found for YYYY-MM-DD. Run /hydrate list to see what's available."
No argument: pick the most recent file.
Read the selected stash file.
Run git status and git log --oneline -3 to get current branch state,
uncommitted changes, and how far ahead/behind remote.
Present a brief summary combining both sources:
Where we were (from stash)
Current git state (branch, any drift since stash)
What the immediate next step is
How many open threads exist
Which stash file was loaded (path + date)
Ask: "Ready to pick up from here, or do you want to adjust the plan?"
Rules
Do NOT re-read every file listed in the resume upfront. Only read files as needed when you actually start working.
Do NOT treat the resume as a task list to execute automatically. It's context for the human to direct you.
The resume was written by a previous Claude instance. Trust it but verify if something seems off.
If git state has diverged from what the stash recorded (different branch, new commits from others), flag this explicitly.
1---2name: hs-cc-hydrate3description: Hs Cc Hydrate4---56# /hydrate — Restore session context78Restore context from a stash file in `tmp/stash/` (relative to project root).910## Parse arguments1112| Argument | Example | Meaning |13|----------|---------|---------|14| *(none)* | `/hydrate` | Load the most recent stash file |15| `YYYY-MM-DD` | `/hydrate 2026-05-03` | Load the most recent stash from that date |16| `list` | `/hydrate list` | Show available stash files, don't load any |1718## Steps19201. **Find stash files.** List `tmp/stash/*-session-resume.md` sorted by filename21 (newest first). Files are named `YYYY-MM-DD-HHMMSS-session-resume.md` so22 alphabetical = chronological.2324 - If no stash files exist, also check for a legacy `tmp/session-resume.md`.25 If found, use it and suggest the user run `/stash` to migrate to the new format.26 - If nothing exists at all: "No stash found. Use `/stash` to create one." and stop.27282. **Select the file.**29 - `list` argument: show all available stashes as a table (`date | time | first line`)30 and stop. Don't load anything.31 - Date argument: find the most recent stash file matching that date prefix. If no32 match: "No stash found for YYYY-MM-DD. Run `/hydrate list` to see what's available."33 - No argument: pick the most recent file.34353. **Read the selected stash file.**36374. Run `git status` and `git log --oneline -3` to get current branch state,38 uncommitted changes, and how far ahead/behind remote.39405. Present a brief summary combining both sources:41 - Where we were (from stash)42 - Current git state (branch, any drift since stash)43 - What the immediate next step is44 - How many open threads exist45 - Which stash file was loaded (path + date)46476. Ask: "Ready to pick up from here, or do you want to adjust the plan?"4849## Rules5051- Do NOT re-read every file listed in the resume upfront. Only read files as needed when you actually start working.52- Do NOT treat the resume as a task list to execute automatically. It's context for the human to direct you.53- The resume was written by a previous Claude instance. Trust it but verify if something seems off.54- If git state has diverged from what the stash recorded (different branch, new commits from others), flag this explicitly.
Run npx skillmds@latest add harpreetsingh/hs-cc-hydrate in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Hs Cc Hydrate It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
harpreetsingh (@harpreetsingh) published this skill. Their other Agent Skills are listed on their SkillMD profile.