An open API service indexing awesome lists of open source software.

https://github.com/manthis/linkedin-spam-filter

OpenClaw skill: Detect LinkedIn prospection/spam via Beeper MCP
https://github.com/manthis/linkedin-spam-filter

beeper linkedin openclaw skill spam-detection

Last synced: about 2 months ago
JSON representation

OpenClaw skill: Detect LinkedIn prospection/spam via Beeper MCP

Awesome Lists containing this project

README

          

# ๐ŸŽฏ openclaw-skill-linkedin-spam-filter

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![OpenClaw Skill](https://img.shields.io/badge/OpenClaw-Skill-blue)](https://github.com/OpenAgentsInc/openclaw)

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

## Quick Start

```bash
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 --message ""`
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