{"id":"linkedin-comment-drafter","name":"linkedin-comment-drafter","summary":"他人の投稿にURLからLinkedInコメントを作成したり、コメントを任意でフィードに再共有(再投稿)したりできます。","body":"# LinkedIn Comment Drafter\n\nProduce 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.\n\n## When to use\n\n- User pastes a LinkedIn post URL and says \"comment on this\", \"draft me a comment\", \"engage with this post\"\n- User wants to be among the first 3 commenters on a viral post\n- User wants to reply to a closing question the author asked\n- 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\")\n\n## Input\n\nA LinkedIn post URL in any of the standard shapes (see the top-level `SKILL.md` URL table).\n\n## Output\n\n1-3 draft comment variants, each with:\n- 200-350 char body, 1-2 short paragraphs, no em dashes, no hashtags\n- Assigned reaction type: `LIKE`, `PRAISE`, `EMPATHY`, `INTEREST`, `APPRECIATION`, or `ENTERTAINMENT`\n- Pattern label (which of the 7 templates was used)\n- Estimated engagement fit based on what the author typically responds to\n\nThen waits for user approval. On \"post\", calls Publora to react + comment.\n\n## Steps\n\n**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.\n\n1. **Parse the URL.** Use `lib.url_parser.parse_linkedin_url` to get `post_urn` and, if present, the post's activity ID.\n2. **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.\n3. **Detect the author's closing question.** If the post ends with a \"?\" line, the Answer-the-Closing-Question template usually wins.\n4. **Draft comment variants.** Pick 2-3 templates from `references/comment-templates.md` that fit the post's topic. Fill them with user-voice phrasing.\n5. **Run the humanizer pass.** Strip em dashes, AI vocab, uniform sentence rhythm. Add a specific number or named entity if missing.\n6. **Present drafts for approval** using `lib.approval.render_approval_card`. Include: target URL, each variant, reaction suggestion, a one-line \"why this template fits\".\n7. **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.\n\n## Reshare mode (repost with your thoughts)\n\nSame input as commenting (a post URL), but instead of commenting on the post you\nreshare it to the user's own feed, optionally with a short take above it. Use\nthis when the ask is \"repost\", \"reshare\", or \"share this with my network\".\n\n1. **Fetch the post** the same way (`lib.fetch_post(url)`), and check it is\n   reshareable: the Apify payload exposes `canShare` and the `shareUrn`\n   (`urn:li:share:*` / `urn:li:ugcPost:*`). If `canShare` is `False`, tell the\n   user the author disabled resharing and stop.\n2. **Draft the commentary** (optional). Keep it to one or two sentences in the\n   user's voice: a genuine take, endorsement, or the reason this is worth a\n   colleague's time. Run the same humanizer pass (no em dashes, no AI vocab). A\n   plain reshare with no commentary is also valid; skip the draft if the user\n   just wants to amplify.\n3. **Present for approval** with the original post URL and the drafted commentary\n   (or \"plain reshare, no commentary\").\n4. **On approval.** Call `lib.repost(post_url, commentary=<approved or None>)`.\n   The wrapper resolves the correct `shareUrn` from Apify (do not hand-convert an\n   `activity` id, the share id can differ), refuses posts with resharing off, and\n   routes Publora / manual / diy. Manual tier returns copy-paste steps (\"Repost\n   with your thoughts\"). The new reshare URN is `result[\"reshare\"][\"id\"]`.\n\nCommentary cap is 3000 chars (LinkedIn), but a tight one or two sentences\noutperforms a wall of text. This is the tool `linkedin-employee-advocacy` uses\nto reshare brand and colleague posts.\n\n## Templates (see `references/comment-templates.md` for full list)\n\n- **T1 Missing-Piece** (highest hit rate): `[Name] the [their-thesis] argument misses one piece.. [what-moved]. when [their-condition], the real differentiator is [specific-skill], not [their-focus].`\n- **T2 Answer-the-Closing-Question**: direct answer + one concrete example + why it matters\n- **T3 Data-First**: `half the [population] I see now [behavior]. the [old-assumption] broke around [date]. [new-rule].`\n- **T4 Practitioner Observation**: `when X the system does Y, when X' it does Y'. that's when [outcome] kicks in.`\n- **T5 Counter-with-Concession**: agree on point 1, push back on point 2 with one rooted reason\n- **T6 Quotable-Reframe**: one line under 12 words + expansion\n- **T7 Ask-a-Sharper-Question**: `the harder version of this question is..`\n\n## Hard rules\n\nGlobal voice rules: see root `SKILL.md` §Voice rules. Additional skill-specific rules:\n\n- 200-350 chars. Don't exceed.\n- Always capitalize the author's name when addressing them by first name.\n- No hashtags, no emoji unless the post itself uses them.\n- No mention of the user's own product by name. Describe what they do instead.\n- Never paste generic praise (\"Great post!\", \"This.\", \"100%\"). The skill refuses.\n- Skip the comment if the post is sponsored, a generic listicle, or the author has already deleted it.\n\n## Example invocation\n\n> User: \"Comment on this: https://www.linkedin.com/posts/<author-handle>_activity-<id>\"\n>\n> Skill: [parses URL, fetches post, detects closing question \"Seen this in your market?\", drafts 3 variants]\n>\n> Skill returns: T2 Answer-the-Closing-Question variant as primary pick, with T1 Missing-Piece as backup, reaction `INTEREST`, one-line rationale, and approval prompt.\n\n## Files in this skill\n\n- `SKILL.md` — this file\n- `references/comment-templates.md` — the 7 templates with fill-in slots and real examples\n- `../../references/voice-rules.md` — the specific voice rules from user feedback memories\n\n## Related skills\n\n- `linkedin-reply-handler` — if you're replying to a comment (not posting top-level)\n- `linkedin-humanizer` — for aggressive AI-tell scrubbing\n- `linkedin-hook-extractor` — if you want to use the author's own hook as the basis for your reply\n- `linkedin-employee-advocacy` — the program that uses reshare mode to amplify brand and colleague posts across a team","author":"@sergebulaev","ownerProfile":null,"authorContacts":null,"sourceUrl":"https://github.com/sergebulaev/linkedin-skills/tree/main/.codex-marketplace/linkedin-skills/skills/linkedin-comment-drafter","license":"MIT","category":null,"lang":"en","tokens":1741,"stars":0,"calls30d":1,"claimed":false,"visibility":"public","origin":"crawler","version":"0.1.0","createdAt":"2026-08-22","updatedAt":"2026-08-22","files":[{"path":"references/comment-templates.md","size":7855,"sha256":"496fcb4852c2e79e601eaf23ac79a978b3fe3096076518269254e00bf427be17"},{"path":"references/examples.md","size":433,"sha256":"3c1d891b8c66b9654d73ddbe62a359720ec389cc3b2be489810cc8e00dee47c3"},{"path":"references/voice-rules.md","size":96,"sha256":"2f34986133c7ab70c00ebc92fade4e060dcff903e0c1cb3dca64e0f96bebe701"}],"requires":{"mcp":[],"tools":[]},"safety":{"flags":[],"scannedAt":"2026-08-22","hasScripts":false,"networkEndpoints":["www.linkedin.com"]}}