Guide

How to use Plan Shelf

Every feature, in the order you'll need it. Each section has a short explanation, the keys to press, and an animated picture of the app.

The pictures are drawings of the real app, simplified. Your shelf looks the same, with your own tasks.

What Plan Shelf is

A small window that floats next to your terminal and holds your plan: the tasks you're working through with AI agents. Each agent chat gets its own list. When you switch tabs, the shelf switches lists too.

The agent sees the same list. It marks tasks done, leaves you a short note when it stops, and can suggest new tasks.

Set up

  1. Install. Download the app, or run brew trust --cask alexchuv/tap/plan-shelf && brew install --cask alexchuv/tap/plan-shelf. It needs macOS 14 or newer.
  2. Allow Accessibility when macOS asks. Plan Shelf needs it to read the text you select and to paste tasks.
  3. Connect your agents: menu bar icon → Settings → Agents → Connect. Plan Shelf sets up each agent it finds on your Mac.
Claude CodeCodexCursorCopilotOpenCodeZed

Codex asks you to approve the hooks once (type /hooks). OpenCode needs a restart. The others need nothing else. Any other app that supports MCP: Settings → Agents → Copy MCP Setup for Another App.

Turn a plan into tasks

An agent or a chatbot writes a plan. Select it and press ⌃⌥C. Each item becomes a task on the shelf. Works in any app: the terminal, ChatGPT, Slack, a browser.

ChatGPT
✦
Here's a plan for the pricing launch:
  1. Pick three pricing tiers
  2. Draft the pricing page copy
  3. Ask five customers for feedback
Pick three pricing tiers
Draft the pricing page copyPaste ⌃⌥N
Ask five customers for feedback
  • The tasks join the plan of the window you're in, or start a new one.
  • Wanted it as one task? Click Keep as one task in the message that appears.
  • ⌃⌥⇧C always starts a new plan, even for one item.

Send tasks one by one

Press ⌃⌥N and the current task is pasted at the agent's prompt. You read it and press Enter. When the agent says the task is done, the shelf checks it off. Press ⌃⌥N again for the next one.

payments-api — claude
⏺ Done. Double charges are fixed. > Webhook retries aren't deduplicated
Double charge on reopened tabs
Webhook retries aren't deduplicatedNext ⌃⌥N
Race condition in order status

The circle next to a task tells you where it is:

Pasted, not sent yet
The agent is working on it
The agent stopped and waits for you
Done
  • Check off tasks when you press Enter after pasting them (Settings, on by default).
  • Send (Settings → Agents, off by default): the button pastes the task and presses Return for you, but only when the agent in front is idle.
  • ⌃⌥D checks off the current task without pasting. ⌃⌥Z undoes any change, from any app.
  • A task's description and files go to the agent along with the task.

Several agents at once

Each terminal tab, window or Zed thread has its own plan. Switch tabs and the shelf shows that tab's plan, so ⌃⌥N always pastes the right task.

When an agent stops, it leaves a note of two or three sentences: what you're working on, where it stopped, and what it needs from you, in bold.

New onboarding1/3
iTerm2 · web-app
Codex · 4 min ago
Building the new onboarding. The invite step works; check the email text.
Add the team invite stepNext ⌃⌥N
Track where people drop off

Needs you

With several agents running, a strip on top of the shelf lists the chats that finished and wait for you, with how long they've waited. Hover a row to read the agent's note. Click it to jump to that exact tab.

Needs you
Checkout 500swaiting · 2 min ago
×
Flaky login testwaiting · just now
×
Claude The pool fix is in. Run the load test before merging.
New onboarding1/3
iTerm2 · web-app
Add the team invite step
Track where people drop off
  • The menu bar icon shows how many chats wait, for when the shelf is hidden.
  • Click the line under a plan's name (iTerm2 · api) to go back to its window.
  • The pin in the header keeps one plan on the shelf in every window.

Add tasks fast

An idea comes up while the agent works. Get it on the list without leaving what you're doing:

  • ⌃⌥A type a task, from any app. ↩ adds it and keeps the field open for the next one.
  • ⌃⌥V say it. Hold to talk, or tap and pause. With Apple Intelligence, one long ramble becomes separate tasks.
  • ⌃⌥C select text anywhere and capture it.
Coffee subscription idea0/4
Talk to three local roasters
See what competitors charge
Sketch the landing page
Ask ChatGPT for a pricing model
and maybe a gift option for the holidays …

Tasks the agent suggests

When the agent ends with things for you to do, test or decide, it suggests them as tasks. They show dashed under your list. Accept or dismiss each one; nothing joins the plan until you do.

