/ctx:ctx-padfrom ctx
Manages an encrypted scratchpad for short, sensitive one-liners that travel with the project. Translates natural language into ctx pad commands.
Ships in ctx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Manage the encrypted scratchpad via ctx pad commands using
natural language. Translate what the user says into the right
command.
ctx task add instead)ctx decision add instead)ctx learning add instead)| User intent | Command |
|---|---|
| "show my scratchpad" / "what's on my pad" | ctx pad |
| "show me entry 3" / "what's in entry 3" | ctx pad show 3 |
| "add a note: check DNS" / "jot down: check DNS" | ctx pad add "check DNS" |
| "delete the third one" / "remove entry 3" | ctx pad rm 3 |
| "change entry 2 to ..." / "replace entry 2 with ..." | ctx pad edit 2 "new text" |
| "append '-- important' to entry 3" / "add to entry 3: ..." | ctx pad edit 3 --append "-- important" |
| "prepend 'URGENT:' to entry 1" | ctx pad edit 1 --prepend "URGENT:" |
| "move entry 4 to the top" / "prioritize entry 4" | ctx pad mv 4 1 |
| "move entry 1 to the bottom" | ctx pad mv 1 N (where N = last position) |
| "import my notes from notes.txt" | ctx pad import notes.txt |
| "import from stdin" / pipe into pad | cmd | ctx pad import - |
| "export all blobs" / "extract blobs to DIR" | ctx pad export [DIR] |
| "export blobs, overwrite existing" | ctx pad export --force [DIR] |
| "merge entries from another pad" | ctx pad merge FILE... |
| "merge with a different key" | ctx pad merge --key /path/to/key FILE |
| "show entries tagged later" / "filter by #later" | ctx pad --tag later |
| "show everything except #later" | ctx pad --tag ~later |
| "what tags do I have" / "list my tags" | ctx pad tags |
| "tag entry 5 as urgent" | ctx pad edit 5 --tag urgent |
| "undo" / "I deleted the wrong thing" / "bring it back" | ctx pad undo |
List entries:
ctx pad
Show a single entry (raw text, pipe-friendly):
ctx pad show 3
Add an entry:
ctx pad add "remember to check DNS config on staging"
Remove an entry:
ctx pad rm 2
Replace an entry:
ctx pad edit 1 "updated note text"
Append to an entry:
ctx pad edit 3 --append " - this is important"
Prepend to an entry:
ctx pad edit 1 --prepend "URGENT: "
Move an entry:
ctx pad mv 3 1 # move entry 3 to position 1
Compose entries (pipe show into edit):
ctx pad edit 1 --append "$(ctx pad show 3)"
Import lines from a file:
ctx pad import notes.txt
Import from stdin:
grep TODO *.go | ctx pad import -
Export blobs to a directory:
ctx pad export ./ideas
ctx pad export --dry-run # preview without writing
ctx pad export --force ./backup # overwrite existing files
Merge entries from another scratchpad:
ctx pad merge worktree/.context/scratchpad.enc
ctx pad merge --key /path/to/other.key foreign.enc
ctx pad merge --dry-run pad-a.enc pad-b.md
Filter by tag:
ctx pad --tag later # entries with #later
ctx pad --tag ~later # entries WITHOUT #later
ctx pad --tag later --tag ci # entries with both (AND)
List all tags:
ctx pad tags
ctx pad tags --json
Tag an entry:
ctx pad edit 5 --tag urgent
ctx pad edit 5 --append "checked" --tag done # combine with other ops
Undo the last destructive change:
ctx pad undo
Every destructive ctx pad op (add, edit, mv, rm, merge,
normalize, resolve, tag) writes a snapshot of the prior pad
to .context/scratchpad.history/ before overwriting. ctx pad undo restores the most recent snapshot. Running undo
twice in a row is a redo (the first undo itself snapshots
before promoting the older state). Empty history is not an
error: prints "No pad history to restore." and exits 0.
When the user's intent is ambiguous:
When the user says "add": check context:
ctx pad add (new entry)ctx pad edit 3 --append (modify existing)~/.ctx/.ctx.key) internal to
ctx pad commands: exposing it grants full decryption access
to all pad entriesctx pad to access entries: reading scratchpad.enc
directly yields unreadable ciphertextWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
scratchpad, encrypted-notes, ctx-cli, project-notes, quick-notes
54 skills in this plugin
/ctx-agentLoad full context packet. Use at session start or when context seems stale or incomplete./ctx-architectureBuild and maintain architecture maps. Use to create or refresh ARCHITECTURE.md and DETAILED_DESIGN.md. Supports principal mode for deeper analysis: vision, future direction, bottlenecks, implementation alternatives, gaps, upstream proposals, and intervention points./ctx-architecture-enrichEnrich architecture artifacts with code intelligence data. Takes existing /ctx-architecture output as baseline, verifies and quantifies with GitNexus MCP (blast radius, execution flows, domain clustering, registration sites). Run after /ctx-architecture, not instead of it./ctx-archiveArchive completed tasks. Use when TASKS.md has many completed items cluttering the view.npx claudepluginhub activememory/ctx --plugin ctxOther plugins' skills for the same job