# Note

> Save notes to notepad.md for compaction resilience

- Skill: `majiayu000/note` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/note`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/note/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/note

---


# Note Skill

Save important context to `.omc/notepad.md` that survives conversation compaction.

## Usage

| Command | Action |
|---------|--------|
| `/oh-my-claudecode:note <content>` | Add to Working Memory with timestamp |
| `/oh-my-claudecode:note --priority <content>` | Add to Priority Context (always loaded) |
| `/oh-my-claudecode:note --manual <content>` | Add to MANUAL section (never pruned) |
| `/oh-my-claudecode:note --show` | Display current notepad contents |
| `/oh-my-claudecode:note --prune` | Remove entries older than 7 days |
| `/oh-my-claudecode:note --clear` | Clear Working Memory (keep Priority + MANUAL) |

## Sections

### Priority Context (500 char limit)
- **Always** injected on session start
- Use for critical facts: "Project uses pnpm", "API in src/api/client.ts"
- Keep it SHORT - this eats into your context budget

### Working Memory
- Timestamped session notes
- Auto-pruned after 7 days
- Good for: debugging breadcrumbs, temporary findings

### MANUAL
- Never auto-pruned
- User-controlled permanent notes
- Good for: team contacts, deployment info

## Examples

```
/oh-my-claudecode:note Found auth bug in UserContext - missing useEffect dependency
/oh-my-claudecode:note --priority Project uses TypeScript strict mode, all files in src/
/oh-my-claudecode:note --manual Contact: api-team@company.com for backend questions
/oh-my-claudecode:note --show
/oh-my-claudecode:note --prune
```

## Behavior

1. Creates `.omc/notepad.md` if it doesn't exist
2. Parses the argument to determine section
3. Appends content with timestamp (for Working Memory)
4. Warns if Priority Context exceeds 500 chars
5. Confirms what was saved

## Integration

Notepad content is automatically loaded on session start:
- Priority Context: ALWAYS loaded
- Working Memory: Loaded if recent entries exist

This helps survive conversation compaction without losing critical context.

