据 AlphaMoat 统计,截至 2026-10,Linkedin - automation 累计下载 6,069 次、获 6 个星标,按累计下载量在本次参与排名的 5,109 个 AI 技能中排名第 2,252 位,在「内容创作」分类(371 个)中排名第 176 位。
列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。
| 平台 | 累计下载 | 星标 | 评论 |
|---|---|---|---|
| ClawHub ↗ | 3,887 | 4 | 2 |
| SkillHub ↗ | 6,069 | 6 | — |
各平台的计数口径不同,统计时间不一致。
LinkedIn自动化——发帖(含图片上传)、评论(含@提及)、编辑/删除评论、转发、读取动态、分析数据、点赞监控、参与度追踪,以及带审批工作流的内容日历。采用Playwright持久化浏览器配置文件。适用于内容策略、定时发布、参与度分析和受众增长等LinkedIn任务。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-10 | 6,069 | — | 6 |
| 2026-09 | 4,201 | — | 6 |
| 2026-08 | 3,735 | +2.8% | 5 |
| 2026-07 | 3,633 | +5.1% | 5 |
| 2026-06 | 3,456 | +6.9% | 5 |
| 2026-05 | 3,233 | — | 5 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: linkedin-automation description: LinkedIn automation — post (with image upload), comment (with @mentions), edit/delete comments, repost, read feed, analytics, like monitoring, engagement tracking, and content calendar with approval workflow. Uses Playwright with persistent browser profile. Use for any LinkedIn task including content strategy, scheduled publishing, engagement analysis, and audience growth. --- # LinkedIn Automation > **Author:** Community Contributors > > ⚠️ **DISCLAIMER — PERSONAL USE ONLY**
> This skill is provided for **personal, non-commercial use only**. It automates your own LinkedIn account for personal productivity and engagement. Do NOT use this skill for spam, mass outreach, scraping other users' data, or any commercial automation service. Use responsibly and in accordance with [LinkedIn's User Agreement](https://www.linkedin.com/legal/user-agreement). The author assumes no liability for misuse or account restrictions.
Automate LinkedIn interactions via headless Playwright browser with a persistent session.
## Prerequisites
- Python 3.10+ with Playwright installed (`pip install playwright && playwright install chromium`)
- A logged-in LinkedIn browser session (persistent Chromium profile)
- Adjust paths in `scripts/lib/browser.py` to match your setup
## Commands
```bash
CLI={baseDir}/scripts/linkedin.py
# Check if session is valid
python3 $CLI check-session
# Read feed
python3 $CLI feed --count 5
# Create a post (text only)
python3 $CLI post --text "Hello world"
# Create a post with image (handles LinkedIn's image editor modal automatically)
python3 $CLI post --text "Hello world" --image /path/to/image.png
# Comment on a post (supports @Mentions — see below)
python3 $CLI comment --url "https://linkedin.com/feed/update/..." --text "Great insight @Betina Weiler!"
# Edit a comment (match by text fragment)
python3 $CLI edit-comment --url "https://..." --match "old text" --text "new text"
# Delete a comment
python3 $CLI delete-comment --url "https://..." --match "text to identify"
# Repost with thoughts
python3 $CLI repost --url "https://..." --thoughts "My take..."
# Engagement analytics for recent posts
python3 $CLI analytics --count 10
# Profile-level stats (followers, views)
python3 $CLI profile-stats
# Monitor your likes for new ones (for comment suggestions)
python3 $CLI scan-likes --count 15
# Scrape someone's activity
python3 $CLI activity --profile-url "https://linkedin.com/in/someone/" --count 5
```
All commands output JSON. Enable debug logging: `LINKEDIN_DEBUG=1`.
## @Mentions
Comments support `@FirstName LastName` syntax. The skill:
1. Types `@FirstName` → waits for typeahead dropdown
2. Progressively types last name letter by letter if needed
3. Clicks the match only if first+last name both match
4. Falls back to plain text if person not found (returns `mention_failed` warning)
Check `mentions` in the JSON result to see if mentions succeeded.
## Like Monitor
The `scan-likes` command checks your recent likes/reactions activity and returns any **new likes since the last check**. State is persisted to avoid duplicate alerts. Ideal for cron/heartbeat integration:
```
# In HEARTBEAT.md or cron job:
python3 $CLI scan-likes → if new likes found → suggest comment for each
```
## ⚠️ Golden Rule
**NEVER post, comment, repost, edit, or delete anything without EXPLICIT user approval.**
Always show the user exactly what will be posted and get a clear "yes" before executing. Read-only actions (feed, analytics, check-session, scan-likes) are safe to run freely.
## Content Calendar (Scheduled Publishing)
Full approval-based publishing workflow with auto-posting. See **[references/content-calendar.md](references/content-calendar.md)** for setup.
- **Webhook** (`scripts/cc-webhook.py`): Receives approve/edit/skip from a frontend UI
- **Auto-apply**: Simple edits (`"old text -> new text"`) applied instantly by webhook
- **Agent processing**: Complex edits flagged for AI-powered text rewriting
- **Auto-post**: Approved posts past their scheduled time are posted automatically via cron
- **Image strategy**: Real photos + AI-generated story overlays (not stock photos)
```bash
# Start the webhook (or install as systemd service)
python3 scripts/cc-webhook.py
# Env vars for config:
# CC_DATA_FILE=/path/to/cc-data.json
# CC_ACTIONS_FILE=/path/to/actions.json
# CC_WEBHOOK_PORT=8401
```
## Content Strategy & Engagement
- **[references/content-strategy.md](references/content-strategy.md)** — Hook formulas, post structure, posting times, hashtag strategy, 4-1-1 rule
- **[references/engagement.md](references/engagement.md)** — Algorithm signals, comment quality formula, rate limits, weekly routine
- **[references/dom-patterns.md](references/dom-patterns.md)** — Known LinkedIn DOM patterns for troubleshooting
- **[references/content-calendar.md](references/content-calendar.md)** — Content calendar setup, data format, webhook API
## Rate Limits
| Action | Daily Max | Weekly Max |
|--------|----------|-----------|
| Posts | 2–3 | 10–15 |
| Comments | 20–30 | — |
| Likes | 100 | — |
| Connection requests | 30 | 100 |
## Setup
1. Install dependencies: `pip install playwright && playwright install chromium`
2. Configure browser profile path in `scripts/lib/browser.py` (or set `LINKEDIN_BROWSER_PROFILE` env var)
3. Log in to LinkedIn manually once (the session persists)
4. Run `python3 scripts/linkedin.py check-session` to verify
5. **Learn your voice:** Run `python3 scripts/linkedin.py learn-profile` — this scans your recent posts and comments to learn your tone, topics, language, and style. The agent uses this profile when suggesting comments/posts so they sound like **you**, not like a generic bot.
## Voice & Style
On first setup, `learn-profile` analyzes your content and saves a style profile (`~/.linkedin-style.json`) containing:
- **Language** (de/en/mixed)
- **Tone** (casual / professional / professional-friendly)
- **Emoji usage** (heavy / moderate / minimal)
- **Top hashtags** you use
- **Sample posts and comments** for voice reference
The agent should ALWAYS read this profile (`get-style`) before drafting any comment or post suggestion. Never impose a foreign voice — match the user's natural style.
## Post Age Warning
**CRITICAL:** Before suggesting a comment on any post, check how old the post is:
- **< 2 weeks:** Safe to comment
- **> 2 weeks:** Warn the user explicitly ("⚠️ This post is X weeks old — commenting on old posts can look like bot behavior. Still want to?")
- **> 1 month:** Strongly discourage unless there's a specific reason
Commenting on old posts makes it look like you're mining someone's history with a bot. Always flag post age.
## Troubleshooting
- **Session expired**: Log in again via browser profile
- **Selectors broken**: LinkedIn updates UI frequently — check `references/dom-patterns.md` and update `scripts/lib/selectors.py`
- **Debug screenshots**: Saved to `/tmp/linkedin_debug_*.png` on failure
识别并去掉文本里的 AI 写作痕迹,让文字读起来更像人写。
把文本里 AI 写作的典型痕迹挑出来并改写得更自然,同时保留原意的写作编辑技能。
识别并去除 AI 生成文本痕迹的中文文字编辑技能。
从公开短视频分享链接提取标题、简介和口播文案,并给出改写版本。
wechat-search 检索公众号热门文章,并按相关性、热度和时效整理结果。
写网文章节并按文件落盘,聊天里只回摘要与指针。
humanizer 为中英文文本提供更自然的表达和风格编辑指导。
gzh-copywriter 描述结合趋势数据的公众号写作流程。
数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。