Detect LinkedIn spam and prospection messages via Beeper MCP. Auto-generates suggested responses (FR/EN) with human-in-the-loop confirmation.
git clone https://github.com/manthis/openclaw-skill-linkedin-spam-filter.git
cd openclaw-skill-linkedin-spam-filter
# Test detection locally
python3 scripts/linkedin-spam-filter.py --test-text "Hi, I have an exciting opportunity for you"
# Full check (requires Beeper MCP)
export BEEPER_SERVER="beeper"
python3 scripts/linkedin-spam-filter.py --dry-run --json| Variable | Default | Description |
|---|---|---|
BEEPER_SERVER |
beeper |
Beeper MCP server name |
LINKEDIN_ROOM_PATTERN |
linkedin |
Room name filter |
SPAM_PATTERNS |
(built-in) | Detection regex |
RESPONSE_TEMPLATES |
(built-in) | JSON response templates |
⚠️ Security: Never store MCP tokens or credentials in config files.
- Detect spam via
linkedin-spam-filter.py --json - Review the suggested response
- Send the response via
scripts/send-response.py --chat-id <ID> --message "<text>" - Archive automatically (done by send-response.py)
- 🔍 Pattern-based prospection detection (FR + EN)
- 💬 Auto-generated response suggestions
- 🌍 Language auto-detection (French/English)
- 🛡️ Human-in-the-loop — never auto-sends
- 📊 JSON output for automation
- 🧪 Standalone test mode (
--test-text) - 📥 Auto-archive after response
- Python 3.8+
mcporterCLI with Beeper MCP (for live checks)
MIT