Checkout 500s2/5
Ghostty · shop-api
Rule out the payment provider
Check the DB pool under load
Ask Maria for the failing order IDs
Claude suggests 2 tasks
+ Add a retry around the pool checkout
+ Alert when the pool is 90% full
AcceptDismiss

How often agents suggest tasks: Settings → Agents → Agents suggest tasks (only when you ask, next steps, or anything worth tracking).

Commands for the agent New

Type these in the agent's chat. Plan Shelf adds them when you connect Claude Code or Codex. In Claude Code they start with /, in Codex with $ ($shelf).

/shelfSave for later. Puts something on the shelf as a task and doesn't start on it. Add a date in plain words: /shelf update the docs by Friday. With nothing after it, it saves what you were just talking about.
/shelf-planMake a plan. Breaks a goal into 3–10 steps, each with a short description an agent can work from. The steps wait on the shelf for you to accept. No work starts.
/shelf-nextDo the next step. The agent takes the next unfinished step (or the number you give), does it, checks the result, and checks it off. Then it asks before going on.
/shelf-keepKeep the result. Saves the agent's last answer (findings, a review, a plan) into the current step's description, or as a new task. There you can read it and leave remarks.
/shelf-wrapWrap up. Before you close a chat: checks off what's really done, writes down where each open step stands, puts leftover work on the shelf, and leaves you a note.

You don't always need the command. "Put it on the shelf" or "save it for later" works too. /shelf-next and /shelf-wrap run only when you type them.

Ask about the agent's answer New

In Terminal, iTerm2 and Zed, select part of what the agent wrote. A small bar appears next to it:

  • Ask: a question about that part. Leave it empty for "explain this".
  • Change: ask the agent to redo it. Say how, or pick More detail, Shorter or Remove.
  • Add as Task: put it on your plan, like ⌃⌥C.
shop-api — claude
> why do checkouts fail at peak hours? ⏺ Found it. The pool runs out at 40 connections, and each checkout holds one while it waits for the payment provider. > About “The pool runs out at 40 connections”: why 40 and not 80? ⏺ 40 is the library default. Your database allows 100, so 80 is safe.
AskChangeAdd as Task
1 for the agent➤ Send to Agent
Ask “The pool runs out at 40…” — why 40 and not 80?
Find why checkouts fail at peak
  • Questions and changes wait on top of the shelf ("2 for the agent"). Send to Agent sends them as one message, each with its quote.
  • The bar goes away as soon as you type, scroll or click elsewhere. Turn it off in Settings → Tasks you send to agents → Selection bar in Terminal, iTerm2 and Zed.

Descriptions and remarks

A task can have a longer description: findings, a plan, steps to reproduce, with screenshots and files. Open it from the task's ⋯ menu (Add Description…) or with ⌘D while editing the task.

  • Write Markdown and it's drawn as you type: headings, lists, checklists, code, tables, diagrams.
  • Paste or drop screenshots and files. Drag one into an agent's chat.
  • Agents write descriptions too: while chasing a bug, the agent keeps its findings there.

Select text in a description and say what to change, or ask about it. Your remarks go to the agent as one message, and it edits the description.

web-app — claude
> why does the login test fail only in CI? ⏺ Ran it 20 times with the CI config: 4 failed. All 4 had a session cookie left over. ⏺ Wrote what I found into the task. > 2 remarks on “Flaky login test” ⏺ Done. Shortened the finding, and the test now waits for the form. >
Flaky login test×Signup emails×
Flaky login test

Found so far

The test fails about one run in five, only in CI, when the session cookie from the previous test is still there and the page redirects before the login form loads.

Next

  • Clear cookies before each test
  • Retry the test 3 times
More detailShorterRemove
CancelAdd
2 for the agentClear➤ Send to Agent
Shorter “The test fails about one run in five, only in CI…”
Change “Retry the test 3 times” — No retries. Wait for the form.

Into a terminal, a task is always pasted as one line, so a line break can't run a command. Claude Code and Codex still get the description and its files, through Plan Shelf's hook. Pasted into Slack or a browser chat, the task comes with its description and files.

Diagrams you can click through New

A big design is easier to read as a map. The description starts with a diagram of the parts. Click a box and the shelf jumps to that part's section. Back brings you to the diagram. A part can have its own diagram, so you can go one level deeper and back up.

Open a live example ↗

A spec for team invites: four parts, one of them with its own diagram of three steps. Click the boxes, then Back.

  • Ask the agent for it. "Write the design as a spec on the shelf, with a diagram you can click through." Agents connected to Plan Shelf already know the format.
  • Already have a diagram? Hover it, click its remark button and choose Split into Modules. The agent turns each box into a section and links them.
  • Each section starts with a trail back up, like System › Invite API › Create. Click any part of it to go up.
  • It works the same in the app and on a shared link. On the link, the contents list on the left jumps too.
How it's written (Markdown)Copy
## System
```mermaid
flowchart LR
  Web["Web app"] --> API["Invite API"]
  click Web "#web-app"
  click API "#invite-api"
```
## Web app
[System](#system) › **Web app**
- Settings → Team → Invite
## Invite API
[System](#system) › **Invite API**
- POST /invites with a list of emails

Change settings by asking

Ask the agent: "make the shelf text bigger" or "turn off the selection bar". It changes the setting, and the shelf shows what changed, with Undo.

notes — claude
> make the shelf text bigger ⏺ plan-shelf · update_settings (text size: large) ⏺ Done. The shelf text is Large now.
Write the release notes
Update the screenshots
Claude set Text size: largeUndo

Anonymous statistics and Clipboard only can't be changed by an agent. Those are yours to set.

Share a task by link

A task's ⋯ menu → Share Read-Only Link copies a link like planshelf.app/t/…. Whoever opens it sees the task and its description, nicely laid out, with no account. Your edits show up there about a second later, without reloading.

  • Only that task goes to the server: its text and description. Attached files stay on your Mac.
  • A shared task has a link icon on the shelf. Click it to copy the link again.
  • Stop Sharing deletes the copy from the server. Shared Tasks… in the menu bar lists every link you've shared.

Comments and replies New

Turn on Allow Comments in the task's Shared menu. Then readers can select any text on the page and comment on it, like in Figma or Google Docs. Each comment is a thread: readers reply on the page, and you reply from the description window on your Mac.

Checkout 500s×
Shared
Checkout 500s

Decision

Raise the pool to 80 and release the connection before calling the payment provider. Our database plan allows 100 connections, so 80 leaves room for jobs.

Next

  • Raise the pool to 80
  • Release the connection before the payment call
1 for the agent➤ Send to Agent
Thread “release the connection before…” — Add the retry with the idempotency key.
  • Everyone with the link sees the comments: highlighted on the text and in a list beside it.
  • The speech bubble next to a thread (For the agent) adds the whole thread to your remarks for the agent, with a note of yours ("do this"). The thread stays open.
  • The checkmark (Resolve) closes a thread. It stays on the shared page, marked resolved and hidden unless a reader shows it.

Link previews New

On a shared page, rest the pointer on a link and a preview opens. A link to a heading shows the start of that section. A reference like INC-42 shows a saved copy of what that ticket says, so readers don't have to open another tool. On a phone, the first tap shows the preview and the second follows the link.

How to write one: put the copy in a Markdown reference at the end of the description. Agents can do this for you when they cite a ticket or a pull request.

The pool runs out at 40 connections ([INC-42]).

### Sources 2026-11-21

[INC-42]: https://linear.app/acme/issue/INC-42 "Checkout returns 500 for about 3% of orders since Nov 20."

The date in the heading above the references is shown as "Copied 2026-11-21", so readers know how fresh the copy is.

Example to share

Want to see all of this on a real page? Paste this into a task's description, share the task and allow comments. It has headings, a diagram whose boxes open sections, link previews, a table and a checklist.

  1. Add a task called Checkout 500s (⌃⌥A).
  2. Its ⋯ menu → Add Description…, and paste the text below.
  3. ⋯ → Share Read-Only Link, turn on Allow Comments in the Shared menu, and open the link.
Show the example (Markdown)Copy
## Summary 2026-11-21

About 3% of checkouts fail with a 500 since Nov 20, always at peak hours. The payment provider is fine. Our database pool runs out at **40 connections** ([INC-42]). The fix is in [PR-118]; what we chose and why is under [Decision](#decision).

```mermaid
flowchart LR
  Checkout --> API["Orders API"]
  API --> Pool["DB pool (40)"]
  API --> Pay["Payment provider"]
  click Pool "#found-so-far"
  click Pay "#ruled-out"
```

## Found so far

[Summary](#summary-2026-11-21) › **Found so far**

- Errors start when more than 40 requests wait for a connection.
- Each checkout holds a connection while it waits for the payment provider (up to 2 s).
- Load test: 120 checkouts a minute reproduces it every time.

## Ruled out

[Summary](#summary-2026-11-21) › **Ruled out**

- Payment provider: **no errors on their side** in the same hours.
- Bad deploy: errors started two days after the last release.

## Decision

[Summary](#summary-2026-11-21) › **Decision**

Raise the pool to 80 and release the connection before calling the payment provider. Our database plan allows 100 connections, so 80 leaves room for jobs.

| Option | Fixes peaks | Risk |
|---|---|---|
| Pool to 80 | Partly | Low |
| Release before payment call | Yes | Medium: needs a retry |
| Both | Yes | Medium |

## Next

- [x] Reproduce under load
- [ ] Raise the pool to 80
- [ ] Release the connection before the payment call
- [ ] Alert when the pool is 90% full

### Sources 2026-11-21

[INC-42]: https://linear.app/acme/issue/INC-42 "Checkout returns 500 for about 3% of orders since Nov 20. Pool exhausted at peak; no errors from the payment provider."
[PR-118]: https://github.com/acme/shop-api/pull/118 "Raise the DB pool to 80 and release the connection before the payment call. Adds a retry around pool checkout."

Important, Later, folders

The stack icon in the header opens All tasks: every plan on one screen. Plans you're working on now are under Focus. Folders hold the rest.

All tasksToday7 plans
Due
Send the invoice to Acmelate 20 min
◎ Focus
Checkout 500s2/5
Ghostty · shop-api
★ Release the connection first
Alert when the pool is 90% full
◷ Later 2
New onboarding1/3
iTerm2 · web-app
Add the team invite step
▸ Later 4 plans
▸ Ideas 2 plans
  • Important (⌘I, or the task's menu): the task moves to the top with a ★.
  • Move to Later: every plan has its own Later list. The task leaves the plan, so agents and ⌃⌥N skip it, but it's one click away.
  • Folders: drag a plan onto a folder, or use Move to Folder. Plans in folders don't show up by themselves when you switch windows.
  • ⌘F searches every plan: titles, tasks and descriptions.
  • Archive clears done tasks or whole plans out of the way. Everything can be restored, and every change can be undone.
  • Select several tasks with ⌘-click or ⇧-click to paste, complete, copy, move or delete them together. Drag tasks to reorder them, or out of the shelf into any app.

Due times and repeats

A task's ⋯ menu → Due ▸: in 1, 2 or 4 hours, today, tomorrow or next Monday, with or without a time. The task turns amber 30 minutes before and red when it's late. macOS notifies you at that time, with Snooze 1 Hour.

This week1/5
Send the invoice to Acmelate 20 min
Call the accountantin 25 min
Review the weekly numbers↻Mon
Renew the domaintomorrow 10:00
  • Repeat ▸: every day, every few days, weekly, workdays, or your own days. It's one task: check it off and it comes back on its day.
  • All tasks lists due tasks first. The Today button shows only what's important or due today.
  • Export ▸ sends a task to Apple Reminders (for your phone) or Google Calendar.

Leftovers from agents New

Agents start things and often leave them running: an agent session nobody used for a day still holds its MCP servers, a dev server outlives the agent that started it, a worktree stays after its branch is merged. Memory fills up, the Mac gets slow, and nothing says why.

Plan Shelf checks every 20 minutes. Menu bar → Leftovers from Agent Work… lists what it found by project, with how much memory each one holds.

Leftovers from Agent Work
5 leftovers · 2.9 GB of memory · 590 MB on diskSwap in use: 2.4 GB
Holding memory
shop-api
Claude Code session in ttys004No typing for 2 days · 3 MCP servers
1.2 GBKeep
next devIts agent is gone · idle for 14 hours
640 MBKeep
web-app
jest × 9Test workers · their folder was deleted
1.1 GBKeep
Finished worktrees
web-app-fix-loginBranch merged · untouched for 3 days
380 MBKeep
shop-api-retryHas uncommitted changes: not removed
210 MBKeep
Investigate with an AgentClean Up (4)…
Stop 12 processes and remove 1 worktree?
CancelClean Up
  • Everything safe is checked. Clean Up asks first, then stops the processes and removes the worktrees. A worktree with uncommitted changes is never removed. Branches are kept.
  • Keep takes something off the list.
  • Investigate with an Agent puts a task on the shelf: what was found and what it has in common, with the ask to fix the cause at the source. Send it to an agent with ⌃⌥N.
  • A notification comes only when something new holds 2 GB or more. Apps and macOS services are never listed. Turn it off in Settings → Agents → Leftovers.

Shortcuts

They work from any app.

⌃⌥NContinue. Paste the current task. Press again when it's done for the next one.
⌃⌥CCapture the selected text as tasks.
⌃⌥⇧CCapture as a new plan.
⌃⌥AAdd a task by typing.
⌃⌥VSpeak a task.
⌃⌥DCheck off the current task without pasting.
⌃⌥ZUndo the last change to the shelf.
⌃⌥SShow or hide the shelf.

Inside the shelf, after clicking it: ⌘F search, ⌘I important, ⌘D description, ⌘Z undo, ⌘A select all, esc give the keyboard back.

Where your data lives

Your plans are a file on your Mac. There's no account and no cloud copy. Only two things leave your Mac: a task you share by link (just that task, until you stop sharing), and an anonymous daily count of installs, which you can turn off in Settings.