Install
openclaw skills install context-switcherSwitches OpenClaw between life modes (Work/Focus, Personal, Creative, Do Not Disturb). Triggered by natural language or calendar events. Each mode reshapes n...
openclaw skills install context-switcherA skill that shifts your entire OpenClaw experience based on the mode of life you're in. Not just a label — each mode reshapes priorities, filters notifications, loads the right memory, and auto-restores when the session ends.
| Endpoint | Purpose | Data Sent |
|---|---|---|
| None | This skill is fully local | Nothing leaves your machine |
This skill does not call any external APIs. All state is stored locally in ~/.openclaw/skills/context-switcher/.
current-context.json on your local filesystem.Trust Statement: This skill operates entirely on your local machine. No data is transmitted to any external service. Install with confidence.
This skill may be invoked autonomously by OpenClaw when a trigger phrase is detected in your messages, or when a calendar event title matches a known mode keyword. You can disable auto-invocation at any time by saying "turn off context-switcher auto-trigger".
Trigger phrases: "work mode", "focus mode", "I need to focus", "starting deep work", "heads down", "switch to work"
Behavior:
modes/work.mdAuto-trigger from calendar: event titles containing "standup", "sprint", "review", "interview", "deadline", "sync", "planning"
Trigger phrases: "personal mode", "personal time", "I'm off the clock", "home mode", "family time", "done for the day"
Behavior:
modes/personal.mdAuto-trigger from calendar: event titles containing "gym", "dinner", "family", "personal", "vacation", "appointment", "errand"
Trigger phrases: "creative mode", "creative session", "I'm creating", "brainstorm mode", "ideation time", "let's build"
Behavior:
modes/creative.md: active projects, saved ideas, referencesAuto-trigger from calendar: event titles containing "writing", "design", "recording", "art", "brainstorm", "creative", "draft"
Trigger phrases: "DND", "do not disturb", "going dark", "don't bother me", "full silence", "leave me alone"
Behavior:
snapshots/dnd-log.json for review on exitAuto-trigger from calendar: event titles containing "blocked", "deep work", "no meetings", "offline", "focus block", "DND"
When a context switch is detected (via phrase or calendar):
snapshots/pre-switch-state.jsonmodes/*.md, apply notification rules, set response styleShort and mode-appropriate:
When a session ends (timer fires or calendar event ends):
"Switch to focus mode for 2 hours"
→ Mutes notifications, surfaces work tasks, sets 2hr restore timer
"Creative mode — working on my novel"
→ Loads creative memory, silences everything, responds expansively
"DND until my next meeting"
→ Reads calendar, sets restore to next event start, full silence
"Personal time, I'm done for the day"
→ Pauses work channels, surfaces evening personal tasks
"What mode am I in?"
→ Reports current mode, time active, scheduled restore
"Exit focus mode early"
→ Restores previous state, delivers catch-up summary
context-switcher/
├── SKILL.md ← You are here
├── README.md ← Install guide
├── current-context.json ← Live mode state tracker
├── modes/
│ ├── work.md ← Customize your work profile
│ ├── personal.md ← Customize your personal profile
│ └── creative.md ← Customize your creative profile
├── scripts/
│ ├── switch.sh ← Core switching logic
│ ├── restore.sh ← Auto-restore handler
│ └── summarize.sh ← Catch-up summary generator
└── snapshots/
├── pre-switch-state.json ← State saved before each switch
└── dnd-log.json ← Messages logged during DND
On first run, OpenClaw will prompt you to:
modes/*.md — add your actual projects, priorities, and peopleYou can re-run setup at any time by saying: "reconfigure context-switcher".