agentsclimarketplace

Scratchpad

Skill opelpleple/meta-skills/scratchpad

17 model-agnostic thinking & context-engineering skills for Claude — clarify, attack your own plan, manage the context window, verify before trusting. grill-me-style process skills.

Install
npx -y skills add opelpleple/meta-skills --skill scratchpad

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Offloads notes, todos, decisions, and intermediate findings to an external file outside the context window, then pulls only the relevant pieces back when needed — giving the agent persistent memory that survives context limits and resets. Use this skill when the user says "take notes", "keep track of", "remember this for later", or "make a checklist"; when a task is multi-step or spans many tool calls (roughly 20+); when intermediate findings would otherwise be lost; or whenever you're accumulating state that doesn't need to sit live in the context window.

SKILL.md

4.1 KB, 860 tokens by cl100k_base, as published. Nobody here has run it

Scratchpad

Write working memory to a file instead of carrying it in context — then read back only what the current step needs.

When to use

  • A multi-step task where state accumulates (research findings, a todo list, partial results).
  • Long agentic runs with many tool calls, where early findings would scroll out of the window.
  • The user asks to "track", "remember", or "take notes" across steps.
  • You need durability across a context compaction or a fresh session.

When NOT to use

  • A short, single-shot task — the file is overhead with no payoff.
  • Truly ephemeral scratch math that's consumed in the very next step.
  • Secrets or sensitive data that shouldn't be written to disk.

The method (numbered, concrete — the heart)

  1. Create one canonical file. Pick a stable path and stick to it (e.g. scratchpad.md or NOTES.md in the working dir). One file the agent always knows where to find.
  2. Structure it for selective reads. Use clear headed sections — ## Goal, ## Decisions, ## Todo, ## Findings, ## Open questions, ## Dead ends — so you can pull back one section without loading the whole file.
  3. Write as you go, not at the end. Append a finding the moment you discover it. The point is to get it out of context, so don't hoard it in the conversation first.
  4. Record decisions with reasons and timestamps. "Chose X over Y because Z" — future reads (and a future you) need the rationale, not just the verdict.
  5. Keep a live todo with status. Mark items [ ] / [x] / [blocked]. This is the agent's task ledger; update it after each step.
  6. Log dead ends. Write down what didn't work and why, so neither you nor a successor repeats it.
  7. Read back surgically. When you need state, read the relevant section — not the entire file. Treat the file as a database you query, not a blob you reload.
  8. Reconcile before finishing. At the end (or before a handoff/compaction), make sure the file reflects final reality, then it doubles as your summary source.

What good looks like

  • At any moment you could lose the conversation and reconstruct the task from the file.
  • The file is the source of truth for todos and decisions; the conversation just acts on it.
  • Reads are targeted (one section), keeping live context lean.
  • Dead ends and rationales are captured, so the same mistake never gets made twice.

Anti-patterns

  • Notes that never leave context — narrating findings in chat but never writing them, so they vanish on compaction.
  • Many scattered files — losing track of where state lives; keep it canonical.
  • Reloading the whole file every step — re-bloating the window you were trying to protect.
  • Write-only scratchpad — recording but never reading back, so the notes do no work.
  • Stale ledger — a todo list that no longer matches reality, which is worse than none.

Example (short, vivid)

A migration touching 40 files. Instead of holding progress in context:

# scratchpad.md
## Goal: migrate all API routes from v1 → v2 auth middleware
## Todo
- [x] users.ts
- [x] orders.ts
- [blocked] billing.ts  — uses removed `legacyToken`; need product decision
- [ ] 37 remaining (see grep results below)
## Decisions
- 2026-06-28: keep v1 shim for `/webhook/*` (third parties pin old format)
## Dead ends
- Codemod via regex broke template strings — doing AST-based pass instead

The agent appends after each file, reads only ## Todo to pick the next one, and the run survives any reset.

Gives 0 of the 12 instructions most memory context skills give in 860 tokens

Counted across 674 of the 847 authors here whose files we hold, read 2026-08-06

  • inform the user when setup is completein 21 of 674, across 6 files
  • confirm the draft with the user before writingin 21 of 674, across 6 files
  • update the agent skills block in place if it existsin 21 of 674, across 6 files
  • present findings to the userin 20 of 674, across 5 files
  • write the three docs files from seed templatesin 20 of 674, across 5 files
  • ask the user about each decision one at a timein 19 of 674, across 4 files
  • edit CLAUDE.md if it existsin 18 of 674, across 3 files
  • explore current repo statein 18 of 674, across 3 files
  • do not overwrite user edits to surrounding sectionsin 18 of 674, across 3 files
  • back up the original file before overwritingin 16 of 674, across 8 files
  • keep the memory index under 200 linesin 15 of 674
  • Provide actionable steps and verificationin 13 of 674, across 2 files

Said here and by no other author read

  • create one canonical file
  • structure the file with clear headings
  • record decisions with reasons and timestamps
  • maintain a live todo list with status
  • log dead ends
  • read only relevant sections

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.