Skip to content

manthis/linkedin-spam-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 openclaw-skill-linkedin-spam-filter

License: MIT OpenClaw Skill

Detect LinkedIn spam and prospection messages via Beeper MCP. Auto-generates suggested responses (FR/EN) with human-in-the-loop confirmation.

Quick Start

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

Configuration

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.

Workflow

  1. Detect spam via linkedin-spam-filter.py --json
  2. Review the suggested response
  3. Send the response via scripts/send-response.py --chat-id <ID> --message "<text>"
  4. Archive automatically (done by send-response.py)

⚠️ Important: Always archive the chat after sending a response to keep LinkedIn inbox clean.

Features

  • 🔍 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

Requirements

  • Python 3.8+
  • mcporter CLI with Beeper MCP (for live checks)

License

MIT

About

OpenClaw skill: Detect LinkedIn prospection/spam via Beeper MCP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages