larkcowork/lark-cowork-plugins/focus-mode
Claude Code and agent skill by larkcowork/lark-cowork-plugins
- community
Checking that the SKILL.md file is still in the repository.
Block calendar time + IM DND + notify team. Triggers "focus mode", "block <X> tiếng", "DND", "không làm phiền", "deep work".
Install
npx vskill@latest install larkcowork/lark-cowork-plugins/focus-modeSKILL.md
focus-mode
"Leave me alone for <N> hours." Three steps: block calendar, set IM DND, optionally post to team.
Verbs (the installed lark-* skills): calendar +create (--summary/--start/--end/--description — note: CLI has NO free-busy-status or visibility flag), im +messages-send (--chat-id/--text). Atomic shapes + token flags: connectors/LARK-RECIPES.md.
Limitation — DND not settable via CLI
im has no +set-status/+set-dnd verb. DND must be set manually in Lark IM UI (Settings → Notifications → Do Not Disturb). This skill: creates the calendar block, optionally posts to team, and suggests the user set DND manually.
Workflow
- Parse duration + start from message: "block 2 tiếng chiều nay"
→ start now+30min, 2h; "DND tới 17h" → start now, end 17:00; explicit window → use as-is. Ambiguous → ask.
- Parse topic (optional) → event title "Focus — <topic>", else
"Focus block".
- Echo confirm: calendar block window + title, optional team
post, DND reminder. Wait y/n.
- Execute (after confirm):
`` calendar +create --summary "Focus — <topic>" --start "<t>" --end "<t>" # optional: im +messages-send --chat-id <team-group> --text "🎧 Focus mode tới <end>. Urgent thì DM." ``
- Output: block created until <end> + calendar URL + team
notified/skipped + reminder to set DND in Lark UI.
Hard rules
- Confirmation gate — echo intent + wait y/n, especially the team post.
- Don't auto-decline existing meetings in the focus window — surface
conflict, let user pick decline/skip/re-block.
- DND isn't silent — IM still receives, just no notify; user should re-check.
- Don't extend silently — window ends, focus ends. Re-invoke to extend.
- Don't notify group if user is solo — check
memory/team-roster.md.
Edge cases
- Mid-meeting trigger → start = meeting end + 5min, not now.
- Across midnight → split into 2 events or multi-day.
- Weekend/off-hours (
working-hours.md) → warn "ngoài giờ làm, vẫn block?".
Memory
Optional: working-hours.md (off-hours warning), team-roster.md (which group to notify). Missing → skip optional steps.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdaily-assistant/skills/focus-mode/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/larkcowork/lark-cowork-plugins/focus-mode)