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
- 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. - Allow Accessibility when macOS asks. Plan Shelf needs it to read the text you select and to paste tasks.
- Connect your agents: menu bar icon → Settings → Agents → Connect. Plan Shelf sets up each agent it finds on your Mac.
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.
- Pick three pricing tiers
- Draft the pricing page copy
- 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.
The circle next to a task tells you where it is:
- 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.
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.
- 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.
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.
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).
/shelf | Save 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-plan | Make 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-next | Do 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-keep | Keep 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-wrap | Wrap 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.
- 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.
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
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.
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.
Anonymous statistics and Clipboard only can't be changed by an agent. Those are yours to set.
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.
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
- 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.
- Add a task called Checkout 500s (⌃⌥A).
- Its ⋯ menu → Add Description…, and paste the text below.
- ⋯ → 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.
- 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.
- 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.
- 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.
| ⌃⌥N | Continue. Paste the current task. Press again when it's done for the next one. |
| ⌃⌥C | Capture the selected text as tasks. |
| ⌃⌥⇧C | Capture as a new plan. |
| ⌃⌥A | Add a task by typing. |
| ⌃⌥V | Speak a task. |
| ⌃⌥D | Check off the current task without pasting. |
| ⌃⌥Z | Undo the last change to the shelf. |
| ⌃⌥S | Show 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.