Prompt Draft Autosave Restore — Development skill for Claude Code
A Claude Code mod that keeps your unsent prompt draft across reboots, crashes and claude --resume.
How to install Prompt Draft Autosave Restore
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dlepold/prompt-draft-autosave-restore and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Prompt Draft Autosave Restore does
A Claude Code mod that keeps your unsent prompt draft across reboots, crashes and claude --resume.
Alternatives in Development
- Memo — Memo MCP -- save and restore conversation across agents 109 ★
- Resume Skills — Offline, local-only context migration skills across 9 coding-agent sources × 9 destination hosts (registry-der 43 ★
- Zehn — Fuzzy-find any prompt across claude, codex, pi & opencode histories, then resume that session 28 ★
README
prompt-draft-autosave-restore
**A Claude Code mod that keeps the prompt you have not sent yet.** Type a long message, then lose the terminal before you press Enter: a reboot, a crash, a closed window. When you resume the session, the draft is back in the prompt box.
Why
Claude Code saves your conversation, so `claude --resume` brings back everything that was sent. The text still sitting in the prompt box is not part of the conversation. It lives in memory only and is gone when the process ends.
How it works
The mod is a hooks module of about 230 lines. It runs inside Claude Code; there is no wrapper process and no extra binary.
- Every edit of the prompt box raises an event. 0.8 seconds after the last one, the mod writes the draft to its own store, keyed by the session id. Saving all the time, not only at exit, matters: a shutdown gives exit hooks almost no time, and a crash gives none.
- When the session starts again (
claude --resume, or a terminal manager that restores its sessions), the mod waits until the prompt box is free, also through start-up dialogs, and puts the draft back. Nothing is sent for you. - Sending the message, clearing the box or pressing Ctrl+C deletes the saved draft. Drafts older than 30 days are removed.
Drafts stay on your machine, in `~/.claude/plugins/store/prompt-draft-autosave-restore_*.json`. The mod makes no network connections.
Install
At the prompt of a Claude Code session in a terminal:
/plugin install prompt-draft-autosave-restore --marketplace dlepold/prompt-draft-autosave-restore
Answer `y` to add the marketplace, th
Related Skills
Claude Always On
Windows에서 로그온·재부팅·충돌 후에도 백그라운드 Claude Code 세션 하나를 유지: 감시 스크립트와 예약 작업 (Keeps one background Claude Code session
Ctx Handoff Mod
Claude Code mod: auto handoff to a fresh conversation when context hits a threshold, keeps the prompt cache wa
Claude Recap Plus
A Claude Code mod that keeps a recap-plus summary of the session above the prompt: what it is for and where it
Client Update
Draft a plain-language update for the client from recent changes, log it as unsent
Herdr Suspender
Herdr App mod: put idle Claude Code and Codex agents to sleep, wake the same conversation in the same tab. Ses
Tmux Revive
A tmux plugin that survives reboots. Detach, shut down, boot, type tmux: every session, window, split and prog
Related Agents
Session Handoff Writer
Writes and reads handoff documents so work continues across sessions or context resets, and keeps the cross-pr
Database Reliability Engineer
Use this agent to review database schema, indexing, backup/restore posture, and replication/failover configura
Invariant Reviewer
Reviews a diff in this repo against the mod's non-obvious invariants (fail open, $ only in register.ts, clean