Safe Facebook Messenger for Openclaw

A high-security browser automation skill for managing Facebook Messenger communications with strict verification and risk-screening protocols.

tschonleber
v1.0.2
Mar 23, 2026
0
754
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install safe-facebook-messenger

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install safe-facebook-messenger using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Safe Facebook Messenger?

The Safe Facebook Messenger skill provides a robust framework for operating Facebook Messenger through a live, signed-in Chrome session. By leveraging Chrome DevTools MCP, this skill implements a safety-first approach to automated messaging, ensuring that an AI agent never sends a message to the wrong recipient or thread. It is specifically designed to handle the nuances of the Messenger UI, from group chat disambiguation to composer ownership checks.

This Openclaw Skills integration focuses on preventing common browser-driven failures by enforcing a 'verify-before-acting' workflow. It acts as a protective layer, screening content for social risk and ensuring that the agent's tone matches the user's historical style, making it an essential tool for maintaining professional and personal communication integrity.

Safe Facebook Messenger Use Cases

  • Sending verified direct messages in active 1:1 threads.
  • Reacquiring specific conversation threads through secure search when the UI state is ambiguous.
  • Drafting sensitive replies for human review before sending.
  • Managing group chat communications with participant-based identity verification.
  • Safely unsending or cleaning up accidental drafts using exact content matching.

How Safe Facebook Messenger Works

  1. Target Evidence Collection: The skill gathers UI signals including conversation headers, URLs, and thread history to identify the correct recipient.
  2. Targeting Mode Selection: It chooses between direct thread interaction or search-based reacquisition based on the reliability of the current UI state.
  3. Active Conversation Verification: Before any interaction, it confirms the active header and composer placeholder match the intended target.
  4. Composer Interaction & Re-verification: After clicking the composer, a fresh snapshot is taken to ensure the focus hasn't shifted.
  5. Social-Risk Screening: The message content is classified as 'auto-send' or 'draft-first' based on complexity and stakes.
  6. Post-Send Validation: After the send action, the skill verifies that the outbound message bubble is visible in the correct thread.

Safe Facebook Messenger Setup

To use this skill, ensure your local environment meets these requirements:

  1. Open Chrome and sign in to the Messenger account you wish to use.
  2. Enable remote debugging in Chrome to allow Chrome DevTools MCP connectivity.
  3. Ensure your Openclaw Skills runtime is configured to access the live browser session.
# Example: Launching Chrome with remote debugging enabled
google-chrome --remote-debugging-port=9222

Safe Facebook Messenger Data Schema & Taxonomy

The skill organizes its operations by inspecting and validating specific Messenger UI elements. It does not maintain an external database but relies on real-time DOM snapshots.

Element Type Data Collected Purpose
Thread Info URL, ID, Header Title Identity Verification
History Recent Message Snippets Context & Tone Matching
Composer Placeholder Text, Focus State Input Safety
Search Result List, Participant Data Thread Reacquisition

Safe Facebook Messenger Advanced Features

  • Social-Risk Screening: Automatically flags messages involving financial commitments, legal issues, or high-sensitivity topics for manual drafting.
  • Tone and Identity Matching: Analyzes recent thread history to adapt message length, emoji usage, and formality to match the user's style.
  • Search-Based Reacquisition: A secondary fail-safe workflow to find and verify threads when the main thread list is reordered or contaminated.
  • Human Interference Detection: Automatically halts operations and triggers re-verification if a human user interacts with the browser mid-run.
  • Cleanup Mode: Specialized sequence for safely unsending or clearing mistaken drafts based on exact content matches.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*