
Money Restore
Restore a prior business-state snapshot saved by /money-save, so you can continue from...
Install
npx skills add iamzifei/show-me-the-money --skill money-restore -g -a claude-code -y- Repository
- iamzifei/show-me-the-money1.1k
- Category
- AI and agents
- Updated
- 2mo ago
- License
- See repository
- Context cost
- Mediumabout 1,648 tokens
- Runs scripts
- No, instructions only
What it does
Restore a prior business-state snapshot saved by /money-save, so you can continue from exactly where the last session left off. Loads the most recent snapshot for the current project (auto-detected from the working directory), or a specific one by index. Use when starting a new Claude Code conversation and the user wants to continue prior work. Triggered by: 'continue from last time', 'where did we leave off', 'pick up from before', 'resume', '接着上次', '续上', '之前的结论', '上次诊断到哪了'.
/money-restore, Continue From Where You Left Off
Your job is to load the most recent business-state snapshot from ~/.smtm/sessions/{project}/, parse it, and present the state to the user so they can pick up where they left off.
You do not run diagnoses. You do not jump to other skills. You only restore memory.
After restoring, recommend the next skill, but let the user decide whether to invoke it.
Triggers
| Command | Behavior |
|---|---|
/money-restore | Load the latest snapshot for the current project |
/money-restore <N> | Load the Nth snapshot (use indices from /money-save list) |
/money-restore list | Same as /money-save list, list all snapshots |
/money-restore --slug <project> | Switch to a different project's history |
Natural-language equivalents (any of these → run /money-restore):
- English: "continue from last time", "where did we leave off", "pick up from before", "resume the diagnosis", "what did we conclude last time"
- 中文: "接着上次", "续上", "之前的结论", "上次诊断到哪了", "上次说到哪"
Project resolution
Same rules as /money-save:
- Default =
basename($(pwd)), sanitized - Override =
--slug <name> - Fallback =
default
Refer to it as business or project in conversation.
Workflow
Step 1, Locate the snapshot file
In order:
- If user passed
<N>→ list snapshots in current project, sorted oldest → newest by filename timestamp, return the Nth. - If user passed
--slug X→ use X as the project name. - Otherwise → use the default project, find the newest file in
~/.smtm/sessions/{project}/by filename timestamp.
Always sort by the YYYYMMDD-HHMMSS filename prefix, never by file mtime. mtime is unreliable when sessions are synced via iCloud, Dropbox, or git.
Step 2, Handle missing data gracefully
Case A: project directory empty or missing
Check whether ~/.smtm/sessions/ exists at all and what other projects are in it.

