npx claudepluginhub meganemura/buffer-paneA pane beside the transcript that holds the next things to tell the agent: write blocks of text while a turn runs, then press [+] to put one block into the prompt box.
A Claude Code plugin (a mod) that opens a pane beside the transcript where you write the next things to tell the agent.
An idea for the next request frequently comes while the agent runs a long turn. Text in the prompt box is one Enter away from the agent: Enter interrupts the turn or puts the text in the queue. The pane is a place to collect that text until you are ready.
[+] beside a block to put that block into the prompt box, read it,
then press Enter yourself.[>] to send the block as a prompt in one press.CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1.-p) has no pane.claude plugin marketplace add meganemura/buffer-pane
claude plugin install buffer-pane@buffer-pane
To develop against a checkout, run the plugin from its working tree:
claude --plugin-dir /path/to/buffer-pane/plugin
The pane also draws in the Code tab of Claude Code Desktop. A plugin installed at the user
scope with the commands above loads there too. /plugin does not run in the desktop app: to
install from the app, click + beside the prompt box, then Plugins, then Add marketplace with
meganemura/buffer-pane, then Add plugin.
The desktop app takes no --plugin-dir. To develop against a checkout there, set these in the
env of ~/.claude/settings.json:
{
"env": {
"CLAUDE_CODE_PLUGIN_DIRS": "/path/to/buffer-pane/plugin",
"CLAUDE_CODE_PLUGIN_DIR_WATCH": "1"
}
}
Type /buffer-pane to show the pane. Type it again to hide the pane.
[+] [>] [x] [^] [v] rename the flag to --dry-run
[+] [>] [x] [^] [v] ✓ add a test for the empty list
the next thing to tell the agent
[+] replaces the prompt box with the block. [>] sends the block as a prompt. [x] deletes the block. [^] [v] move the block.
[+]. The block goes into the
prompt box and stays in the pane with a ✓. You can send the block again.
An edit to the block removes the ✓.[>]. The block goes to the agent as
your next prompt and leaves the pane. During a turn, it waits in the queue
until the turn ends.[^] to move it up one place, [v] to move it
down.[x]. You can also make the field empty and press
Enter.To press a control, click it, or move the focus to it with the arrow keys and press Enter.
[+] replaces the prompt box[+] replaces all the text in the prompt box with the block. The
function-hooks API can only replace the box, and it cannot read the box, so
the plugin cannot warn you about text that is already there. Send a block
when the prompt box is empty.
When a dialog is open, the prompt box cannot take the text. The status line
then shows a message, and the block gets no ✓.
The buffer is one text, and blank lines split it into blocks. In this version, one block is one line. A multi-line editor is the next milestone (decision 0003).
The plugin store of Claude Code holds the buffer under the key
buffer:<working directory>. A session in another directory shows another
buffer.
Run /plugin-types one time in a new checkout. It writes the type
declarations to .claude/types/, which git ignores.
Run the three quality gates before a commit:
claude plugin validate plugin
npx -p typescript tsc -p plugin/hooks
CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude plugin test plugin
docs/decisions/ holds the design decisions. AGENTS.md holds the rules for
changes to this repository.
Early access. The function-hooks API can change between Claude Code releases without notice.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.