Manage persistent working memory. Add priority context, manual notes, or working memory that persists across sessions.
Install
npx skillscat add reinamaccredy/maestro/note Install via the SkillsCat registry.
Note — Persistent Working Memory
Manage notes that persist across Claude Code sessions. Priority context is injected at session start.
Storage
All notes live in .maestro/notepad.md with three sections:
# Notepad
## Priority Context
[Injected into every session start — use for critical reminders]
## Working Memory
[Accumulated context from sessions — auto-managed]
## Manual
[User-written notes that persist until manually removed]Commands
Default (no flag): Add to Working Memory
/note Fix: auth middleware was missing token refresh checkAppends the content as a bullet to ## Working Memory.
--priority: Add to Priority Context
/note --priority Fix auth before deploying to prodAppends the content as a bullet to ## Priority Context. This section is read by session-start.sh and injected into every new session.
--manual: Add to Manual Notes
/note --manual API rate limit is 100 req/min per keyAppends the content as a bullet to ## Manual.
--show: Display Notepad
/note --showReads and displays the full notepad contents.
--prune: Prune Working Memory
/note --pruneRemoves entries from ## Working Memory that are no longer relevant. Keeps ## Priority Context and ## Manual intact. Uses judgment to remove stale items — ask the user if uncertain.
--clear: Clear a Section
/note --clear priority
/note --clear working
/note --clear allClears the specified section (or all sections). Asks for confirmation before clearing ## Priority Context or all.
Workflow
Step 1: Parse Arguments
Extract the flag (if any) and the content from the user's input.
- No flag → default to Working Memory
--priority→ Priority Context--manual→ Manual--show→ display only--prune→ prune Working Memory--clear <section>→ clear section
Step 2: Ensure Notepad Exists
If .maestro/notepad.md doesn't exist, create it with the template:
# Notepad
## Priority Context
## Working Memory
## ManualAlso ensure .maestro/ directory exists.
Step 3: Execute Command
For add commands (default, --priority, --manual):
- Read the current notepad
- Find the target section header
- Append
- <content>after the section header (before the next section) - Write the updated notepad
For --show:
- Read and display the notepad
- If it doesn't exist, say "No notepad found. Use
/note <content>to start."
For --prune:
- Read the notepad
- Review each bullet in
## Working Memory - Remove items that appear stale or resolved
- Show what was removed
For --clear:
- Confirm with the user (unless clearing Working Memory only)
- Remove all bullets from the specified section(s)
- Keep section headers intact
Step 4: Confirm
After any write operation, show the updated section to confirm the change.
Section Contracts
| Section | Written by | Read by | Persistence |
|---|---|---|---|
| Priority Context | User via --priority |
session-start.sh |
Until manually cleared |
| Working Memory | Default /note |
Sessions, prune | Pruned periodically |
| Manual | User via --manual |
Sessions | Until manually cleared |