All skills
sergebulaev avatar

/linkedin-reply-handler

@6b78503

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

Use this Skill: https://skilld.dev/gh/sergebulaev/linkedin-skills/linkedin-reply-handler

This session only. Nothing lands on disk.

referencesfiltering-rules.md

≈667 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Filtering rules — what gets dropped before drafting a whole-thread sweep

The whole point of a full-thread sweep is that not every comment deserves a reply. Drafting one anyway produces the exact "thanks!" filler this skill's hard rules already ban. Run every fetched comment through these checks before it enters the reply queue.

Drop: generic praise, no content

No specific claim, question, or detail to respond to. Pattern-match (case-insensitive, whole comment after trimming emoji/punctuation):

  • "great post", "great share", "love this", "so true", "this!", "100%", "well said", "spot on", "nailed it", "facts", "🔥" / "👏" alone or repeated
  • Single-word or single-emoji comments with nothing else
  • Comments under ~4 words with no question mark and no named detail

A short comment that references something specific ("this happened to us in March too") is not generic praise — the length rule only applies when there's also nothing to respond to.

Drop: duplicate or near-duplicate text

If two or more comments in the thread are the same template phrase (a common pattern on posts with 50+ comments: engagement pods, copy-paste "insightful post!" from low-effort accounts), reply to at most one and note the rest as duplicates in the filter summary rather than drafting N near-identical replies.

Drop: spam / engagement-bait

  • Comments that are just a link with no context, or "check my profile" / "DM me" self-promotion unrelated to the post's topic
  • Comments copy-pasted verbatim across many different authors' posts (if fetch_post_comments or prior context reveals this pattern)
  • Comments whose only content is tagging other people with no accompanying text

Drop: the user's own comments

Any comment authored by the account running this skill (match by profile URL or name against the user's own LinkedIn identity). Never draft a reply to yourself.

Keep, always

  • Any comment ending in a question mark
  • Any comment that disagrees, pushes back, or adds a counterpoint
  • Any comment with a named detail, number, or specific example — even if short
  • Any comment from someone who has commented on the user's posts before (worth continuing the relationship even if this specific comment is thin) — flag these as "keep: relationship" rather than auto-filtering on length alone

Reporting the filter pass

Show the user counts, not just a final list: "23 comments fetched → 6 filtered (4 generic praise, 1 duplicate, 1 spam link) → 17 drafted." This is what lets the user sanity-check the sweep before approving, since they can't review 23 raw comments themselves in the same time it takes to read 17 drafts.

Source: SKILL.md on GitHub

1 warning15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill facilitates drafting and publishing LinkedIn replies by fetching external comment threads. It correctly identifies and mitigates potential risks associated with processing untrusted data from external sources.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: MEDIUM · 1 issue

Signed by skilld at 6b78503. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 weeks ago

README badge

README badge for sergebulaev/linkedin-skills/linkedin-reply-handler