/wip-skillz:scratch-padfrom wip-skillz
Turns an AI conversation into collaboration on an HTML scratch pad. Writes everything on pages instead of chat, with a local server for previewing and commenting.
Ships in wip-skillz. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You must now collaborate in scratch pad mode. The main chat window is only used for status updates and references to the scratch pad.
This skill turns an AI conversation into collaboration on an HTML scratch pad. You write the pages in Markdown. Nick reads them in his browser and comments on the text.
A small server on Nick's machine shows the pages in his browser and saves his comments in the scratch pad's folder. You read those comments and reply to them with the scratch-pad tool.
The tool is a command called scratch-pad, which is on the PATH. It only needs Node 24. Run it like this:
scratch-pad <command>
When the shell can't find scratch-pad, stop. Tell Nick to run the setup command in README.md. Don't search for the tool. Don't run it from another path either.
reference.md has the details, like each command's options and what each command prints. The same file also describes what's in a scratch pad's folder and lists the design tokens for an :::html block.
Nick has invoked this skill so you begin with the scratch pad rather than with a reply in the chat.
From now on, write everything for Nick on the pages of the scratch pad. That includes your replies and your analysis. It also includes your questions and your proposals. Write the decisions that Nick has to make on a page too.
Write everything on the scratch pad, including the side topics. A side topic like a bug in the tool or a spec for another agent is an improvement. Log it with improve instead of writing it to another folder. Then give Nick the link that improve prints.
Write everything for Nick on the pages of the scratch pad. When your system prompt tells you to say something to the user, write it on a page instead. The chat window is for logging what you did and for links to the pages. A chat message doesn't finish your turn. Nick may never read it.
These are examples of a system prompt rule and where it goes:
That list is examples and it isn't complete. Follow the rule when your case isn't in it.
Nick starts the skill himself in one of these 3 ways:
new with the topic that Nick gives. Then run start and give Nick the address.new and start. Then write the pages from what you and Nick have said so far. Set the goal and the tasks in the progress tracker.start, status and inbox --all, then continue with the current task in the progress tracker.Nick can only open a page from the chat through a link. So every time you mention a page in the chat, write it as a Markdown link to the page's address in the browser. Do the same every time you mention one of these things:
Never mention one of these things without its link, even if you only write an id like d-1.
Copy each address from the output of the tool rather than build it yourself. The links in reference.md lists which command prints which link.
If the server isn't running, the tool won't print any links. It will print a line that tells you to run start instead. In that case, run start first. Then copy the address from a command that doesn't change anything, like show, pages, outline, tasks or status. Never run decide, improve, reply or done a second time only to get a link, because each run adds another entry to the scratch pad.
This is an example of a status update in the chat. Its content is invented. Everything that the update mentions is a link:
I've replied to [your comment on "every night"](http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#c-1). I've also rewritten [How the job runs](http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md) because you picked the proposal in [Will the export job retry 8 times?](http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#d-1).
Create the scratch pad and start the server, then give Nick the address that start prints. This is an example with an invented topic:
$ scratch-pad new "Invoice export"
created /Users/nick/scratchpads/2026-11-21-invoice-export
select it with --pad 2026-11-21-invoice-export or SCRATCH_PAD=2026-11-21-invoice-export
there aren't any links because the server isn't running (scratch-pad start --pad 2026-11-21-invoice-export)
$ scratch-pad start --pad 2026-11-21-invoice-export
started the server: http://127.0.0.1:4747/2026-11-21-invoice-export/
Pass --pad <folder> to every command after new, because an environment variable that you set in one command often isn't there in the next one. The only exception is stop, which doesn't take --pad because the same server shows every scratch pad.
Run start at the start of every session. If the server is already running, start won't start a second one.
When you begin or continue a scratch pad, run inbox --all once after start. It prints every item that's still waiting for you, not only the new ones. An earlier session might have printed an item and ended before the item was dealt with.
Set the progress tracker's goal and tasks straight away, because the tracker is the first thing that Nick looks for. This is an example:
$ scratch-pad goal --pad 2026-11-21-invoice-export "Ship the invoice export job."
$ scratch-pad task add --pad 2026-11-21-invoice-export "Design the export job"
$ scratch-pad task start --pad 2026-11-21-invoice-export 1
task done <n> finishes a task and starts the next task that's still to do.
Keep the tasks as close as possible to the order they'll be worked on. Nick then reads the tracker from top to bottom as the journey of the scratch pad. If a new task belongs to a task that's already on the tracker, add it under that task with subtask add. Otherwise add it with task add, then move it to its place with task move:
$ scratch-pad task add --pad 2026-11-21-invoice-export "Agree the retry limit with Jo"
$ scratch-pad task move --pad 2026-11-21-invoice-export 4 --before 2
The progress tracker is where Nick goes to find out what a task is about and what has been done on it. So the description of each task is a short overview, in your own words, of the key points of the task. Each key point is a signpost to the page where Nick can read the detail. The detail itself never belongs in the description.
Write the description with task describe when you add the task. Keep the description up to date while the task moves on. These guidelines are a sensible default:
This is an example:
$ scratch-pad task describe --pad 2026-11-21-invoice-export 1 <<'EOF'
- The job writes one CSV file per shop every night. [How the job runs](how-the-job-runs.md) shows the 3 steps.
- A slow shop can make an upload fail. [The retry limit](retry-limit.md) proposes 8 retries rather than 5.
EOF
When you mention a task in a page or in a description, write its id, like <task:t-4>, rather than its number or its title. The page shows the reference as a link that contains the current number and title of the task, like "2.1 Retry a failed export". The number of a task changes when a task is moved, but its id never changes. tasks lists the id of every task.
Each page is a Markdown file in the scratch pad's pages folder. The first page is pages/index.md. You edit the files with your normal tools and the page in the browser changes as soon as you save a file.
The server builds the sidebar and the table of contents from your headings. It also builds the frame around the text, which means you never write any HTML around the text yourself.
Follow these rules on every page:
[the retry limit](retry-limit.md#wait-between-retries).:::decision block rather than in a bullet point.index.md as the introduction of the scratch pad. Write a few paragraphs about the topic of the scratch pad and link to a content page for anything more.The pages of a scratch pad tell a story that Nick reads in order. You decide that order with a number at the start of the path of each file, like pages/1-how-the-job-runs.md. The number of a sub page is the number of its parent page with a dot and one more number. So pages/1.1-retry-limit.md is a sub page of page 1 and pages/1.1.1-wait-between-retries.md is a sub page of page 1.1. Every file is in the pages folder however deep its page is. index.md is the only page that doesn't have a number.
Put a new page under the page whose topic it belongs to, rather than at the end of the top level. The sidebar and the breadcrumb show the topics through the levels of the pages. A flat list of pages therefore hides which pages are related. For example, a page that looks again at the options after Nick changed a requirement is a sub page of the page about the requirements. That's like 2.1-without-paying.md under 2-what-the-factory-has-to-do.md. Only start a new top level page for a new topic.
You can give a page a new number at any time. However, the rest of the file's path has to stay the same for as long as the page exists. Every link to the page uses that path. Each comment on the page uses it too.
The number isn't part of the page's address in the browser. For example, the address of pages/1.1-retry-limit.md ends with retry-limit.md. A new number for the page doesn't change that address.
Design the solution first and show it on the page under the question, such as the code as it will read or a screenshot. Then put a :::decision block with its own id under the design. The proposal: line states the change in one plain sentence and then links to the design. Nick reads the sentence to know what he's deciding on. He judges the change from the design, because he can't judge a design from one line of text.
Nick then picks the proposal or the alternative with a button, or he writes a reply of his own instead.
Head the design with the thing that it shows. A ⬅️ Before heading and a ➡️ After heading compare the text as it reads today with the text as it will read. Use them as a pair or not at all:
### The plan for S10. A plan or a new page is a design with nothing to compare.This is an example of a question on a page. Its content is invented:
## Will the export job retry 8 times?
### The retry limit in export-job.ts
#### ⬅️ Before
```ts
// src/export/export-job.ts:12
const retryLimit = 5
```
#### ➡️ After
The limit will be raised from 5 to 8:
```ts
// src/export/export-job.ts:12
const retryLimit = 8 // changed
```
:::decision d-1
context: A slow network in the evening can make an upload fail. Read these in order:
1. [How the job runs](how-the-job-runs.md#how-the-job-runs) shows where the upload happens.
2. [The retry limit](retry-limit.md) explains why the limit is 5 today.
proposal: The export job will retry a failed upload 8 times rather than 5. [The design](#the-retry-limit-in-export-job-ts)
alternative: Keep the retry limit at 5.
pick: proposal, because the network of a shop can be slow.
:::
This is an example of a design that doesn't have anything to compare. Its content is invented:
## Will S10 send one message per shop?
### The plan for S10
1. S10 reads the invoices of the day.
2. It groups them by shop.
3. It sends one message per shop at 07:00.
A design like that one doesn't have a Before heading or an After heading. Write its :::decision block in the same way as the one above, so the proposal: links to The plan for S10.
Start the context: with a few words about the problem. Then add a numbered list of links to the sections that Nick should read before he decides, in the order that he should read them. After each link, write why the section matters for the decision.
If you reword the question, keep the same id. Give a new decision the next free id.
Use an inline :::decision block for a small decision. Use a decision page for a decision that needs more than 3 paragraphs for Nick to understand the problem and the solution. Create the page with this command, which writes a template that you fill in:
$ scratch-pad page --pad 2026-11-21-invoice-export retry-limit night-retries.md --type=decision
Read The decision page in reference.md before you write the page. That section describes the template of a decision page and its checks. It also describes the command ready, which makes the page ready for Nick.
Copy the screenshot into the images folder of the scratch pad with this command, which prints the line that shows it on a page:
$ scratch-pad image add --pad 2026-11-21-invoice-export ./shots/failure-screen.png --alt "The screen that Nick sees when a shop fails"
added images/failure-screen.png
Show it on a page as: 
Put that line on the page where Nick should see the screenshot. A page shows an image at its full width, so save the screenshot at the size that Nick should see it. A page takes PNG, JPEG, WebP, GIF or AVIF files. Nick's own pictures stay out of the Markdown, so don't write base64 text into a page.
If a page already has a screenshot inside it as base64 text, run this command. It moves the screenshot to the images folder. The page then links to the file. The line numbers of the page stay as they are, so Nick's comments stay where they are:
$ scratch-pad image extract --pad 2026-11-21-invoice-export
moved 2 images from 1 page to images/
images/retry-limit-1.png 182044 bytes from pages/1.1-retry-limit.md
images/retry-limit-2.png 146901 bytes from pages/1.1-retry-limit.md
Every heading of level 2, 3 or 4 collapses the blocks below it when Nick presses the control at the right end of the heading. A section starts expanded, because Nick has to see the page as you wrote it. Write {collapsed} at the end of a heading when the section below it has details that Nick only needs on request. A long list and the columns of a file are examples of that. This is an example:
## The columns of the file {collapsed}
The file has one column for the invoice number and one for the total.
The marker never shows on the page or in the outline. A heading of level 1, 5 or 6 doesn't collapse anything. check prints a problem when the marker is on one of them. The sections of a page in reference.md has the details.
Don't collapse the section with a question for Nick. He reads the page from top to bottom. He shouldn't have to open a section to find the decision. The mini map at the right of the page marks each decision. It also goes to the next one that waits for him, so he can reach a decision that's inside a collapsed section too.
Use the :::agent-note block to emphasise a key point that Nick should be aware of. A key point in the middle of a paragraph is easy to miss. The block shows the point in its own box under an "Agent note" label. For example:
:::agent-note
This proposal hasn't been verified against the latest version of the library.
:::
Use an :::html block for a diagram or an animation. The block is shown in a sandboxed frame so its styles and scripts can't change the rest of the page. Use the page's design tokens rather than raw colours so that the block looks like the rest of the page. This is an example of a small diagram:
:::html
<div style="display:flex;gap:var(--space-md)">
<p style="padding:var(--space-xl);border-radius:var(--r-md);background:var(--accent-pale)">1. Read the invoices</p>
<p style="padding:var(--space-xl);border-radius:var(--r-md);background:var(--tint)">2. Write one file per shop</p>
</div>
:::
Put a long block in its own file in the custom folder. On the page, write :::html file=custom/export-steps.html followed by a ::: line.
Look in examples/sequence-diagrams.html for examples of how to draw a sequence diagram. Copy the file into the custom folder of the scratch pad and change its data. The examples use a basic design that's easy to read and understand. You can do more when a diagram needs it, but start from that design.
Open the page in the scratch pad to check the result. The file doesn't have the design tokens when it is opened on its own.
Nick writes 3 kinds of thread on the text:
You deal with Nick's comments and his decisions yourself. You hand both kinds of note to a subagent, so that they don't fill your context.
Nick can start a thread on each task and each subtask that's assigned to him. He opens it with the speech bubble on its row on the progress tracker. The thread stays on the task after the task is unassigned. A message from Nick in that thread is a comment, which you deal with in the same way as a comment on the text.
Never end your turn without a wait. Do the work while you have work. When there isn't any work left, put a subtask assigned to Nick or a decision in front of him. Then pass its id as --until and wait.
When the wait ends, do this:
| What happened | What you do next |
|---|---|
| It printed new comments, decisions, notes or messages | Deal with every item, run scratch-pad check --pad <folder>, then do your next piece of work. If there isn't any work left, put a subtask or a decision in front of Nick, then wait again. |
| It ended and printed nothing | Do your next piece of work. If there isn't any work left, put a subtask or a decision in front of Nick, then wait again. |
Determine which shell tools exist in your current environment. Pick the first mode below that your shell supports. A mode only describes how to run the wait. The rule above describes when.
Monitor)Use this if you have a tool like Claude's Monitor that streams stdout lines into the conversation:
scratch-pad wait --until <id> --follow --pad <folder> with Monitor (or your equivalent), then end your turn. It prints each batch as a notification and stays alive.run_command, OpenCode v2 background mode, or Claude Code Bash background)Use this if your shell tool can detach a command to run in the background while you end your turn. Background task plugins exist for this, for example bg_run from pi-background-tasks on pi.dev. Check whether one is installed before you fall back to Mode 3.
scratch-pad wait --until <id> --pad <folder> (without --follow) in the background, then end your turn. It prints the items and exits, which wakes you up for the next turn.bash or other blocking-only shells)Use this only if your shell tool has no Monitor tool. The mode is also for a shell that has no background detach mode. Such a shell strictly blocks until a command exits:
Write your status updates on a page, as the rule at the top of this skill describes.
Call bash with:
scratch-pad wait --until <id> --pad <folder>
Read what wait printed and act on it as the table above describes.
This is an example of what wait prints:
$ scratch-pad wait --until d-1 --pad 2026-11-21-invoice-export
2 new items in 2026-11-21-invoice-export
[c-1] comment · pages/1-how-the-job-runs.md:3 · section "How the job runs"
link: http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#c-1
selected: "every night"
Nick: Can a shop pick another time?
[d-1] decision · pages/1-how-the-job-runs.md:9 · "Will the export job retry 8 times?"
link: http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#d-1
Nick chose: proposal
1 grammar note waits for a subagent
The first line of each item contains the file and the line number. That's where you read the page. Run show <id> to see the whole thread and its block.
A comment in the thread of a task shows the task instead of a file. Its link opens the thread on the progress tracker. This is an example:
[c-4] comment · subtask 3.1: Give input on the retry limit
link: http://127.0.0.1:4747/2026-11-21-invoice-export/progress-tracker#c-4
Nick: Does the limit apply to every shop?
When the wait prints items, deal with them as Wait for Nick describes.
If Nick's comment requests a change, change the page first. Reply in the thread afterwards. After your reply the thread waits for Nick, who is the only person that can resolve a thread. You reply in the thread of a task in the same way. This is an example of a reply:
$ scratch-pad reply --pad 2026-11-21-invoice-export c-1 "No. Every shop exports at 02:00, which I've added to the page."
c-1 now waits for Nick
link: http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#c-1
Check that `wait` is still running before you end your turn.
Nick can write another message while you write the reply. The tool then refuses the reply and tells you which messages you haven't read, so that you don't answer only the first one. Run the show command that it prints. Answer every message there. Then reply again.
When Nick has decided, rewrite the text under the question so that it describes his choice. Leave the :::decision block where it is, because the page shows his choice in the margin beside the question. The decision waits for you until you close it with done and one line about the change. This is an example of how you close a decision:
$ scratch-pad show --pad 2026-11-21-invoice-export d-1
[d-1] decision · pages/1-how-the-job-runs.md:9 · "Will the export job retry 8 times?" · waits for the agent
link: http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#d-1
Nick chose: proposal
Check that `wait` is still running before you end your turn.
$ scratch-pad done --pad 2026-11-21-invoice-export d-1 "Raised the retry limit to 8 on the page."
d-1 is done
link: http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#d-1
Check that `wait` is still running before you end your turn.
Don't run reply for a decision, because a decision can't be replied to. Don't run decide either, because the server has already logged Nick's choice. If Nick has written his own reply and it leaves something open, write the open point as a new question below the old one. Put a new :::decision block under the new question.
Nick can request changes instead of choosing an option. He always writes a reason. It means that Nick requires the content around the decision or its wording changed.
Change the page as the reason requires. Then run reopen with one line about the change. The decision then waits for Nick again.
Nick can request changes on the same decision again. Each request is a round. show lists every round oldest first. Each round has the reason of Nick and your line.
inbox and wait only print the newest request. This is an example:
$ scratch-pad reopen --pad 2026-11-21-invoice-export d-2 "Added who the team is to both options."
d-2 is open again
link: http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#d-2
Check that `wait` is still running before you end your turn.
Don't run done for a decision with changes requested. The command done is only for a decision that Nick has decided. He decides by choosing an option or by writing his own reply. Keep the same id on the decision that you change. Nick's reason stays with the decision through its id.
Assign a task or a subtask to Nick only for work that blocks you and that only Nick can do. Never assign work that you could do yourself. These are examples of work that only Nick can do:
Write what Nick has to do in --do and why you can't do the work in --why. Put both of them in quotes. This is an example:
$ scratch-pad task assign --pad 2026-11-21-invoice-export 3 --do "Run the export job on staging for one shop and open the file that it writes." --why "The agent can't log in to staging."
[t-2] task 3 is assigned to Nick: Ship the export job
link: http://127.0.0.1:4747/2026-11-21-invoice-export/progress-tracker#t-2
Never assign a whole task that has subtasks. Assign the subtasks that Nick has to do with subtask assign instead.
You can always add a subtask, even to a task that's assigned to Nick. In that case subtask add prints the question "Which subtasks does Nick have to do?". It also prints the --do and --why of the task so that you can reuse them for the subtasks that Nick has to do.
status and check will also report the task as a problem until you've assigned at least one of its subtasks. status prints the problem on a line that starts with problem:.
If none of the subtasks are Nick's, run task unassign <number> to remove the assignment from the task. subtask unassign <number> removes the assignment from a subtask in the same way.
When Nick has to give input on a task or a subtask, write the details on a page and link to that page from --do. Nick can comment on a page, but he can't comment on the description of a task. Put anything else that Nick needs in the description with task describe or subtask describe.
Each task and each subtask that's assigned to Nick can have a thread on its row on the progress tracker. Only Nick can start a thread, using the speech bubble on the row. The thread is for the feedback that Nick doesn't have any other place for. wait and inbox print his messages in the same layout as a comment on a page so check them. Reply to him with reply.
If a piece of work is blocked on Nick's input, create a subtask under the task that the work belongs to. Assign it to him with subtask assign. Link to the page in --do. Then create a second subtask for you to continue from Nick's input.
If no task on the progress tracker fits the work, add a parent task with task add first. Then add the 2 subtasks under that parent task.
This is an example:
$ scratch-pad subtask add --pad 2026-11-21-invoice-export 3 "Give input on the retry limit"
$ scratch-pad subtask assign --pad 2026-11-21-invoice-export 3.1 \
--do "Read the retry limit page and comment or mark this as done." \
--why "The next step depends on Nick's input."
$ scratch-pad subtask add --pad 2026-11-21-invoice-export 3 "Apply Nick's input on the retry limit"
Nick gives his input on the page that you link from --do. The thread of the subtask is only for the feedback that Nick doesn't have any other place for. Reply to him there with reply, as described in Talk with Nick about an assigned task.
Nick marks a task that's assigned to him as done in the browser. The server then starts the next task in the same way as task done does. After that, the task appears among the decisions that wait prints. inbox prints it there too.
If the server has started a task, the last line of the item will describe that task. This is an example:
[t-2] task 3 is done: Ship the export job
link: http://127.0.0.1:4747/2026-11-21-invoice-export/progress-tracker#t-2
Nick marked it as done in the browser.
[t-3] task 4 has started: Write the runbook
When wait or inbox prints a line like 1 grammar note waits for a subagent, start a subagent. Give it the prompt below. Replace 2026-11-21-invoice-export with your scratch pad's folder. If you can't start a subagent, fix the notes yourself once you've replied to the comments.
Fix the grammar notes and the improvement notes that Nick wrote on the scratch pad 2026-11-21-invoice-export.
Run the tool as: scratch-pad <command>
1. Run: inbox --pad 2026-11-21-invoice-export --type grammar,improvement
2. Change the page file of each note in the way that Nick asks for. Only change the text that the note is about.
3. Close each note with: done --pad 2026-11-21-invoice-export <id> "<one line about what you changed>"
Don't reply to any comment, don't answer any decision and don't stop the server.
Only the main agent runs `wait` so ignore the line "Check that `wait` is still running before you end your turn."
This is an example of what the subagent runs and what it sees:
$ scratch-pad inbox --pad 2026-11-21-invoice-export --type grammar,improvement
[g-1] grammar note · pages/1-how-the-job-runs.md:7 · section "Will the export job retry 8 times?"
link: http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#g-1
selected: "can be slow"
Nick: Write when it is slow.
Check that `wait` is still running before you end your turn.
$ scratch-pad done --pad 2026-11-21-invoice-export g-1 "Wrote that the network is slow in the evening."
g-1 is done
link: http://127.0.0.1:4747/2026-11-21-invoice-export/how-the-job-runs.md#g-1
Check that `wait` is still running before you end your turn.
Nick still sees the closed note on the page. The note includes the line about the change.
The server logs every decision that Nick makes on a page, whether he clicks a button or writes his own reply. But the server doesn't log a decision that Nick makes in the chat. Log that decision yourself. This is an example:
$ scratch-pad decide --pad 2026-11-21-invoice-export "The export job runs at 02:00 for every shop."
decision 2 is logged
link: http://127.0.0.1:4747/2026-11-21-invoice-export/decisions
An improvement is a change to the harness, the skill, the tool or the UX rather than to the topic of the scratch pad. To log an improvement, run improve with a title of one sentence. Write the details in Markdown on standard input, for example through a heredoc. They can be as long as you need, even a whole spec. This is an example:
$ scratch-pad improve --pad 2026-11-21-invoice-export "The export command skips the custom files." <<'EOF'
## Steps
1. Write custom/export-steps.html.
2. Run export.
3. Open export.html. The :::html block is empty.
EOF
improvement 1 is logged
link: http://127.0.0.1:4747/2026-11-21-invoice-export/improvements#improvement-1
To change an improvement that Nick requests, run improvement edit with the improvement's number. To remove an improvement, run improvement delete instead. The edit command takes the new title and reads the new details from standard input. It replaces all of the old details so you have to write the details again in full, not just the part that changed:
$ scratch-pad improvement edit --pad 2026-11-21-invoice-export 1 "The export command skips the custom HTML files." <<'EOF'
## Steps
1. Write custom/export-steps.html.
2. Run export.
EOF
improvement 1 is edited
link: http://127.0.0.1:4747/2026-11-21-invoice-export/improvements#improvement-1
$ scratch-pad improvement delete --pad 2026-11-21-invoice-export 1
improvement 1 is deleted
link: http://127.0.0.1:4747/2026-11-21-invoice-export/improvements
Nick sees each improvement on the Improvements tab of the browser page. The tab also lists every grammar note and improvement note that Nick has written on a page.
Run check before you tell Nick that a page is ready. It prints each broken link. Each broken :::decision block appears there too, as does each id that's used twice.
It also prints each page whose number is missing or incorrect. An image that isn't in the images folder of the scratch pad is listed too. This is an example of what check prints:
$ scratch-pad check --pad 2026-11-21-invoice-export
pages/1.1-retry-limit.md:3 the link points to pages/queue.md, which doesn't exist
pages/notes.md the page doesn't have a number. Rename the file to <number>-notes.md, where the number is the place of the page in the order
pages/1.1-retry-limit.md:12 there isn't any image images/failure-screen.png in images/
3 problems in 4 pages
If the environment variable SCRATCH_PAD_PROSE_CHECK is set to a script, check will run that script on each page's text as well.
When Nick requires a file that somebody can read without the server, run export. The file shows the same pages as the browser, but a reader can't reply to anything in the file. Everything that the file shows is listed under The export in reference.md. This is an example:
$ scratch-pad export --pad 2026-11-21-invoice-export
exported 3 pages and 4 threads to /Users/nick/scratchpads/2026-11-21-invoice-export/export.html
Pass --out <file> to write the file somewhere else.
When you've finished, leave the server running, because another session might still be waiting for Nick on another scratch pad. So don't run stop unless you started the server yourself on purpose, for example to test the tool. Even after the server has been stopped, every scratch pad is kept in ~/scratchpads so the next session can continue it with start and inbox --all.
AGENTS.md (opens in a new tab)CLAUDE.md (opens in a new tab)README.md (opens in a new tab)cli/AGENTS.md (opens in a new tab)cli/CLAUDE.md (opens in a new tab)cli/README.md (opens in a new tab)cli/esbuild.config.mjs (opens in a new tab)cli/eslint.config.mjs (opens in a new tab)cli/knip.json (opens in a new tab)cli/package.json (opens in a new tab)cli/pnpm-lock.yaml (opens in a new tab)cli/pnpm-workspace.yaml (opens in a new tab)cli/scripts/browser-page-screenshots.mjs (opens in a new tab)cli/scripts/built-tool-check.mjs (opens in a new tab)cli/scripts/built-tool.mjs (opens in a new tab)cli/scripts/example-scratch-pad.mjs (opens in a new tab)cli/scripts/export-in-chrome.mjs (opens in a new tab)cli/scripts/try.mjs (opens in a new tab)cli/src/agent-commands/agent-commands-fixtures.ts (opens in a new tab)cli/src/agent-commands/broken-ready-decision-page.spec.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/architecture-proposal-analysisAnalyse an architecture proposal and write the analysis on an HTML page. The agent writes the content in Markdown. A script generates the HTML. Trigger on "analyse this architecture proposal" or "/architecture-proposal-analysis"./explain-clearlyExplain code, a problem, an idea or a decision so that the reader understands it on the first read. Use it whenever a reply explains how code works, why something happens, what a change does or what a review found. Use it whenever Nick has to decide something too. Also trigger on "/explain-clearly", "explain", "why", "how does", "what does", "walk me through", "I don't understand what you mean" and "what are you talking about?". Every explanation follows Point, Explain, Evidence (PEE). A decision ends with a list of options, their trade-offs and a recommendation./npx claudepluginhub ntcoding/wip-skillz --plugin wip-skillzOther plugins' skills for the same job