首页/ AI 技能 / @skilllib/skill-2117939930272416390
Skill站外收录 @skilllib/skill-2117939930272416390

note

提供跨会话持久化笔记能力,支持按优先级分层存储关键信息:高优先级内容始终加载以保障上下文连续性,工作记忆自动清理过期条目,手动区内容永久保留且不受压缩影响。

0.0 (0) 16 次安装 原作者 编程导航
收录于 2026-01-22
效率工具 AI 技能

Skills.MD

# Note Skill Save important context to `.omc/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: api-team@company.com for backend questions /note --show /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.

评论 0

还没有评论,来抢沙发。