Linkedin Monitor

👤 dylanbaker24 📦 v1.1.0 ⭐ 4.4 ⬇️ 2.9K 下載
🤖 AI-Agent 免費

📖 技能介紹


name: linkedin-monitor description: Bulletproof LinkedIn inbox monitoring with progressive autonomy. Monitors messages hourly, drafts replies in your voice, and alerts you to new conversations. Supports 4 autonomy levels from monitor-only to full autonomous. version: 1.0.0 author: Dylan Baker / lilAgents


LinkedIn Monitor

Reliable LinkedIn inbox monitoring for Clawdbot.

Features

  • Hourly monitoring — Checks inbox every hour, 24/7
  • Deterministic state — No duplicate notifications, ever
  • Progressive autonomy — Start supervised, graduate to autonomous
  • Health checks — Alerts when auth expires or things break
  • Your voice — Drafts replies using your communication style

Quick Start

# 1. Setup (interactive)
linkedin-monitor setup

# 2. Verify health
linkedin-monitor health

# 3. Run manually (test)
linkedin-monitor check

# 4. Enable cron (hourly)
linkedin-monitor enable

Autonomy Levels

Level Name Behavior
0 Monitor Only Alerts to new messages only
1 Draft + Approve Drafts replies, waits for approval
2 Auto-Reply Simple Auto-handles acknowledgments, scheduling
3 Full Autonomous Replies as you, books meetings, networks

Default: Level 1 — Change with linkedin-monitor config autonomyLevel 2

Commands

linkedin-monitor setup      # Interactive setup wizard
linkedin-monitor health     # Check auth status
linkedin-monitor check      # Run one check cycle
linkedin-monitor enable     # Enable hourly cron
linkedin-monitor disable    # Disable cron
linkedin-monitor status     # Show current state
linkedin-monitor config     # View/edit configuration
linkedin-monitor logs       # View recent activity
linkedin-monitor reset      # Clear state (start fresh)

Configuration

Location: ~/.clawdbot/linkedin-monitor/config.json

{
  "autonomyLevel": 1,
  "alertChannel": "discord",
  "alertChannelId": "YOUR_CHANNEL_ID",
  "calendarLink": "cal.com/yourname",
  "communicationStyleFile": "USER.md",
  "timezone": "America/New_York",
  "schedule": "0 * * * *",
  "morningDigest": {
    "enabled": true,
    "hour": 9,
    "timezone": "Asia/Bangkok"
  },
  "safetyLimits": {
    "maxMessagesPerDay": 50,
    "escalationKeywords": ["angry", "legal", "refund"],
    "dailyDigest": true
  }
}

How It Works

Monitoring Flow

1. Health Check
   └── Verify LinkedIn auth (lk CLI)

2. Fetch Messages
   └── lk message list --json

3. Compare State
   └── Filter: only messages not in state file

4. For Each New Message
   ├── Level 0: Alert only
   ├── Level 1: Draft reply → Alert → Wait for approval
   ├── Level 2: Simple = auto-reply, Complex = draft
   └── Level 3: Full autonomous response

5. Update State
   └── Record message IDs (prevents duplicates)

State Management

State is managed by scripts, not the LLM. This guarantees: - No duplicate notifications - Consistent behavior across sessions - Visible state for debugging

State files: ~/.clawdbot/linkedin-monitor/state/

Sending Approved Messages

When at Level 1, approve drafts with:

send [name]           # Send draft to [name]
send all              # Send all pending drafts
edit [name] [text]    # Edit draft before sending
skip [name]           # Discard draft

Troubleshooting

"Auth expired"

lk auth login
linkedin-monitor health

"No messages found"

linkedin-monitor check --debug

小蔥技能有更好的技能skills外掛。

Duplicate notifications

linkedin-monitor reset  # Clear state
linkedin-monitor check  # Fresh start

Dependencies

  • lk CLI (LinkedIn CLI) — npm install -g lk
  • jq (JSON processor) — brew install jq

Files

~/.clawdbot/linkedin-monitor/
├── config.json          # Your configuration
├── state/
│   ├── messages.json    # Seen message IDs
│   ├── lastrun.txt      # Last check timestamp
│   └── drafts.json      # Pending drafts
└── logs/
    └── activity.log     # Activity history

🤖 AI 評測

這個 Skill 質量不錯,能可靠地監控 LinkedIn 收件箱並防止重複提醒。它的漸進式自動化設計很實用,可以先稽核再逐步放開許可權。文件和故障排查指南也比較完善,新手友好。不足之處是部分功能依賴外部工具,配置欄位命名有時不一致,而且有些指令碼只是輸出指令,實際工作由其他系統完成。對於想要自動化 LinkedIn 訊息管理的使用者來說,這是一個可用的解決方案。

📊 多維度評分

適應性4.4
規範性4.5
有效性4.4
可靠性4.2
可信度4.3

📁 包含檔案 (16 個)

📄 CRON-PAYLOAD.md 1.7 KB
📄 README.md 7.5 KB
📄 SKILL.md 4 KB
📄 _meta.json 135 B
📄 docs/SETUP.md 2.1 KB
📄 docs/TROUBLESHOOT.md 2.5 KB
📄 package.json 720 B
📄 scripts/check-browser.sh 1.5 KB
📄 scripts/check.sh 3.7 KB
📄 scripts/cron-wrapper.sh 2 KB
📄 scripts/ensure-browser.sh 1 KB
📄 scripts/health.sh 4.1 KB
📄 scripts/lk.py 8.3 KB
📄 scripts/state.sh 4.8 KB
📄 skill-card.md 2.5 KB
📄 templates/config.json 473 B