跳到正文
TakoAPI
返回技能列表

context-switcher

由 taha2053 提供

Coding Agents & IDEs
360下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

    Identifies 'focus mode' as the Work/Focus trigger phrase

  2. 2

    Saves current memory state to pre-switch-state.json

  3. 3

    Loads work profile from modes/work.md and applies notification mute rules

  4. 4

    Sets a 2-hour auto-restore timer

  5. 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 或你在用的任意编程智能体里。

链接