context-switcher
由 taha2053 提供
Coding Agents & IDEs简介
Switches OpenClaw between life modes (Work/Focus, Personal, Creative, Do Not Disturb)
描述
该技能的功能
Switches OpenClaw between four life modes: Work/Focus, Personal, Creative, and Do Not Disturb. Each mode adjusts notification filtering, loads the relevant memory context, and changes the AI response style. Modes activate via natural language phrases or calendar event titles, and auto-restore when the session ends.
Unlike a simple do-not-disturb toggle, it also shifts the AI memory focus and response style to match the current context, so the assistant behaves differently in work mode versus personal time.
何时使用
- Blocking distractions before a deep work session
- Pausing work notifications when clocking off for the evening
- Entering creative mode for a writing or design session
- Enabling full silence during a blocked calendar period
- Getting a catch-up summary of missed messages after DND ends
示例工作流
User asks: Switch to focus mode for 2 hours
- 1
Identifies 'focus mode' as the Work/Focus trigger phrase
- 2
Saves current memory state to pre-switch-state.json
- 3
Loads work profile from modes/work.md and applies notification mute rules
- 4
Sets a 2-hour auto-restore timer
- 5
Confirms the switch with a task summary and restore time
Focus mode on. Notifications muted. Here's what needs your attention: [task summary]. I'll restore at [time].
安装
clawhub install taha2053/context-switcher运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。