LinkedIn 收件箱管理器:自动化社交与消息管理 - Openclaw Skills

作者:互联网

2026-03-23

AI教程

什么是 LinkedIn 收件箱管理器?

LinkedIn 收件箱管理器是为开发者和高级用户设计的专业技能,旨在不牺牲真实性的前提下简化职业社交。通过使用 Peekaboo 进行 UI 自动化,该工具直接在浏览器内运行,规避了传统 API 的限制和频率限制风险。它允许您的 AI 智能体观察收件箱、理解上下文,并准备听起来完全像您的回复。

该集成基于 Openclaw Skills 构建,专注于安全和用户控制。在未获得明确确认前,它绝不会发送消息,确保每次互动都保持专业且准确。该技能在您专注于深度工作时,能够非常有效地处理大量的招聘咨询、社交请求和常规消息。

下载入口:https://github.com/openclaw/skills/tree/main/skills/dylanbaker24/linkedin-inbox

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install linkedin-inbox

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 linkedin-inbox。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

LinkedIn 收件箱管理器 应用场景

  • 为高流量 LinkedIn 收件箱自动进行初步筛选和草稿撰写。
  • 通过早晨推送,自动生成所有社交活动的每日晨报摘要。
  • 利用本地文档中的风格匹配,保持一致的专业语调。
  • 在非工作时间或旅行期间管理收件箱响应,无需人工干预。
LinkedIn 收件箱管理器 工作原理
  1. 智能体触发定时扫描,使用 Peekaboo 启动 Google Chrome 并导航至 LinkedIn 消息选项卡。
  2. 捕获并标注收件箱截图,以识别未读消息、发件人头衔和对话上下文。
  3. 智能体处理对话历史,并交叉参考 USER.md 中定义的沟通档案。
  4. 生成回复草稿并发送至您首选的通知频道(如 Discord)供审核。
  5. 一旦您提供批准指令,智能体将执行最终的 UI 自动化步骤来输入并发送消息。

LinkedIn 收件箱管理器 配置指南

首先,确保您的 macOS 系统中安装了所需的 CLI 工具:

# 通过 Homebrew 安装 Peekaboo
brew install steipete/tap/peekaboo

# 授予必要的 macOS 权限
peekaboo permissions

接下来,通过创建 linkedin-inbox-config.json 文件来配置您的工作区,定义活跃时间和通知目标。在使用 Openclaw Skills 开始监控流程之前,请确保您已在 Google Chrome 中登录 LinkedIn。

LinkedIn 收件箱管理器 数据架构与分类体系

该技能通过以下文件结构和配置架构组织其运行:

组件 描述
linkedin-inbox-config.json 定义扫描间隔、时区感知活跃时间以及回复模板。
USER.md 包含用于镜像您的正式程度、词汇量和问候模式的风格档案。
daily_memory.log 所有已识别消息、草稿状态和发送确认的持久化日志。
scripts/ 包含用于收件箱导航和消息投递的 Shell 脚本。
name: linkedin-inbox
description: LinkedIn inbox management with scheduled scanning, auto-draft responses following user's communication style, and approval workflows. Use when monitoring LinkedIn messages, drafting replies, managing inbox during off-hours, or setting up morning ping summaries of LinkedIn activity.

LinkedIn Inbox Manager

Automated LinkedIn inbox monitoring with human-in-the-loop approval for responses. Uses Peekaboo for UI automation (no API rate limits, works with any LinkedIn account).

Requirements

  • macOS with Peekaboo CLI installed (brew install steipete/tap/peekaboo)
  • Screen Recording + Accessibility permissions granted
  • LinkedIn logged in via browser (Chrome recommended)
  • Clawdbot with browser capability

Quick Start

1. One-time Setup

# Grant Peekaboo permissions
peekaboo permissions

# Verify LinkedIn is accessible
peekaboo app launch "Google Chrome"
peekaboo see --app "Google Chrome" --annotate --path /tmp/linkedin-check.png

2. Configure User Style

Create linkedin-inbox-config.json in your workspace:

{
  "scan": {
    "intervalMinutes": 60,
    "activeHours": { "start": 9, "end": 18, "timezone": "America/Los_Angeles" },
    "skipWeekends": true
  },
  "drafting": {
    "styleProfile": "USER.md",
    "templates": {
      "decline": "Thanks for reaching out. Not a fit for us right now, but best of luck.",
      "interested": "This looks interesting. Happy to chat more. What's your availability?",
      "referral": "I might know someone. Let me check and get back to you."
    }
  },
  "notifications": {
    "channel": "discord",
    "target": "#linkedin"
  }
}

