
iamzifei/linkedin-article-publisher-skill
Browser automationЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Claude Skill that publish on LinkedIn article
Обзор
Publish Markdown articles to LinkedIn Articles with one command. Say goodbye to tedious rich text editing. — Block-index positioning for precise image placement If you're used to writing in Markdown, publishing to LinkedIn Articles is a : This skill automates the entire publishing workflow: - : Convert Markdown to HTML, paste via clipboard — all formatting preserved - : Precise image placement using element indices, not text matching - : Insert images from highest to lowest index to avoid position shifts - : Conditions return immediately when met, no wasted wait time - : Only saves as draft, never publishes automatically Previously, images were positioned by matching surrounding text — this failed when: - Multiple paragraphs had similar content - Text was too short to be unique Now, each image has a block_index indicating exactly which block element it follows. This is deterministic and reliable. Images inserted in reverse: block_index=6 first, then block_index=4.
README
Показан фрагмент оригинального README. Открыть оригинал.
LinkedIn Article Publisher Skill
Publish Markdown articles to LinkedIn Articles with one command. Say goodbye to tedious rich text editing.
v1.0.0 — Block-index positioning for precise image placement
The Problem
If you’re used to writing in Markdown, publishing to LinkedIn Articles is a painful process:
| Pain Point | Description |
|---|---|
| Format Loss | Copy from Markdown editor -> Paste to LinkedIn -> All formatting gone |
| Manual Formatting | Set each H2, bold, link manually — 15-20 min per article |
| Tedious Image Upload | Multiple clicks per image: Add media -> Select -> Wait |
| Position Errors | Hard to remember where each image should go |
Time Comparison
| Task | Manual | With This Skill |
|---|---|---|
| Format conversion | 15-20 min | 0 (automatic) |
| Cover image | 1-2 min | 10 sec |
| 5 content images | 5-10 min | 1 min |
| Total | 20-30 min | 2-3 min |
10x efficiency improvement
The Solution
This skill automates the entire publishing workflow:
Markdown File
| Python parsing
v
Structured Data (title, images with block_index, HTML)
| Playwright MCP
v
LinkedIn Articles Editor (browser automation)
|
v
Draft Saved (never auto-publishes)
Key Features
- Rich Text Paste: Convert Markdown to HTML, paste via clipboard — all formatting preserved
- Block-Index Positioning: Precise image placement using element indices, not text matching
- Reverse Insertion: Insert images from highest to lowest index to avoid position shifts
- Smart Wait Strategy: Conditions return immediately when met, no wasted wait time
- Safe by Design: Only saves as draft, never publishes automatically
Why Block-Index?
Previously, images were positioned by matching surrounding text — this failed when:
- Multiple paragraphs had similar content
- Text was too short to be unique
Now, each image has a block_index indicating exactly which block element it follows. This is deterministic and reliable.
Requirements
| Requirement | Details |
|---|---|
| Claude Code | claude.ai/code |
| Playwright MCP | Browser automation |
| LinkedIn Account | Free account works (no Premium required) |
| Python 3.9+ | With dependencies below |
| macOS | Currently macOS only |
pip install Pillow pyobjc-framework-Cocoa
Installation
Method 1: Git Clone (Recommended)
git clone https://github.com/iamzifei/linkedin-article-publisher-skill.git
cp -r linkedin-article-publisher-skill/skills/linkedin-article-publisher ~/.claude/skills/
Method 2: Plugin Marketplace
/plugin marketplace add iamzifei/linkedin-article-publisher-skill
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add iamzifei/linkedin-article-publisher-skill