跳到正文
Skillpedia
社交媒体5.5k · #14827

linkedin-comment-drafter

它能做什么

这项技能教智能体如何为他人的 LinkedIn 帖子起草评论。它会以用户自己的口吻生成几个版本,力求引发真正的交流,并且只在批准后才发布。

适用场景

  • ✓当用户粘贴一个 LinkedIn 帖子链接,并要求撰写评论的时候。
  • ✓当用户想成为热门帖子的最早评论者之一的时候。
  • ✓当用户想附上一段简短的个人观点转发 LinkedIn 帖子的时候。

技能链接

https://github.com/sergebulaev/linkedin-skills/blob/main/.codex-marketplace/linkedin-skills/skills/linkedin-comment-drafter/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sergebulaev/linkedin-skills/blob/main/.codex-marketplace/linkedin-skills/skills/linkedin-comment-drafter/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为这篇 LinkedIn 帖子起草一条评论,并给我两个版本供我选择。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会阅读帖子,撰写一至三个评论版本,并附上建议的反应,然后等待用户选择。获得批准后,它会通过 Publora API 发布反应和评论。

技术内容(原始 SKILL.md)

作者在 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, or ENTERTAINMENT
  • 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.

  1. Parse the URL. Use lib.url_parser.parse_linkedin_url to get post_urn and, if present, the post's activity ID.

  2. Fetch the post body. If APIFY_TOKEN is set, call lib.ApifyClient.fetch_post(url) for the post body and fetch_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. If APIFY_TOKEN is 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.md so the record matches what the library would have returned. If neither a token nor the connector is there, ask the user to paste.

  3. Detect the author's closing question. If the post ends with a "?" line, the Answer-the-Closing-Question template usually wins.

  4. Draft comment variants. Pick 2-3 templates from references/comment-templates.md that fit the post's topic. Fill them with user-voice phrasing.

  5. 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-humanizer V3.

  6. Present drafts for approval using lib.approval.render_approval_card. Include: target URL, each variant, reaction suggestion, a one-line "why this template fits".

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

  1. Fetch the post the same way (lib.fetch_post(url)), and check it is reshareable: the Apify payload exposes canShare and the shareUrn (urn:li:share:* / urn:li:ugcPost:*). If canShare is False, tell the user the author disabled resharing and stop.
  2. 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
常见问题

评论有多长?

这项技能的目标是大约 200 至 350 个字符,分成一到两个简短段落。

它会使用话题标签吗?

不会。这项技能说明评论中不含话题标签。

它会处理对评论的回复吗?

不会。对现有评论的回复由单独的回复技能处理。

详情

作者的原始描述

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

repo: sergebulaev/linkedin-skills

热度

GitHub 星标
5.5k
排名
#14827
许可证
MIT
更新时间
2026/10/27

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能