400개의 바이럴 LinkedIn 게시물이 가르쳐 준 것: 16개의 후크 공식, 현재 오픈 소스 Claude Code 기술

작성자

카테고리:

← 피드로
DEV Community · Sergey Bulaev · 2026-07-06 개발(SW)

I spent a month doing something slightly unhinged: I pulled 400 above-average LinkedIn posts across 10 verticals, ran them through a fleet of analysis agents, and reverse-engineered why their first lines worked. Then I turned the findings into open-source skills for Claude Code and Codex.

This post covers what the data said, what surprised me when I pressure-tested the skills, and where to get them.

The dataset

400 posts that outperformed their authors’ baselines, spread across 10 verticals: founders, marketing, engineering, sales, HR, finance, design, data, product, and personal brands. For each post I tracked the hook (first 210 characters, everything before “… see more”), the structure, the engagement split (comments vs reposts vs likes vs saves), and the author’s baseline so a big account’s average day did not read as a small account’s viral hit.

The single strongest signal was boring and consistent: the hook does most of the work, and hooks are formulaic. Not “formulaic” as an insult. The same 16 first-line patterns kept producing the outliers, vertical after vertical.

The 16 hook formulas

Ten of them are long-form thought-leadership patterns, with reference engagement numbers from verified 2025-2026 posts:

Formula Example multiplier Platform Risk Anaphora 4,240 eng R.I.P. Obituary (“the era of X is over”) 3,822 Contrarian + Historical Receipts 3,083 Odd-Precision Money Ledger (“$4,217.38, not ~$4k”) 9.4x baseline Paid-vs-Free Reversal 19.64x Year-over-Year Pivot 3.74x Curiosity-Gap Teaser 4.25x Time-Anchor Confession, Self-Proving Meta, Comment-Gate 1,000-3,000

The other six came out of the 400-post corpus and skew shorter and more emotional: the Emotional Cold-Open, the Permission Slip (“you’re allowed to ship ugly”), the Bait-and-Switch Reversal, Named Gratitude, Explain-to-Kids, and Status-Strip Humility.

The non-obvious part is that each formula has a primary engagement goal. Comment-gate formulas cap reach but build lists. Named Gratitude gets reposts. Explain-to-Kids gets saves. Picking a formula by topic alone is how you get a technically-viral post that earns the wrong currency. So the skill asks “what do you want this post to earn?” first and only then narrows by topic.

Turning research into skills

I packaged the whole workflow as a bundle of 10 skills for Claude Code and Codex: a post writer built on the 16 formulas, a humanizer that strips AI tells, a pre-publish audit against current algorithm heuristics, comment and reply drafters, a hook extractor that reverse-engineers any viral post you paste, a content planner, a profile optimizer, engager analytics, and a thread monitor.

Install:

/plugin marketplace add sergebulaev/linkedin-skills

Enter fullscreen mode Exit fullscreen mode

or

npx skills add sergebulaev/linkedin-skills

Enter fullscreen mode Exit fullscreen mode

Repo: https://github.com/sergebulaev/linkedin-skills (MIT, ~300 stars at the time of writing).

The part that surprised me: skills fail under pressure in weird ways

Shipping the skills was the easy half. The interesting engineering came from testing them the way you would test code.

I borrowed the “pressure test” idea from the TDD-for-skills crowd: put an agent in a realistic high-pressure scenario (a founder walks on stage in 4 minutes, wrote the draft themselves, loves it as-is, wants it published NOW), hand it a draft stuffed with AI tells, and see whether the skill still does its job.

Three findings worth stealing if you write agent skills:

1. Ambiguous judgment caveats leak. Enumerated rules hold. My humanizer skill had a well-intentioned rule: “Preserve the user’s voice.” Under pressure, 1 run in 4 read that as “do not touch their draft” and published the AI-slop verbatim. The audit skill next door, which uses a blunt enumerated list of auto-fail blockers, held 100% of the time under the same pressure. The fix was a precedence rule: scrubbing is always in scope; “preserve voice” means quirks and claims, not corporate-speak. Re-test: 0 skips in every run since.

2. A missing enumeration is a guaranteed miss. When I ran the same regression across sibling bundles, one platform’s humanizer kept letting “What do you think? Drop your thoughts below.” through. Not because the agent caved to pressure. Because that bundle’s scrub rules simply had no dead-closer section. Agents follow enumerated rules with impressive fidelity, which cuts both ways: whatever you forgot to enumerate does not exist.

3. Some popular advice does not replicate. The skill-writing community has a finding that prohibition lists (“never do X”) backfire under competing incentives. I A/B tested it: same skill, one variant with the prohibition list, one rewritten as a positive recipe, both against a stakeholder actively demanding the banned patterns. Result: dead even, zero banned emissions in both. On a strong model, concrete checkable prohibitions work fine. What actually leaks is vague judgment language. Test on your own stack before refactoring everything.

The family

The same architecture now exists for other platforms: X, Instagram, YouTube, Threads, TikTok, and Facebook. Each is platform-native (the TikTok humanizer checks whether a line survives being said out loud in one breath; the X one counts emoji as two characters against the 280 limit).

Everything is MIT. If you find a hook pattern the corpus missed, or a pressure scenario that breaks a skill, issues and PRs are open.

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다