3. Start Monitoring

Tell your agent: "Start LinkedIn inbox monitoring" or add to HEARTBEAT.md:

- Check LinkedIn inbox if last scan >1 hour ago

Core Workflow

Scan Inbox

# Navigate to LinkedIn messaging
peekaboo app launch "Google Chrome"
peekaboo menu click --app "Google Chrome" --item "New Tab"
peekaboo type "https://www.linkedin.com/messaging/" --return
sleep 3

# Capture inbox state
peekaboo see --app "Google Chrome" --window-title "Messaging" --annotate --path /tmp/linkedin-inbox.png

The agent reads the annotated screenshot to identify:

  • Unread messages (bold names, blue dots)
  • Message previews
  • Sender names and titles

Draft Responses

For each unread message:

  1. Agent reads the conversation
  2. Classifies intent (pitch, networking, job inquiry, spam)
  3. Drafts response matching user's communication style
  4. Posts draft to notification channel for approval

Example notification:

?? LinkedIn: New message from **Alex M.** (Founder @ SomeCompany)

Preview: "Hi, I noticed you're growing and wondered if..."

**My read:** Services pitch. Doesn't fit current needs.

**Draft reply:**
> Thanks for reaching out. We're set on that side for now, but I'll keep you in mind if that changes.

React ? to send, ? to skip, or reply with edits.

Send Approved Messages

On approval:

# Click into conversation
peekaboo click --on [message-element-id] --app "Google Chrome"
sleep 1

# Type response
peekaboo type "Your approved message here" --app "Google Chrome"

# Send (Enter or click Send button)
peekaboo press return --app "Google Chrome"

Communication Style Matching

The skill reads USER.md (or configured style file) to match the user's tone:

Extract these signals:

  • Formality level (casual vs professional)
  • Typical greeting style
  • Sign-off patterns
  • Sentence length preference
  • Banned words/phrases
  • Response length norms

Apply to drafts:

  • Mirror detected patterns
  • Use user's vocabulary
  • Match their directness level
  • Respect their guardrails (no "excited", no hype, etc.)

See references/style-extraction.md for detailed guidance.

Morning Ping Integration

Add LinkedIn summary to your morning ping:

?? The Morning Ping — Monday, Jan 27

**LinkedIn:**
? ?? Sarah Chen replied — "That sounds great, let's do Thursday" → Draft ready
? ?? Mike R. replied — "Not interested right now" → No action needed
? ?? 3 new connection requests (2 sales pitches, 1 relevant)
? ?? 1 unread message from Alex (job inquiry) → Draft ready

Reply "send sarah" to approve, "skip mike" to archive.

Approval Commands

Users can respond with:

  • send [name] - Send the drafted reply
  • send all - Send all pending drafts
  • skip [name] - Archive without replying
  • edit [name]: [new message] - Replace draft and send
  • show [name] - Show full conversation

Scheduled Scanning

{
  "schedule": "0 */2 9-18 * * 1-5",
  "text": "Scan LinkedIn inbox and post any new messages to #linkedin with draft replies"
}

Via Heartbeat

In HEARTBEAT.md:

- If 9am-6pm PT and last LinkedIn scan >60min: scan inbox, draft replies, post to #linkedin

Safety Rules

  1. Never send without explicit approval - Always wait for user confirmation
  2. Rate limit actions - Max 20 LinkedIn actions per hour
  3. Respect quiet hours - Don't scan outside configured activeHours
  4. Log everything - Record all actions in daily memory file
  5. Preserve originals - Never delete messages, only archive

Troubleshooting

"Can't find messaging UI"

  • Ensure Chrome is open with LinkedIn logged in
  • Check window title matches (may vary by language)
  • Use peekaboo list windows --app "Google Chrome" --json to debug

"Session expired"

  • LinkedIn sessions expire periodically
  • Re-authenticate manually in browser
  • Skill will detect login page and notify user

"Peekaboo permissions denied"

peekaboo permissions  # Check status
# Grant via System Preferences > Privacy & Security > Screen Recording + Accessibility

Files

  • scripts/scan_inbox.sh - Peekaboo commands for inbox capture
  • scripts/send_message.sh - Peekaboo commands for sending
  • references/style-extraction.md - Guide for communication style matching