# Linkedin Reply Handler

Draft a reply to one LinkedIn comment from its URL, or sweep a whole thread from just...

- Repository: https://github.com/sergebulaev/linkedin-skills (5474 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-27
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add sergebulaev/linkedin-skills --skill linkedin-reply-handler -g -a claude-code -y`
Codex: `npx skills add sergebulaev/linkedin-skills --skill linkedin-reply-handler -g -a codex -y`
Cursor: `npx skills add sergebulaev/linkedin-skills --skill linkedin-reply-handler -g -a cursor -y`
Gemini CLI: `npx skills add sergebulaev/linkedin-skills --skill linkedin-reply-handler -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add sergebulaev/linkedin-skills`

## Description

Draft a reply to one LinkedIn comment from its URL, or sweep a whole thread from just the post URL and draft a reply to every comment worth answering, in one batch. Use for replying to a comment, following an author reply, or clearing all comments on a post. Resolves the correct parentComment (LinkedIn flattens threads to 2 levels), filters low-value comments before a sweep, and posts via Publora on approval. Not for top-level comments (use linkedin-comment-drafter).

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# LinkedIn Reply Handler

Drafts a reply to a specific LinkedIn comment, or sweeps an entire comment thread (every top-level comment and its replies) from just the post URL and drafts a reply to each one worth answering. Both modes correctly handle LinkedIn's 2-level thread flattening: if you're replying to a reply, the Publora API needs the TOP-level comment URN as `parentComment`, not the reply's URN.

## When to use

**Single comment:**
- User pastes a LinkedIn comment URL (contains `?commentUrn=...`) and says "reply to this"
- An author replied to the user's comment and the user wants to continue the thread
- User wants to re-engage a conversation that's gone dormant

**Whole thread (just a post URL, no comment URLs):**
- User pastes a post URL and says "reply to all the comments", "clear my inbox on this post", "draft replies for everyone who commented", "sweep the comments on this post"
- User wants to catch up on a post that has accumulated comments over several days

Not for:
- Commenting on someone else's post (not replying to comments on the user's own post) → `linkedin-comment-drafter`
- Reading engagement without drafting anything → `linkedin-engager-analytics` or `linkedin-thread-monitor`

## Input

Either shape works:
- A LinkedIn URL containing `commentUrn=urn:li:comment:(activity:POST,COMMENT_ID)`, either the direct comment permalink or a feed URL with the query fragment. Triggers single-comment mode.
- Just a LinkedIn post URL, in any of the standard shapes (see root `SKILL.md` URL table), no comment URLs needed. Triggers whole-thread mode.

## Output

**Single comment:**
- 1-2 reply drafts, 150-300 chars each
- Reaction suggestion for the comment being replied to (always react before replying)
- Thread context summary (who said what, when)
- Approval card → on user "post", fires reaction + reply via Publora

The rest: https://github.com/sergebulaev/linkedin-skills/blob/HEAD/.codex-marketplace/linkedin-skills/skills/linkedin-reply-handler/SKILL.md
