planning-with-scratchpad

planning-with-scratchpad is a skill for Claude Code, Codex from NikiforovAll/scratchpad. It costs 54 tokens per session (2,721 once invoked), scanned A, original, MIT.

A planning skill that keeps a complex task in persistent Markdown files, stored in a browsable scratchpad. The notes remain available across sessions and context limits.

In plain words
What is it for?
Use it to track research-heavy projects, record decisions, and maintain a plan that people can inspect visually.
Why use it?
It prevents plans, decisions, and progress from being lost during long or multi-session work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; names the AskUserQuestion tool.

Good fit Use it to track research-heavy projects, record decisions, and maintain a plan that people can inspect visually.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nikiforovall/scratchpad/planning-with-scratchpad
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NikiforovAll/scratchpad --skill planning-with-scratchpad
Clone the repo
git clone --depth 1 https://github.com/NikiforovAll/scratchpad

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for planning-with-scratchpad

README.md
[![agentmods](https://agentmods.dev/badge/skills/nikiforovall/scratchpad/planning-with-scratchpad/github.svg)](https://agentmods.dev/skills/nikiforovall/scratchpad/planning-with-scratchpad)
Your own site
<a href="https://agentmods.dev/skills/nikiforovall/scratchpad/planning-with-scratchpad"><img src="https://agentmods.dev/badge/skills/nikiforovall/scratchpad/planning-with-scratchpad/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for planning-with-scratchpad

Your own site · 80×15
<a href="https://agentmods.dev/skills/nikiforovall/scratchpad/planning-with-scratchpad"><img src="https://agentmods.dev/badge/skills/nikiforovall/scratchpad/planning-with-scratchpad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,721 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.02721
Opus 5 $0.00027 $0.01360
Sonnet 5 $0.00011 $0.00544
Haiku 4.5 $0.00005 $0.00272

Measured 9d ago against content hash c7c5df74eb8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

planning-with-scratchpad scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pi/skills/planning-with-scratchpad/SKILL.md · 281 lines

How it starts

The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Planning with Scratchpad

Use persistent markdown files as external memory for complex tasks. Files survive context limits and session boundaries. The files live in a scratchpad (a _plans/ folder + manifest) so the human can browse the plan in the visual viewer.

Load the scratch skill first — it owns all CLI mechanics (new, add, ls, show, ui). This skill adds the planning conventions on top.

Bundled References

Read these when you need deeper guidance on a specific aspect:

  • examples.md — Real task examples showing different file combinations. Read when unsure which files to create for a given task shape.

When to Use

  • User explicitly requests planning/tracking with a scratchpad
  • Complex multi-session tasks
  • Research-heavy work requiring persistent notes
  • Tasks where decisions and rationale need to be preserved

When NOT to Use

  • Simple single-session tasks (use Plan Mode instead)
  • Quick fixes or small changes
  • Tasks with clear requirements needing no research

Directory Convention

One pad per task, created in _plans/ with a date-prefixed folder:

scratch new "<task-name>" --dir _plans --id "$SESSION_ID"

This creates _plans/YYYY-MM-DD-<slug>/. Write files into that folder with your normal tools, then register each with scratch add so it appears in the viewer:

_plans/
  2026-01-08-dark-mode-toggle/
    scratchpad.json          # manifest (managed by scratch)
    plan.md
    research-css-strategies.md
    decisions.md
  2026-01-09-api-auth-refactor/
    scratchpad.json
    plan.md
    research-auth-providers.md
    research-token-storage.md
    decision-oauth-vs-saml.md
    decision-session-strategy.md
    references.md
    scratch-migration-steps.md

Naming: YYYY-MM-DD-task-name (kebab-case, concise description) — scratch new derives this from the task name + date.

File Types — One Concern Per File

Each file owns a single concern. When in doubt, create a new file. A pad with 8 focused files is better than one with 3 bloated ones. Split early — you can always cross-reference with relative links. Register each file with scratch add --type.

Read the full file on GitHub · 281 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 281 lines · 54 tokens per session scan A c7c5df74eb8f

Subscribe to this mod's changes

planning-with-scratchpad is a skill published in the GitHub repository NikiforovAll/scratchpad (12 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 2,721 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

obsidian

Obsidian vault management — create notes, backlinks, tags, and Dataview queries via file operations.

furkangonel/cowrangler · 24 tokens

cn-check

Install and run the Continue CLI (cn) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.

continuedev/continue · 49 tokens

backfill

Reconstruct an OKF bundle by event-sourcing a repository's history (git log and Claude session transcripts). Use when creating an .okf/ bundle for an existing repository that predates this skill, or when resuming an interrupted backfill session. Triggers on: "reconstruct the OKF bundle", "backfill the knowledge…

scaccogatto/okf-skills · 80 tokens

okf

Author, maintain, and consume Open Knowledge Format (OKF) knowledge bundles — portable markdown + YAML frontmatter that both humans and agents read. Use when capturing project knowledge (services, APIs, schemas, metrics, runbooks, decisions) into an OKF bundle, when updating one after code or docs change, or when a…

scaccogatto/okf-skills · 127 tokens

validate

Check that an Open Knowledge Format (OKF) bundle is conformant with the v0.2 spec (§11). Use when asked to validate, lint, or check an OKF bundle, or before committing changes to one. Runs a deterministic Python checker — not an eyeball pass. Also migrates a v0.1 bundle to v0.2 in place with --migrate.

scaccogatto/okf-skills · 82 tokens

visualize

Render an Open Knowledge Format (OKF) bundle as a single self-contained, interactive HTML graph (viz.html) — concepts as nodes coloured by type and sized by body length, markdown links and bundle-internal sources as edges, a wiki-style detail panel with rendered markdown, v0.2 trust/lifecycle/provenance metadata, and…

scaccogatto/okf-skills · 111 tokens