Hide or restore the bottom plugin strip, including its collapsed hint, with /plugin-h.

/plugin-h toggles the bottom plugin strip completely off or back on, including Claude's “plugin panel hidden” hint. /plugin-h hide and /plugin-h show set its visibility explicitly. The preference is saved per Claude configuration/account.
The first session starts with the strip visible. Claude controls its own expanded/collapsed setting; if restored as collapsed, click its hint or press Ctrl+X then Ctrl+A to expand it.
Only the terminal's AbovePrompt strip is hidden. Buddy and Mod controls sidebars, inline thinking, tool formatting, slash commands, and native surveys remain available. This does not suppress unrelated clipboard notifications.
Load this plugin alongside compact-tools, live-thinking, sidebar-controls, and claude-buddy. Its dependencies ensure it runs before those mods. Other mods that wrap the same strip may require an additional dependency to establish ordering.
Tested using Claude Code 2.1.295. No model calls are made by this mod.
hooks/plugin-h.mjs 37 lines1export function register(on) {
2 let hidden = false;
3
4 on("session.start", async ($, e, next) => {
5 const result = await next(e);
6 hidden = (await $.store.get("hidden")) === true;
7 await $.command.register({
8 name: "plugin-h",
9 description: "Hide or restore the bottom plugin strip, including its collapsed hint",
10 argumentHint: "[hide|show|toggle]",
11 immediate: true,
12 });
13 $.ui.invalidate("ui.render");
14 return result;
15 });
16
17 on("command.run", { command: "plugin-h" }, async ($, e) => {
18 const arg = e.args.trim().toLowerCase();
19 if (!["", "hide", "show", "toggle"].includes(arg)) {
20 return { text: "Usage: /plugin-h [hide|show|toggle]" };
21 }
22 const value = arg === "hide" ? true : arg === "show" ? false : !hidden;
23 await $.store.set("hidden", value);
24 hidden = value;
25 $.ui.invalidate("ui.render");
26 return { text: hidden ? "Bottom plugin strip hidden. /plugin-h restores it." : "Bottom plugin strip restored." };
27 });
28
29 on("ui.render", { component: "AbovePrompt" }, ($, e, next) => {
30 if (!hidden || e.surface !== "terminal" || e.props.hasSurvey) return next(e);
31 // An empty Box still counts as plugin content and retains the host's
32 // collapse hint. Restore the native empty site instead. Dependencies
33 // place this hook outside the installed mods that contribute controls.
34 return { type: "engine", ref: 0 };
35 });
36}
37