prompt-drafts

by Seongbeen Lee · ★ 0 · updated today

PanesBandsCommandsPromptvalidates

0

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.

install prompt-drafts

Install

/plugin marketplace add vynnlee/mods
/plugin install prompt-drafts@vynnlee

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startprompt.submitcommand.runui.closeui.render
API calls
$.clock.now$.command.register$.prompt.fill$.prompt.read$.session.id$.session.surface$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.ask$.ui.close$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
AbovePromptPane
Can see
every prompt
Reach
level 1 of 3 other: $.prompt.readother: $.state.getother: $.state.setwrites the prompt boxpersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/vynnlee/mods
Path in repo
prompt-drafts
Source commit
5537ce3 the exact code the scan read
Author
Seongbeen Lee @vynnlee
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from vynnlee/mods

my-mod

vynnlee/mods

One sentence: what the mod does and how you use it.

★ 0CommandsAutomation