一键导入
focus
Named focus profiles — turn work/sleep/personal focus on, turn it off, check status. Mock backend. Pure execution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Named focus profiles — turn work/sleep/personal focus on, turn it off, check status. Mock backend. Pure execution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Application control — open/launch, close/quit, and switch-to a running app by name. Mock backend. Pure execution.
Drive the user's real browser (Chromium/Brave/Chrome) — open url, web search, read page text, click, type, screenshot, list/switch tabs. Real backend = Playwright connect_over_cdp (attaches to your existing browser); mock for the binding benchmark. Pure execution (slot-filled, no LLM).
Telephony actions — dial a contact/number, redial, hang up, answer. Mock backend (no real telephony). Pure execution.
Unified time control — countdown timers, absolute-time alarms (with optional repeat), and current/world time. The one skill that ACTUALLY fires (systemd-run --user) when ALFRED_CLOCK_REAL=1; mock for the binding benchmark. Pure execution.
Connectivity + UI toggles — wifi, bluetooth, airplane mode, do-not-disturb, dark mode, each on/off. Mock backend. Pure execution.
Manage Docker containers — start/stop/restart, remove, show logs, list running containers. Pure execution, no communication. Mock backend (binding-only) for the thesis benchmark.
| name | focus |
| description | Named focus profiles — turn work/sleep/personal focus on, turn it off, check status. Mock backend. Pure execution. |
Named focus/concentration profiles. Canonical reflexer case.
Mock / binding-only. Echoes JSON. A real backend would drive the desktop do-not-disturb + notification policy per named profile.
CLI: python3 agents/skills/focus/focus.py <command> (aliased focus).
focus on --mode <work|sleep|personal>
focus off
focus status
One JSON line: {"ok":bool,"data":{...},"error":null|{...},"meta":{"mock":true}}. Exit 0/2.
focus on/off overlaps device_settings dnd. The discriminator: focus on --mode is a
named profile; settings dnd --state on|off is the raw do-not-disturb toggle. A
cross-skill routing test where both are semantically "do not disturb me."