linkedin-reply-handler
Ce qu’il fait
Cette compétence explique à un agent comment répondre aux commentaires des publications LinkedIn de l'utilisateur. Elle peut traiter un seul commentaire ou parcourir tout un fil, et respecte la façon dont LinkedIn imbrique les réponses.
Quand l’utiliser
- ✓Quand un utilisateur colle le lien d'un commentaire et veut y répondre.
- ✓Quand un auteur a répondu au commentaire de l'utilisateur et que celui-ci veut poursuivre l'échange.
- ✓Quand un utilisateur veut rattraper tous les commentaires d'une publication.
Lien du skill
https://github.com/sergebulaev/linkedin-skills/blob/main/.codex-marketplace/linkedin-skills/skills/linkedin-reply-handler/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Rédige des réponses à chaque commentaire de ma dernière publication qui mérite une réponse, et montre-les-moi avant de publier.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent lit le fil de commentaires à partir du lien de la publication, écarte les commentaires sans valeur et rédige une réponse pour chacun de ceux qui en méritent une. Il répond au commentaire de premier niveau lorsque c'est nécessaire, car LinkedIn aplatit les fils, puis publie via Publora.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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-analyticsorlinkedin-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.mdURL 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
parentCommentURN, 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.
- Parse the URL.
lib.url_parser.parse_linkedin_urlreturnspost_urn,comment_id,comment_urn. - Determine thread structure. If
APIFY_TOKENis set, calllib.ApifyClient.fetch_post_comments(post_id=post_urn, max_items=50)and locate the comment bycomment_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)
- 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.
- 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. - 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-humanizerV3. - Approval card. Include thread preview (who said what in last 3 turns), the draft, reaction suggestion, and the parentComment URN we'll send.
- On approval. Call `li
Questions fréquentes
Pourquoi répondre au commentaire de premier niveau ?
La compétence indique que LinkedIn aplatit les fils sur deux niveaux, donc la réponse doit viser le commentaire de premier niveau.
Publie-t-il sans vérifier ?
La compétence rédige les réponses pour relecture d'abord, puis les publie via Publora.
Peut-il traiter les commentaires sous les publications d'autres personnes ?
Non. Commenter les publications d'autrui relève de la compétence de rédaction de commentaires.
Détails
Description originale de l’auteur
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).
Popularité
- Étoiles GitHub
- 5.5k
- Position au classement
- #14836
- Licence
- MIT
- Mis à jour
- 27/10/2026
Commentaires
- …
Autres skills de ce dépôt
linkedin-marketing
5.5kAide votre agent à planifier, rédiger, auditer et publier des publications et commentaires LinkedIn, avec un brouillon soumis à votre approbation avant publication.
linkedin-comment-drafter
5.5kAide votre agent à rédiger un commentaire réfléchi sous une publication LinkedIn à partir de son lien, ou à la repartager avec votre avis, après approbation.
linkedin-content-planner
5.5kAide votre agent à construire un plan LinkedIn sur sept jours à partir d'un thème et d'une audience, avec format, accroche, heure et cibles de commentaires.
linkedin-employee-advocacy
5.5kAide votre agent à lancer un programme où l'équipe publie sur LinkedIn avec sa propre voix, avec plan de lancement, règles de marque et mesure du retour.
Skills similaires
xurl
394kAide votre agent à publier, répondre, rechercher et lire sur X, à envoyer des messages privés et à téléverser des médias, grâce à l'outil authentifié xurl.
connections-optimizer
280kAméliore vos relations sur les réseaux sociaux. Suggère qui suivre ou ne plus suivre et aide à rédiger des messages personnalisés pour élargir votre réseau.
content-engine
280kCrée du contenu pour différentes plateformes. Aide à produire des publications, des scripts et des calendriers éditoriaux adaptés à des réseaux comme X, LinkedIn et YouTube.