本文へスキップ
Skillpedia
SNS5.5k · #14836

linkedin-reply-handler

できること

このスキルは、ユーザー自身の LinkedIn 投稿へのコメントに答える方法を説明します。一つのコメントでも、スレッド全体でも扱え、LinkedIn がネストされた返信をどう扱うかを尊重します。

使う場面

  • ✓ユーザーが、コメントのリンクを貼り、そのコメントに返信したいとき。
  • ✓投稿者がユーザーのコメントに返信し、ユーザーが会話を続けたいとき。
  • ✓ユーザーが、投稿のすべてのコメントに追いつきたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sergebulaev/linkedin-skills/blob/main/.codex-marketplace/linkedin-skills/skills/linkedin-reply-handler/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私の直近の投稿で、返信する価値のあるコメントすべてに返信を下書きして、投稿の前に見せてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは投稿のリンクからコメントのスレッドを読み、価値の低いものを除外して、返信する価値のあるコメントごとに返信を下書きします。LinkedIn はスレッドを二階層に平坦化するため、必要に応じて最上位のコメントに返信し、Publora で投稿します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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

Whole thread:

  • A filtered roster: how many comments were fetched, how many were filtered out and why, how many drafts follow
  • One reply draft per comment worth replying to (150-300 chars each), each tagged with its target comment, the correct parentComment URN, and a reaction suggestion
  • A single batch approval card covering every draft
  • On approval, posts all of them (reaction + reply, per comment)

Steps — single comment

Voice profile first (all drafts, both modes). 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. lib.url_parser.parse_linkedin_url returns post_urn, comment_id, comment_urn.
  2. Determine thread structure. If APIFY_TOKEN is set, call lib.ApifyClient.fetch_post_comments(post_id=post_urn, max_items=50) and locate the comment by comment_id. Otherwise ask the user to paste the relevant slice of the thread. With the Apify MCP connector available instead of a token, read the same comments through its tool and drop the run-summary row before using them, per ../../references/mcp-read-layer.md; that is the only read path on claude.ai. Figure out whether the target is:
    • a top-level comment (parentComment = this comment's URN when replying)
    • a reply to a top-level comment (parentComment = the TOP comment's URN, not this reply's URN. LinkedIn flattens)
  3. Read the full context. Author post text, top-level comment text, any intermediate replies. Include the user's own prior comment if they're in the thread.
  4. Draft the reply. Follow the engagement templates in references/reply-templates.md. If the counterpart asked a question, answer it directly. If they pushed back, concede then sharpen.
  5. Humanizer pass. Scrub 2026 AI vocab by density, cap em dashes (about one per 100 words), fix only machine-flat rhythm and never manufacture sentence-length variance. Canonical rules: linkedin-humanizer V3.
  6. Approval card. Include thread preview (who said what in last 3 turns), the draft, reaction suggestion, and the parentComment URN we'll send.
  7. On approval. Call `li
よくある質問

最上位のコメントに返信するのはなぜですか?

LinkedIn はスレッドを二階層に平坦化するため、返信は最上位のコメントを対象にする必要があるとされています。

確認せずに投稿しますか?

いいえ。このスキルは、返信を先に下書きして確認してから、Publora で投稿します。

他の人の投稿へのコメントも扱いますか?

いいえ。他の人の投稿へのコメントは、コメント下書きのスキルが扱います。

詳細

作者による元の説明

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

repo: sergebulaev/linkedin-skills

人気

GitHubのスター
5.5k
ランキング
#14836
ライセンス
MIT
更新日
2026/10/27

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル