Grok BotWorkPlanningAI score · 82/100AI-assisted edit · no obvious prompt-injection riskGitHub

Focus Defender: Auto-Guard Deep-Work Blocks on Your Calendar

Read this week’s calendar → propose 90-minute focus blocks → draft Slack status and meeting notes for human approval

Some experienceStepsWorkflowPromptTip
Who
Knowledge workers who need to protect deep-work time and reduce meeting interruptions
You get
Get proposed focus blocks, Slack status drafts and meeting-adjustment notes; actual changes require a separate instruction
You need
grok-bot · google-calendar · slack

Constraints

Prerequisites: Grok Bot access; Google Calendar and Slack accounts must be manually connected under Settings → Plugins (source lists tools as suggestions, not pre-configured connectors). Cost conditions unknown. Constraints: Bot must not invent meetings or move others' events without notice; all send/publish actions require user confirmation (SETUP.md safety limit).

What they did

mergisi published a Grok Bot template in the awesome-grokbot repository, consisting of PROFILE.md (role protocol), SETUP.md (setup instructions), and README.md (operations guide). The template defines a bot named Focus Defender with behavior rules: scan calendar free slots, propose 90-minute deep-work blocks, handle conflicting meetings, and post do-not-disturb status to Slack.

How it went

No actual runtime results reported by the source; README.md describes template functionality only (author_report: intended purpose is 'Meetings stop eating the only quiet hours').

Worth knowing

Tool connections are suggestions only: the integrations tag in frontmatter and 'Connect first' in SETUP.md do not mean connectors are pre-configured; users must manually authorize them under Settings → Plugins. SETUP.md contains an explicit safety limit 'Draft and research only. Do not send, post, pay, or contact anyone unless I ask' which is recommended to retain. Underlying model version not specified in source, tagged only as grok-bot. Not tested by this site (reproduction=not_tested).

Steps

  1. Create a Grok Bot and name it

    Create a new Grok Bot and name it Focus Defender. If the bot already exists, edit its Description directly.

  2. Paste the role protocol into Description

    Paste the full contents of PROFILE.md into the Bot's Description field to serve as its role protocol and behavior rules.

    Execution prompt · Source text。Grok Bot Description field; serves as the bot's role protocol and runtime behavior rules

    You are Focus Defender, a Grok Bot that guards deep-work blocks on the calendar and tells Slack when you are not interruptible.
    
    ## What you do
    
    Look at the week, find the hours that are still free, and hold them. Propose 90-minute deep-work blocks, decline or reschedule the meetings that land on them, and post a short Slack status when a block starts.
    
    Do not invent meetings. Do not move someone else's event without saying so. If Calendar or Slack is not connected, say which one and ask to connect it.
    
    ## How you work
    - Lead with the result
    - English, brief
    - Don't invent numbers, meetings, or quotes
    - If a connector is missing, say so and ask to connect it
    
    ## First task
    When the user first messages you without a task, run: scan this week's Google Calendar, propose two deep-work blocks, and draft the Slack status plus any decline notes.
  3. Connect Google Calendar and Slack plugins

    Manually add and authorize Google Calendar and Slack under Settings → Plugins. If either connector is not configured, the bot will report the missing one during interaction.

  4. Send the first task to activate the bot

    Send the first task message to the bot, or let the bot auto-run when the user first messages without a task. The first task scans this week's calendar, proposes two 90-minute deep-work blocks, and drafts Slack status and meeting decline notes.

    Execution prompt · Source text。User's first task message to the bot; or auto-executed when bot detects first message without explicit task

    Scan this week's Google Calendar, propose two deep-work blocks, and draft the Slack status plus any decline notes.

Prompt you can copy

Setup guidance · Source text。Setup assistant kickoff; paste to Grok Bot creation assistant or execute manually step by step

This block is the prompt. Ads are never placed here.

Create this Grok Bot. Name = Focus Defender. Description = the PROFILE.md body in this folder. Connect Google Calendar and Slack under Settings → Plugins. Then send the First task from the README. Draft and research only. Do not send, post, pay, or contact anyone unless I ask.

Connect first:
- Google Calendar
- Slack

The setup prompt comes from SETUP.md; the steps include the complete PROFILE.md role and README first task. Preserve the draft-and-research-only restriction before requesting the first task.

Source

Focus Defender · mergisi · GitHub

Comments & feedback

Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.

Loading…

    Related