← ClaudeAtlas

linkedin-article-publisherlisted

Publish Markdown articles to LinkedIn Articles editor with proper formatting. Use when user wants to publish a Markdown file/URL to LinkedIn Articles, or mentions "publish to LinkedIn", "post article to LinkedIn", "LinkedIn article", or wants help with LinkedIn article publishing. Handles cover image upload and converts Markdown to rich text automatically. 新手引导:输入 `/linkedin 新手`、「这个怎么用」「第一次用」「能干嘛」时,走 SKILL.md 的〈新手上路〉,不要直接开始干活。
iamzifei/linkedin-article-publisher-skill · ★ 20 · Data & Documents · score 76
Install: claude install-skill iamzifei/linkedin-article-publisher-skill
# LinkedIn Article Publisher Publish Markdown content to LinkedIn Articles editor, preserving formatting with rich text conversion. ## Prerequisites - Playwright MCP for browser automation - User logged into LinkedIn in browser - Python 3.9+ with dependencies: `pip install Pillow pyobjc-framework-Cocoa` ## Scripts Located in `~/.claude/skills/linkedin-article-publisher/scripts/`: ### parse_markdown.py Parse Markdown and extract structured data: ```bash python parse_markdown.py <markdown_file> [--output json|html] [--html-only] ``` Returns JSON with: title, cover_image, content_images (with block_index for positioning), html, total_blocks ### copy_to_clipboard.py Copy image or HTML to system clipboard: ```bash # Copy image (with optional compression) python copy_to_clipboard.py image /path/to/image.jpg [--quality 80] # Copy HTML for rich text paste python copy_to_clipboard.py html --file /path/to/content.html ``` ## Workflow **Strategy: "Text First, Images Later"** For articles with multiple images, paste ALL text content first, then insert images at correct positions using block index. 1. Parse Markdown with Python script -> get title, images with block_index, HTML 2. Navigate to LinkedIn Articles editor 3. Upload cover image (first image) 4. Fill title 5. Copy HTML to clipboard (Python) -> Paste with Cmd+V 6. Insert content images at positions specified by block_index 7. Save as draft (NEVER auto-publish) ## Efficiency Guidelines **Goal**: Minimize wait time be