prompt-drafts
Reviewed
at commit 5537ce3
End a prompt with ;; to keep it as a draft of the session instead of sending it, then /drafts puts it back in the prompt box from a sidebar with number keys…
0 upvotes
Log in to upvote or save- Made by
- Seongbeen Lee
- Pinned commit
-
5537ce3f46f8312898a86fd2dc3afc10d500e023 - What we checked
-
Lets you set prompts aside as drafts: end a prompt with ;; to save it instead of sending it, or use /draft. /drafts shows a sidebar or dialog to put a draft back in the prompt box. Drafts are kept per session in the plugin's own store; it makes no network calls and runs no programs.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers /draft and /drafts commands, loads the session's drafts, prunes drafts of sessions idle for 30 days), prompt.submit (drops and saves a prompt that ends with ;; instead of sending it; only for prompts typed in the composer; a catch handler drops the prompt with an error message if saving fails), command.run for draft and drafts, ui.close, and ui.render for the above-prompt number buttons and a sidebar pane. Runtime calls: $.store get/set/delete/keys, $.prompt.read/fill, $.ui toast/open/close/ask/panes, $.session.id/surface, $.clock.now, $.command.register. Keeps at most 50 drafts per session, newest first. No network, file, process or model calls. The ../types import resolves to types/index.d.ts, which is only type declarations.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Keep prompts aside as drafts of the session. End a prompt with ;; to save it instead of sending it, then /drafts to put one back in the prompt box.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/prompt-drafts/)