Skip to content
Back to skills

Linkedin Video Post

ASecurity

Post a video with text to LinkedIn using hybrid Playwright + macOS-use workflow. Use when user asks to post a video to LinkedIn.

  • 7 stars
  • 0 votes
  • 1 copy
  • 7 views
  • Added September 3, 2026
toolsgobash

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add mediar-ai/skillhubz --skill linkedin-video-post --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Linkedin Video Post?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Linkedin Video Post
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mediar-ai-linkedin-video-post/badge)](https://www.skillsdirectory.com/skills/mediar-ai-linkedin-video-post)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: linkedin-video-post
description: Post a video with text to LinkedIn using hybrid Playwright + macOS-use workflow. Use when user asks to post a video to LinkedIn.
allowed-tools: Bash, Read, Grep, mcp__playwright-extension__*, mcp__macos-use__*
---

# LinkedIn Video Post

Posts a video with accompanying text to LinkedIn. Uses Playwright for web interactions and macOS-use for the native file upload dialog.

## Prerequisites

- Chrome logged into LinkedIn
- Video file exists at an absolute path on disk
- Post text prepared

## Step-by-Step Workflow

### Phase 1: Open Composer (Playwright)

1. Navigate to LinkedIn feed:
   ```
   browser_navigate → https://www.linkedin.com/feed/
   ```
2. Take a snapshot to find the composer
3. Click "Start a post" button to open the post composer modal

### Phase 2: Write Post Text (Playwright)

4. Take a snapshot of the composer modal
5. Type the post text into the composer text area
6. Verify text appears correctly

### Phase 3: Upload Video (macOS-use)

7. Get Chrome PID:
   ```bash
   pgrep -x "Google Chrome"
   ```
8. **Do NOT close Playwright** — LinkedIn works without closing it
9. Use `click_and_traverse` on the **"Add media"** button (camera/image icon in composer toolbar)
   - Find it in the Playwright snapshot first to identify its position
   - Or grep the macOS-use traversal for "Add media" or the media icon
10. Wait for native file dialog (AXSheet) to appear
11. Press `Cmd+Shift+G` via `press_key_and_traverse` to open "Go to folder"
12. Type the absolute video file path via `type_and_traverse`
13. Press `Return` via `press_key_and_traverse`
14. Grep traversal for `"Open"` button (AXButton near bottom, y > 1500)
15. Click "Open" via `click_and_traverse`

### Phase 4: Post (macOS-use)

16. **Wait for video upload** — LinkedIn shows upload progress. Wait for it to complete.
17. LinkedIn shows a video editing/trimming step — click **"Next"** to skip it
18. Click **"Post"** button
19. **Dismiss boost offer** — LinkedIn may show a "Boost this post" dialog. Dismiss it by clicking "Got it" or the X button.

## Troubleshooting

- **"Add media" not found**: Look for camera icon or image icon in the composer toolbar. Try snapshot/traversal to locate it.
- **File dialog didn't open**: Playwright may have intercepted it. Try closing Playwright (`browser_close`), then clicking via macOS-use.
- **Upload stuck**: Large videos take time. Wait 30-60 seconds and check traversal for progress indicators.
- **"Next" button not appearing**: The video may still be processing. Wait and refresh traversal.
- **Boost dialog blocking**: After posting, LinkedIn often shows a boost promotion. Dismiss it before confirming success.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.