Token导航 LogoToken导航

Agent Skill · 效率

context-switcher(上下文切换器)

context-switcher 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

context-switcher 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为调用外部服务;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 3,336。

总安装 17,949周安装 771GitHub Stars 公开资料未说明下载 6,291核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:context-switcher(上下文切换器)
来源仓库:https://github.com/taha2053/context-switcher
安装命令:
openclaw skills install context-switcher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install context-switcher

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

context-switcher 在生活模式间切换 OpenClaw,由自然语言或日历事件触发。支持工作/专注、个人、创意、请勿打扰等多种情境配置。每种模式重塑上下文偏好与响应策略,提升场景适配性。安装前需绑定日历服务权限,确保触发机制准确可靠。适用于多角色用户或混合工作负载下的智能代理调度需求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install context-switcher;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

context-switcher 怎么安装?

在终端执行 openclaw skills install context-switcher。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

context-switcher 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

context-switcher 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

context-switcher 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

context-switcher 用的人多吗?

公开数据是累计安装 17,949 次,近一周安装 771 次,下载 6,291 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

context-switcher 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
context-switcher

上下文切换器 · 本页

17,949—调用外部服务MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
context-switcher
version
1.0.0
description
Switches OpenClaw between life modes (Work/Focus, Personal, Creative, Do Not Disturb). Triggered by natural language or calendar events. Each mode reshapes notification filtering, memory surface, response style, and auto-restores when the session ends.
homepage
https://github.com/Taha2053/context-switcher
metadata
clawdbot
emoji
🎯
requires
env
[]
files

Context Switcher

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


External Endpoints

EndpointPurposeData Sent
NoneThis skill is fully localNothing leaves your machine

This skill does not call any external APIs. All state is stored locally in ~/.openclaw/skills/context-switcher/.


Security & Privacy

  • No external calls. Zero data is sent outside your machine.
  • No credentials required. No API keys, tokens, or env vars needed.
  • Local state only. Mode state is written to current-context.json on your local filesystem.
  • Notification control relies on OpenClaw's built-in notification layer — no third-party access.
  • Calendar reading uses OpenClaw's existing calendar integration if connected — this skill does not add new calendar permissions.
Trust Statement: This skill operates entirely on your local machine. No data is transmitted to any external service. Install with confidence.

Model Invocation Note

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


Modes

🧠 Work / Focus

Trigger phrases: "work mode", "focus mode", "I need to focus", "starting deep work", "heads down", "switch to work"

Behavior:

  • Mute all non-urgent notifications (personal messages, social, news)
  • Surface today's work tasks, open threads, and meeting schedule from modes/work.md
  • Load work memory: current projects, deadlines, blockers, team context
  • Respond concisely — task-oriented, no small talk, bullet points are fine
  • Proactively flag time conflicts or approaching deadlines if detected
  • Set auto-restore timer to next calendar event end time, or user-specified duration

Auto-trigger from calendar: event titles containing "standup", "sprint", "review", "interview", "deadline", "sync", "planning"


🏠 Personal

Trigger phrases: "personal mode", "personal time", "I'm off the clock", "home mode", "family time", "done for the day"

Behavior:

  • Mute work-related notifications (work Slack, GitHub, work email)
  • Surface personal tasks: errands, upcoming events, health goals from modes/personal.md
  • Load personal memory: household tasks, personal goals, important people
  • Respond warmly and conversationally — no corporate tone
  • Do not proactively surface work items unless explicitly asked

Auto-trigger from calendar: event titles containing "gym", "dinner", "family", "personal", "vacation", "appointment", "errand"


🎨 Creative

Trigger phrases: "creative mode", "creative session", "I'm creating", "brainstorm mode", "ideation time", "let's build"

Behavior:

  • Mute all notifications — zero interruptions
  • Surface creative context from modes/creative.md: active projects, saved ideas, references
  • Load creative memory: current projects, style notes, open creative loops
  • Respond expansively — "yes, and..." style, encourage tangents and exploration
  • Never filter or critique ideas unless explicitly asked
  • Offer unexpected connections and lateral thinking prompts

Auto-trigger from calendar: event titles containing "writing", "design", "recording", "art", "brainstorm", "creative", "draft"


🔕 Do Not Disturb

Trigger phrases: "DND", "do not disturb", "going dark", "don't bother me", "full silence", "leave me alone"

Behavior:

  • Mute ALL notifications without exception
  • Do not proactively surface anything
  • Only respond if directly addressed by name or keyword
  • Log all incoming messages and tasks silently to snapshots/dnd-log.json for review on exit
  • No auto-restore unless user sets an explicit timer

Auto-trigger from calendar: event titles containing "blocked", "deep work", "no meetings", "offline", "focus block", "DND"


Switching Logic

When a context switch is detected (via phrase or calendar):

  1. Identify target mode from trigger phrase or calendar event title
  2. Save current state — snapshot active memory focus to snapshots/pre-switch-state.json
  3. Apply mode profile — load the correct modes/*.md, apply notification rules, set response style
  4. Confirm switch with a brief, mode-appropriate message (see Confirmation Messages below)
  5. Set auto-restore — use calendar event end time, or ask user for duration if unclear
  6. On restore — un-mute, reload previous state, deliver catch-up summary

Confirmation Messages

Short and mode-appropriate:

  • Work/Focus: "Focus mode on. Notifications muted. Here's what needs your attention: [task summary]. I'll restore at [time]."
  • Personal: "Personal mode on. Work notifications paused. Here's your afternoon: [personal summary]."
  • Creative: "Creative mode. Silence on. Let's build something. What are we working on?"
  • DND: "DND on. I'll log everything. See you on the other side."

Auto-Restore

When a session ends (timer fires or calendar event ends):

  1. Un-mute notifications and restore previous memory context
  2. Deliver a brief "while you were away" summary — messages received, tasks that came in, anything time-sensitive
  3. Ask if user wants to stay in current mode or switch back

Example Interactions

"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

File Structure

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

Setup

On first run, OpenClaw will prompt you to:

  1. Customize each mode profile in modes/*.md — add your actual projects, priorities, and people
  2. Set default durations per mode (fallback if no calendar event found)
  3. Optionally connect your calendar for auto-trigger support

You can re-run setup at any time by saying: "reconfigure context-switcher".

平台分布

OpenClaw

91.86%
按下载量换算5,779

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills