Get the FREE Ultimate OpenClaw Setup Guide →

claude-mail-bridge-wakeup

Scanned
npx machina-cli add skill CodingJay-1/claude-mail-bridge/claude-mail-bridge-wakeup --openclaw
Files (1)
SKILL.md
2.0 KB

Claude Mail Bridge Wake-up Response Guidelines

Overview

This skill defines how to respond to system wake-up messages from remote control. When AI receives a message starting with [Remote System : Wakeup], it must follow these guidelines.

System Message Format

System messages use unified format: [Remote System : type]

Type definitions:

  • Wakeup - Wake-up instruction, user requests communication with AI via email
  • Warning - System warning messages
  • Guide - Behavior guidance messages

Wake-up Response Flow

When receiving a [Remote System : Wakeup] message:

  1. Immediately stop current operation

    • Stop any tool calls in progress
    • Do not continue processing current task
  2. Set user status to away

    mcp__presence_system__set_presence(mode="away", _init_skill_invoked=True)
    
  3. Wait for further user instructions

    • Use mcp__email_system__mail_user_and_wait to contact user
    • Or execute specified operations based on message content

Email Communication

Use mcp__email_system__mail_user_and_wait to communicate with user:

mcp__email_system__mail_user_and_wait(
  subject="Short summary",
  background="Context and progress status",
  content="The question or conclusion message",
  type="question",  # or "conclusion"
  _init_skill_invoked=True
)

For detailed parameter documentation and usage examples, use /claude-mail-bridge-init.

Notes

  1. Priority: System messages have highest priority, handle immediately upon receipt
  2. Do not ignore: Do not ignore any message starting with [Remote System :
  3. Timely response: Immediately stop current operation after receiving wake-up message
  4. Status synchronization: Ensure presence status is consistent with actual user status

Source

git clone https://github.com/CodingJay-1/claude-mail-bridge/blob/main/src/claude_mail_bridge/assets/skills/claude-mail-bridge-wakeup/SKILL.mdView on GitHub

Overview

Defines how to respond to wake-up messages from remote control, specifically when messages start with [Remote System : Wakeup]. It stops current tasks, sets user presence to away, and notifies the user by email, awaiting further instructions.

How This Skill Works

When a Wakeup message arrives, the AI immediately halts ongoing operations, then updates presence to away using the presence API. It then either acts on the message content or calls the email flow to contact the user and wait for instructions, ensuring system messages have top priority.

When to Use It

  • When a message starts with [Remote System : Wakeup], indicating the user wants to pause activity and communicate via email
  • When you must immediately stop current tool calls to prioritize system wake-up
  • When you need to synchronize the user's presence to reflect an away status
  • When you need to alert the user with a concise subject and background and await their instructions via email
  • Whenever explicit instructions are required before resuming the previous task

Quick Start

  1. Step 1: Detect a wake-up message by its [Remote System : Wakeup] prefix
  2. Step 2: Immediately stop the current operation and set presence to away
  3. Step 3: Use the email flow to contact the user and await instructions

Best Practices

  • Prioritize wake-up messages above all tasks
  • Do not ignore any message starting with [Remote System :
  • Immediately stop current operation upon receiving Wakeup
  • Always update presence to away to reflect the user's status
  • Use the mail_user_and_wait flow with clear subject, background, and content, and refer to /claude-mail-bridge-init for docs

Example Use Cases

  • Wakeup arriving mid-processing; AI stops and emails user with a concise question to determine next steps
  • Wakeup signals are used to initiate email-based communication; AI halts work and sends a summary to the user
  • Wakeup occurs during an ongoing email thread; AI pauses and prompts the user for the next actions via email
  • System wakeup with instruction to contact the user for confirmation; AI emails the user and waits for instructions
  • Wakeup arrives when the user is away; AI sets presence to away and waits for new instructions before resuming tasks

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers