AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Scratchpad

skill-lucface-claude-skills-scratchpad · by Lucface

Compaction-resilient session notepad. Save working context that survives long conversations. Three tiers — pinned (always loaded), working (session), manual (permanent).

No reviews yet
0 installs
27 views
0.0% view→install

Install

$ agentstack add skill-lucface-claude-skills-scratchpad

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-lucface-claude-skills-scratchpad)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Scratchpad? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Scratchpad — Compaction-Resilient Session Notes

Save important context to ~/.claude/artifacts/scratchpad.md that survives conversation compaction.

Why This Exists

During long sessions, context compaction drops earlier messages. Critical working notes — debugging breadcrumbs, temporary findings, "tried X because Y" — vanish. This gives you a persistent notepad with three priority tiers.

Different from memory: Memory is cross-session knowledge about the user/project. Scratchpad is within-session working state that might become memory later.

Commands

| Command | Action | |---------|--------| | /scratchpad | Add to Working Memory with timestamp | | /scratchpad --pin | Add to Pinned Context (always loaded, 500 char limit) | | /scratchpad --save | Add to Manual section (never pruned) | | /scratchpad --show | Display current scratchpad contents | | /scratchpad --prune | Remove Working entries older than 7 days | | /scratchpad --clear | Clear Working Memory (keep Pinned + Manual) |

Sections

Pinned Context (500 char limit)

  • Always read on session start alongside MEMORY.md
  • Use for critical session facts: "Project uses bun", "On branch feature/xyz", "Don't touch the legacy monolith"
  • Keep SHORT — this eats into your context budget
  • Overwrite semantics: new pin with same topic replaces old

Working Memory

  • Timestamped session notes
  • Auto-pruned after 7 days
  • Good for: debugging breadcrumbs, temporary findings, "tried X, didn't work because Y"
  • Newest entries at top

Manual

  • Never auto-pruned
  • User-controlled permanent notes
  • Good for: team contacts, deployment commands, recurring gotchas

File Format

# Scratchpad

## Pinned
Project uses bun. On branch claude/explore-feature-xyz. Legacy module is 9K lines — restyle only, don't refactor.

## Working
- [2026-04-01 20:30] Found auth bug in UserContext — missing useEffect dependency
- [2026-04-01 19:15] pretext library installed, sidebar-layout.ts created
- [2026-04-01 18:00] 4-team audit complete, ASCII atlas at docs/ASCII-SCREEN-ATLAS.md

## Manual
- Project dev server: bun dev (port 3000)
- Team contact: team@example.com
- DB studio: bun db:studio

Behavior

  1. Creates ~/.claude/artifacts/scratchpad.md if it doesn't exist
  2. Parses argument to determine section (--pin, --save, or default Working)
  3. Appends with timestamp for Working entries
  4. Warns if Pinned exceeds 500 chars
  5. Confirms what was saved

Integration

  • Scratchpad is loaded on session start if it exists
  • When a Working note proves valuable across sessions, promote it to memory with /scratchpad --promote (moves to MEMORY.md)
  • When a session ends, stale Working entries can be pruned with /scratchpad --prune

Examples

/scratchpad The sidebar width transition bug is in client-pdf.ts:800-809, re-join step
/scratchpad --pin On branch claude/explore-pretext-integration. Don't push to main.
/scratchpad --save Project uses 5-tier PDF fallback: Typst → Cloud → Puppeteer → HTML → JSON
/scratchpad --show
/scratchpad --prune

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.