Agent skill
note
Save notes to notepad.md for compaction resilience
Install this agent skill to your Project
npx add-skill https://github.com/Yeachan-Heo/oh-my-codex/tree/main/skills/note
SKILL.md
Note Skill
Save important context to .omx/notepad.md that survives conversation compaction.
Usage
| Command | Action |
|---|---|
/note <content> |
Add to Working Memory with timestamp |
/note --priority <content> |
Add to Priority Context (always loaded) |
/note --manual <content> |
Add to MANUAL section (never pruned) |
/note --show |
Display current notepad contents |
/note --prune |
Remove entries older than 7 days |
/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
/note Found auth bug in UserContext - missing useEffect dependency
/note --priority Project uses TypeScript strict mode, all files in src/
/note --manual Contact: [email protected] for backend questions
/note --show
/note --prune
Behavior
- Creates
.omx/notepad.mdif it doesn't exist - Parses the argument to determine section
- Appends content with timestamp (for Working Memory)
- Warns if Priority Context exceeds 500 chars
- 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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
configure-notifications
Configure OMX notifications - unified entry point for all platforms
ultraqa
QA cycling workflow - test, verify, fix, repeat until goal met
build-fix
Fix build and TypeScript errors with minimal changes
ask-claude
Ask Claude via local CLI and capture a reusable artifact
tdd
Test-Driven Development enforcement skill - write tests first, always
analyze
Run deep investigation of architecture, bugs, performance issues, or dependencies and return structured findings with file:line evidence. Use when a user says 'analyze', 'investigate', 'why does', 'what's causing', or needs root cause analysis before making changes. Routes to architect agent or Codex MCP for thorough cross-file reasoning.
Didn't find tool you were looking for?