Reply to the comments on your LinkedIn posts with Claude: the reply skill for MagicPost
MagicPost lets Claude read the comments left under your LinkedIn posts and reply to them from your account, one approved reply at a time. The skill on this page has Claude find the unanswered comments, draft the replies, show you each one, then send them through a paced queue.
Two tools: list_received_comments reads the comments MagicPost has collected for one of your posts, and reply_to_comment queues a reply, a reaction or both.
We tested the reading half on November 29, 2026 from Claude Code, on a real post with 44 comments. reply_to_comment was not called and no sync was launched. The draft below was prepared and never sent. Commenters are anonymized.
Result
A triage of one post: which comments still wait for an answer, which of them ask a question, and a draft reply where Claude could write one. The test stopped before reply_to_comment. No reply was queued, and no output of that tool appears on this page.
What list_received_comments returned for a post published five days earlier:
44 comments stored, against 42 on the LinkedIn counter. That sync ran three days before the test, collected the 44 comments in under five seconds and found none new. The answer says source: provider: the comments come from a data provider, not from a live read of LinkedIn.
Of the 44, 12 were written by the author of the post (is_mine: true) and 32 by other people. Of those 32, 28 were top-level comments and 4 were replies inside a thread.
With parent_comment_id, Claude matched each reply of the author to the comment it answers: 10 top-level comments already had an answer, 18 did not. Two of the 18 asked a direct question.
What Claude prepared before asking for a go (anonymized):
One commenter asked what access a tool really needs when all it does is schedule posts. Draft: "For scheduling alone, two things: permission to post on your behalf and your basic profile. A tool that asks for your password, a session cookie or control of your browser is asking for more than scheduling needs."
Another asked about signing in to LinkedIn while travelling. Claude wrote no draft here: it said the answer depends on what the author knows about LinkedIn's sign-in checks, and left the reply to the author.
For the 16 other unanswered comments, mostly agreement, Claude proposed a reaction in place of a reply and asked whether to prepare it. It stopped there.
Starting prompt
Look at the comments on my latest LinkedIn post about [topic]. Which ones have I not answered yet? Draft a reply, in my voice, for those that ask a question. Show me each reply and send nothing until I approve it.
Tools called, in order
list_my_postsfinds the post and itspost_id. For a post published outside MagicPost,list_linkedin_post_metricsgives alinkedin_activity_idto use in its place.list_received_commentsreads the stored comments at no cost, with who wrote each one and which comment it answers.sync_received_commentsis optional and was not called in our test. It fetches new comments in the background and uses one unit of a daily quota.reply_to_commentwas not called in our test. It queues one reply, with or without a reaction, under one comment.list_engagement_queueshows what is pending, sent or failed once replies are queued.
Where the assistant asks for confirmation
- Before each reply: Claude shows the comment, the role of the person who wrote it and the final text. One approval per reply, because a reply is public.
- Before a sync: Claude says how many syncs are left today, since each one spends quota.
- Before reacting to many comments in one go.
- When a question needs a fact only you have, Claude hands the reply back to you and does not guess.
The skill file
---
name: reply-to-linkedin-comments
description: Reads the comments received on the user's LinkedIn posts through MagicPost, drafts replies and sends the approved ones. Use when the user asks to answer or triage comments on a post.
---
# Reply to comments on your LinkedIn posts with MagicPost
Needs the MagicPost MCP server (`https://mcp.magicpost.in/mcp`). Tools are written `MagicPost:tool_name`; in Claude Code the default server name is `magicpost`.
Scope: comments left under the user's OWN published posts. For comments on other people's posts, use `MagicPost:engage_with_post`.
## Steps
1. **Find the post.** `MagicPost:list_my_posts` with `status: "published"` gives `id` (use it as `post_id`). For a post published outside MagicPost, take `linkedin_activity_id` from `MagicPost:list_linkedin_post_metrics`.
2. **Read the comments.** `MagicPost:list_received_comments` with exactly one of `post_id` or `linkedin_activity_id`. It reads what MagicPost already stored and costs nothing.
3. **Check freshness.** Compare `comments_stored` with `post.comments_on_linkedin` and read `last_sync.finished_at`.
- Fresh enough: go on.
- Stale or missing comments: ask the user, then `MagicPost:sync_received_comments`. Wait about a minute and read again. Each sync uses one unit of a quota of 10 per 24 hours (`sync_quota` in the answer). On `comment_sync_quota_reached`, work with the stored comments.
- `synced: false`: the post was just published and is not imported yet. Try later.
4. **Triage.** A comment is unanswered when `is_mine` is false and no comment with `is_mine: true` has it as `parent_comment_id`. Sort the unanswered ones: questions first, then objections, then thanks. Skip comments whose `text` is empty.
5. **Draft.** One reply per comment, in the user's voice, answering what was asked. Maximum 1,250 characters. Leave a blank and say so when the answer needs a fact only the user has. For an @mention, paste a `mention` from `MagicPost:search_mentions`.
6. **Show and wait.** For each: the commenter's role, their comment, the draft. The user approves, edits or skips each reply.
7. **Send the approved ones.** One call to `MagicPost:reply_to_comment` per comment with `comment_id` (copied from step 2, never invented), the same post reference, and `text`. Add `reaction_type` to react to the comment in the same call.
8. **Report.** Relay `message_for_user`: replies are queued and it says when each one goes out. `MagicPost:list_engagement_queue` shows pending, sent and failed.
## Ask the user before
- Sending any reply: it is public. One approval per reply, on the final text.
- Running a sync: it spends quota.
- Reacting to comments in bulk.
## Pacing rules the queue applies
- Replies: 200 per rolling 24 hours on the user's own posts, 20 per hour, 75 seconds to 3 minutes after the previous comment or reply.
- Reactions to comments: 100 per 24 hours (MagicPost app included), 30 per hour, 30 to 90 seconds apart.
- Ten replies in a row is fine: call once per comment, they are spread over the next minutes.
- If the reaction is refused, the reply sent in the same call is not queued.
## Undo
- Not sent yet: `MagicPost:cancel_queued_engagement` with the `id`.
- `remove_reaction: true` removes the user's reaction right away.
## Limits
- Comments are collected by MagicPost's data provider when a sync runs. They are not live. Replies and reactions are sent through LinkedIn's official API from the connected account.
- Failed items in the queue are not retried: report them.
- Commenters are real people: quote their role and their words to the user, and keep their names out of anything shared outside the conversation.
Plan and price
- Plan
- Creator: $48 (€41) per month, or $27 (€23) per month billed yearly
- Credits
- No credits. Reading stored comments costs nothing. A manual sync uses one unit of a quota of 10 per rolling 24 hours. A sync already running, or started a few minutes earlier, costs nothing.
- Tested on
Variants
React without replying
For a comment that only agrees, pass a reaction and no text. Six reactions exist: like, celebrate, love, insightful, support and funny.
Reply and react in one call
Text and reaction can travel together. If the reaction is refused, the reply is not queued either.
A post published outside MagicPost
Use the linkedin_activity_id returned by list_linkedin_post_metrics. It works for any post of yours.
Keep a reply you reuse
manage_comment_bookmarks stores comment texts you use often. The app offers them again when you comment.
For a client account
An organization admin passes member_user_id. The reply goes out from the member's LinkedIn account and counts in the member's reply quota.
Limits
- Replies under your own posts: 200 per rolling 24 hours and 20 per hour. This quota is separate from the 100 comments allowed on other people's posts.
- A reply leaves 75 seconds to 3 minutes after the previous comment or reply. For LinkedIn both are comments, so they share one spacing.
- Reactions to comments count as reactions: 100 per 24 hours with the MagicPost app included, 30 per hour, 30 to 90 seconds apart. Removing a reaction is immediate.
- A reply holds 1,250 characters at most.
- Comments are collected when a sync runs, so the list can differ from LinkedIn. In our test it held 44 comments while the LinkedIn counter read 42.
- A post you just published answers
synced: falseuntil it is imported. Try again later. - Your own posts only. For a comment on someone else's post, see the engagement routine.
- Replies and reactions are sent through LinkedIn's official API from the account connected in MagicPost, with no session cookie and no LinkedIn password.
About MagicPost
MagicPost is the LinkedIn tool to write, schedule and analyze your posts, in your own voice and through LinkedIn's official API.
Once your posts are live, MagicPost also gives you an engagement feed built from your own lists of people, and detects the leads among those who engage with your posts, scored against your ICP and sent to your CRM.
Try MagicPost