note
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNote Skill
笔记Skill
Save important context to that survives conversation compaction.
.omc/notepad.md将重要上下文保存至,确保会话压缩后信息不会丢失。
.omc/notepad.mdUsage
使用方法
| Command | Action |
|---|---|
| Add to Working Memory with timestamp |
| Add to Priority Context (always loaded) |
| Add to MANUAL section (never pruned) |
| Display current notepad contents |
| Remove entries older than 7 days |
| Clear Working Memory (keep Priority + MANUAL) |
| 命令 | 操作 |
|---|---|
| 添加带时间戳的内容至工作内存 |
| 添加至优先级上下文(始终加载) |
| 添加至MANUAL章节(永不自动清理) |
| 显示当前记事本内容 |
| 删除7天前的条目 |
| 清空工作内存(保留优先级和MANUAL内容) |
Sections
章节说明
Priority Context (500 char limit)
优先级上下文(500字符限制)
- 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
- 始终在会话启动时加载
- 用于记录关键信息:例如“项目使用pnpm”、“API位于src/api/client.ts”
- 务必简短——这会占用你的上下文额度
Working Memory
工作内存
- Timestamped session notes
- Auto-pruned after 7 days
- Good for: debugging breadcrumbs, temporary findings
- 带时间戳的会话笔记
- 7天后自动清理
- 适用于:调试记录、临时发现
MANUAL
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/oh-my-claudecode:note 发现UserContext中的认证bug - 缺少useEffect依赖项
/oh-my-claudecode:note --priority 项目使用TypeScript严格模式,所有文件位于src/
/oh-my-claudecode:note --manual 联系方式:api-team@company.com(后端问题咨询)
/oh-my-claudecode:note --show
/oh-my-claudecode:note --pruneBehavior
功能特性
- Creates if it doesn't exist
.omc/notepad.md - Parses the argument to determine section
- Appends content with timestamp (for Working Memory)
- Warns if Priority Context exceeds 500 chars
- Confirms what was saved
- 若不存在则自动创建
.omc/notepad.md - 解析参数以确定目标章节
- 为工作内存内容添加时间戳后追加
- 当优先级上下文超过500字符时发出警告
- 确认已保存的内容
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.
记事本内容会在会话启动时自动加载:
- 优先级上下文:始终加载
- 工作内存:若存在近期条目则加载
这有助于在会话压缩后仍能保留关键上下文信息。