Back to Skills

note

verified

Save notes to notepad.md for compaction resilience

View on GitHub

Marketplace

omc

Yeachan-Heo/oh-my-claudecode

Plugin

oh-my-claudecode

productivity

Repository

Yeachan-Heo/oh-my-claudecode
2.6kstars

skills/note/SKILL.md

Last Verified

January 24, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/note/SKILL.md -a claude-code --skill note

Installation paths:

Claude
.claude/skills/note/
Powered by add-skill CLI

Instructions

# 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.

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1887 chars