Tooluck logoTooluck
SKILL.md

linkedin-reply-handler

Agent skill fromsergebulaev/linkedin-skills

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).

How to install linkedin-reply-handler

install linkedin-reply-handler
# install the linkedin-skills pack with the skills CLI
npx skills add sergebulaev/linkedin-skills

# or add only this skill to Claude Code: copy the folder

skills/linkedin-reply-handler/

# into

~/.claude/skills/linkedin-reply-handler/ (all projects)

.claude/skills/linkedin-reply-handler/ (one project)

skills/linkedin-reply-handler/SKILL.md

MITFull file
1# LinkedIn Reply Handler
2
3Drafts 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.
4
5## When to use
6
7**Single comment:**
8- User pastes a LinkedIn comment URL (contains `?commentUrn=...`) and says "reply to this"
9- An author replied to the user's comment and the user wants to continue the thread
10- User wants to re-engage a conversation that's gone dormant
11
12**Whole thread (just a post URL, no comment URLs):**
13- 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"
14- User wants to catch up on a post that has accumulated comments over several days
15
16Not for:
17- Commenting on someone else's post (not replying to comments on the user's own post) → `linkedin-comment-drafter`
18- Reading engagement without drafting anything → `linkedin-engager-analytics` or `linkedin-thread-monitor`
19
20## Input
21
22Either shape works:
23- 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.
24…

Excerpt shown under the repository's MIT license.

More skills in linkedin-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates