linkedin-comment-drafter
What it does
This skill teaches an agent how to draft comments on other people's LinkedIn posts. It produces a few variants in the user's voice that aim to start a real conversation, and it posts only after approval.
When to use it
- ✓When a user pastes a LinkedIn post link and asks for a comment.
- ✓When a user wants to be among the first to comment on a popular post.
- ✓When a user wants to repost a LinkedIn post with a short personal take.
Skill link
https://github.com/sergebulaev/linkedin-skills/blob/main/.codex-marketplace/linkedin-skills/skills/linkedin-comment-drafter/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Draft a comment on this LinkedIn post and give me two versions I can choose from.”
5 new skills a week. 1 minute to read.
How it works
The agent reads the post, writes one to three comment variants with a suggested reaction, and waits for the user's choice. On approval, it publishes the reaction and comment through the Publora API.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
LinkedIn Comment Drafter
Produce conversation-provoking comments on any LinkedIn post from a URL. The skill targets the patterns that actually got author replies in 2026 testing and avoids the thesis-restatement patterns that die with zero engagement.
When to use
- User pastes a LinkedIn post URL and says "comment on this", "draft me a comment", "engage with this post"
- User wants to be among the first 3 commenters on a viral post
- User wants to reply to a closing question the author asked
- User wants to reshare/repost a post to their own feed, with or without a one-line take ("repost this with my thoughts", "reshare this")
Input
A LinkedIn post URL in any of the standard shapes (see the top-level SKILL.md URL table).
Output
1-3 draft comment variants, each with:
- 200-350 char body, 1-2 short paragraphs, em dashes capped (about one per 100 words), no hashtags
- Assigned reaction type:
LIKE,PRAISE,EMPATHY,INTEREST,APPRECIATION, orENTERTAINMENT - Pattern label (which of the 7 templates was used)
- Estimated engagement fit based on what the author typically responds to
Then waits for user approval. On "post", calls Publora to react + comment.
Steps
Voice profile first (all drafts). If ../../references/voice-profile.md has filled: yes, load it and match the user's voice fingerprint, hard rules, and CTA/link style throughout. If it is not filled, mention once that linkedin-humanizer --mode profile can learn their voice from a few posts, then proceed with the generic voice rules. If ../../references/story-bank.md has filled: yes, load it too and take concrete details (numbers, dates, named projects) from there instead of asking mid-draft. Never invent a figure that is not in it; if the bank has nothing that fits, ask the user or offer linkedin-interviewer.
Parse the URL. Use
lib.url_parser.parse_linkedin_urlto getpost_urnand, if present, the post's activity ID.Fetch the post body. If
APIFY_TOKENis set, calllib.ApifyClient.fetch_post(url)for the post body andfetch_post_comments(post_id=..., max_items=10)for the top existing comments (so your draft doesn't duplicate an existing take). Both actors are no-cookies and cost roughly $0.001 + $0.005 per call on the Apify free tier. IfAPIFY_TOKENis not set, ask the user to paste the post text and (optionally) top comments.No token? Try the connector. If the Apify MCP connector is available in this session, its tools read the same actors with no token on disk, which is the only way to read on claude.ai. Call the tool, then apply the mapping in
../../references/mcp-read-layer.mdso the record matches what the library would have returned. If neither a token nor the connector is there, ask the user to paste.Detect the author's closing question. If the post ends with a "?" line, the Answer-the-Closing-Question template usually wins.
Draft comment variants. Pick 2-3 templates from
references/comment-templates.mdthat fit the post's topic. Fill them with user-voice phrasing.Run the humanizer pass. Scrub 2026 AI vocab by paragraph density, cap em dashes (about one per 100 words, never swap one for a period), fix only machine-flat rhythm without manufacturing variance, and add an odd-precision number with a named referent if missing. Canonical rules:
linkedin-humanizerV3.Present drafts for approval using
lib.approval.render_approval_card. Include: target URL, each variant, reaction suggestion, a one-line "why this template fits".On approval. Call
lib.publish(kind="comment", draft_text=<approved>, target_url=<post_url>, post_urn=<urn>, platform_id=<id>, reaction_type=<chosen>). The wrapper handles Publora / manual / diy routing.
Reshare mode (repost with your thoughts)
Same input as commenting (a post URL), but instead of commenting on the post you reshare it to the user's own feed, optionally with a short take above it. Use this when the ask is "repost", "reshare", or "share this with my network".
- Fetch the post the same way (
lib.fetch_post(url)), and check it is reshareable: the Apify payload exposescanShareand theshareUrn(urn:li:share:*/urn:li:ugcPost:*). IfcanShareisFalse, tell the user the author disabled resharing and stop. - Draft the commentary (optional). Keep it to one or two sentences in the user's voice: a genuine take, endorsement, or the reason this is worth a c
FAQ
How long are the comments?
The skill aims for about 200 to 350 characters in one or two short paragraphs.
Does it use hashtags?
No. The skill says the comments have no hashtags.
Does it handle replies to comments?
No. Replies to existing comments are handled by a separate reply skill.
Details
Original description by the author
Draft a LinkedIn comment on someone else's post from its URL, or reshare (repost) it to your feed with optional commentary. Use when the user pastes a post URL and asks to comment, engage, be first commenter, or repost with their thoughts. Produces 1-3 variants in the user's voice, picks a reaction, and publishes via Publora on approval. Not for replying to existing comments (use linkedin-reply-handler).
Popularity
- GitHub stars
- 5.5k
- Ranking position
- #14827
- License
- MIT
- Updated
- 10/27/2026
Comments
- …
More skills from this repository
linkedin-marketing
5.5kHelps your agent plan, draft, audit, and publish LinkedIn posts and comments, using 2026 platform guidance and a draft-then-approve flow.
linkedin-content-planner
5.5kHelps your agent build a seven-day LinkedIn content plan from a theme and audience, with a post type, hook, and time for each day, plus comment targets.
linkedin-employee-advocacy
5.5kHelps your agent set up a LinkedIn advocacy program where a marketing or sales team posts in its own voice, with a launch plan, guidelines, and ROI measures.
linkedin-engager-analytics
5.5kHelps your agent list who liked or commented on a LinkedIn post and group them by how well they fit your target customers, with follow-up lists.
Similar skills
xurl
394kHelps your agent post, reply, search, and read on X, send direct messages, and upload media, using the authenticated xurl tool.
connections-optimizer
280kImproves your social network connections. It suggests who to follow or unfollow and helps create personalized messages to expand your network.
content-engine
280kCreates content for different platforms. It helps produce posts, scripts, and content calendars that work well on networks like X, LinkedIn, and YouTube.