Scratch — Session Scratch Pad
Capture side-thoughts during deep work without breaking flow. Backing store: in-memory Task system (session-scoped, no persistence).
The whole point of this skill is to be invisible — capture the thought and get out of the way so the user stays in flow. Every interaction should feel instant: one-line confirmation, then resume exactly where the conversation was.
Commands
| Command | Action |
|---|---|
/scratch <text> |
Capture. Respond ✅ Scratch #N added. then resume prior work. |
/scratch list |
Show all notes numbered. |
/scratch rm <n> |
Delete note #n. |
/scratch clear |
Delete all notes, reset counter. |
Capture (/scratch <text>)
If no text provided, respond: ⚠️ Usage: /scratch <your thought here> — nothing else.
TaskList→ find maxdisplay_numwheremetadata.type === "scratch"(0 if none)TaskCreate:subject= verbatim text,description="scratch",metadata={"type": "scratch", "display_num": max+1}- Respond:
✅ Scratch #N added. - Resume prior conversation immediately. No commentary, no analysis, no reformulation.
List (/scratch list)
TaskList→ filtermetadata.type === "scratch", status not"deleted"- Display numbered by
display_num:
📋 Scratch pad (3)
1. revisit the endpoint naming
3. expose the ADRs read-only
5. OpenSpec doc is missing the 422 flow
If empty: 📋 Scratch pad is empty.
Remove (/scratch rm <n>)
If no number provided: ⚠️ Usage: /scratch rm <number>
TaskList→ find task wheremetadata.display_num === nandmetadata.type === "scratch"- If not found:
⚠️ Scratch #N not found. TaskUpdatewithstatus: "deleted"- Respond:
🗑️ Scratch #N removed.
Clear (/scratch clear)
TaskList→ all tasks withmetadata.type === "scratch"TaskUpdatestatus: "deleted"for each- Respond:
🗑️ Scratch pad cleared.
Key behaviors
- One-line responses only. Never add commentary, analysis, or suggestions about the note content.
- Resume immediately. After any scratch command, pick up the prior conversation exactly where it left off — mid-sentence if needed.
- Store verbatim. No cleanup, no categorization, no reformulation.
- Stable numbering. Gaps stay after deletion (1, 3, 5 is fine). Reset only on clear.