网淘吧来吧,欢迎您!

LinkedIn Inbox Manager技能使用说明

2026-04-01 新闻来源:网淘吧 围观:26
电脑广告
手机广告

LinkedIn 收件箱管理器

采用人机协同审批回复的自动化LinkedIn收件箱监控。使用Peekaboo进行UI自动化(无API速率限制,适用于任何LinkedIn账户)。

要求

  • 已安装Peekaboo CLI的macOS系统(brew install steipete/tap/peekaboo
  • 已授予屏幕录制与辅助功能权限
  • 已通过浏览器登录LinkedIn(推荐使用Chrome)
  • 具备浏览器功能的Clawdbot

快速开始

1. 一次性设置

# 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. 配置用户风格

在您的工作区创建linkedin-inbox-config.json文件:

LinkedIn Inbox Manager

{
  "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. 开始监控

告知您的代理:"开始LinkedIn收件箱监控" 或添加到HEARTBEAT.md文件中:

- Check LinkedIn inbox if last scan >1 hour ago

核心工作流程

扫描收件箱

# 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

代理读取带标注的屏幕截图以识别:

  • 未读消息(加粗姓名,蓝色圆点)
  • 消息预览
  • 发件人姓名与头衔

草拟回复

针对每条未读消息:

  1. 代理读取对话内容
  2. 分类意图(推销、社交、求职咨询、垃圾信息)
  3. 按照用户的沟通风格草拟回复
  4. 将草稿发布至通知频道等待批准

通知示例:

💼 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.

发送已批准的消息

获得批准后:

# 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"

沟通风格匹配

该技能会读取USER.md(或配置的风格文件)以匹配用户的语气:

提取以下信号:

  • 正式程度(随意 vs 专业)
  • 常用问候风格
  • 结尾落款模式
  • 句子长度偏好
  • 禁用词汇/短语
  • 响应长度规范

适用于草稿:

  • 镜像检测到的模式
  • 使用用户的词汇
  • 匹配他们的直接程度
  • 尊重他们的防护栏(不使用“兴奋的”、不夸大其词等)

详见references/style-extraction.md获取详细指导。

晨间通知集成

将LinkedIn摘要添加到您的晨间通知中:

📣 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.

批准命令

用户可以回复:

  • 发送 [姓名]- 发送已起草的回复
  • 发送全部- 发送所有待处理的草稿
  • 跳过 [姓名]- 存档而不回复
  • 编辑 [姓名]: [新消息]- 替换草稿并发送
  • 显示 [姓名]- 显示完整对话

定时扫描

通过Cron(推荐)

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

通过心跳机制

在HEARTBEAT.md文件中:

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

安全规则

  1. 未经明确批准切勿发送- 始终等待用户确认
  2. 限制操作频率- 每小时最多执行20次LinkedIn操作
  3. 遵守静默时段- 不在配置的活动时间外进行扫描
  4. 记录所有操作- 将所有操作记录到每日记忆文件中
  5. 保留原始内容- 切勿删除消息,仅进行归档

故障排除

“找不到消息界面”

  • 确保Chrome浏览器已打开并登录LinkedIn
  • 检查窗口标题是否匹配(可能因语言而异)
  • 使用peekaboo list windows --app "Google Chrome" --json进行调试

"会话已过期"

  • LinkedIn会话会定期过期
  • 请在浏览器中手动重新认证
  • 技能将检测登录页面并通知用户

"Peekaboo权限被拒绝"

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

文件

  • scripts/scan_inbox.sh- 用于收件箱捕获的Peekaboo命令
  • scripts/send_message.sh- 用于发送消息的Peekaboo命令
  • references/style-extraction.md- 沟通风格匹配指南

免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏

文章底部电脑广告
手机广告位-内容正文底部

相关文章

您是本站第412904名访客 今日有0篇新文章/评论