desk-plan

Reviewed at commit e947961 New version, not yet reviewed

Claude Code mod that asks for plan approval (ExitPlanMode) in a card above the prompt instead of the full-screen engine dialog, with the plan open in…

Made by
KyongSik-Yoon
What we checked

Replaces Claude Code's full-screen plan approval dialog with a small card above the prompt: 1 approves the plan, 2 opens it in the desk-look preview pane, or you type what to change and it goes back to Claude. It approves a plan only when you press the button. It makes no network calls and needs the desk-look plugin.

Review details

Static review of the source at the pinned commit; not run. Hooks: session.start and state.set (reads desk-look's language setting, falls back to the /config language), classic.PreToolUse for ExitPlanMode, ui.render for AbovePrompt and PromptHint. On ExitPlanMode with a markdown plan file it shows the card, optionally calls $.ui.notify, waits for the answer, then returns allow with the unchanged tool input on approve (the same result as the engine dialog's first choice, only after the user presses the button), a deny with the typed change request or a closed or cancelled message otherwise, or passes on to the engine dialog (key 9). It only shows the card when exactly one terminal surface is attached and the last input came from the terminal; it checks for Remote Control by reading ~/.claude/sessions/*.json and looking for a bridgeSessionId for this session, and uses the result locally only. To wait for the button it runs fixed argument-list commands with $.process.run: mktemp -d, mkfifo, cat, tee and rm -rf on that temporary folder (no shell, no user data in the arguments except the answer written to tee's stdin). Uses plugin state atoms (its own and desk-look's). No $.http, $.model or other network calls. Declared dependency: desk-look. Needs Unix tools, so it will not work on Windows without them. npm dependencies: none. The unresolved ../types import is types/index.d.ts, which is in the bundle.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: yes
  • Reads or writes files: yes
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events

Claude Code mod that asks for plan approval (ExitPlanMode) in a card above the prompt instead of the full-screen engine dialog, with the plan open in desk-look's preview pane: 1 approves, 2 views the plan, type what to change to send it back, 9 for the engine dialog. Needs desk-look

Made this mod? Add a badge to your README

modsforClaude badge for desk-plan

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/desk-plan.svg)](https://modsforclaude.com/mods/desk-plan/)

← All mods