LinkedIn Content
Write high-engagement LinkedIn posts via inference.sh CLI.
Quick Start
curl -fsSL https://cli.inference.sh | sh && infsh login
# Research trending LinkedIn content patterns
infsh app run tavily/search-assistant --input '{
"query": "LinkedIn viral post examples 2024 high engagement patterns"
}'
# Post to X (cross-posting reference)
infsh app run x/post-create --input '{
"text": "Your cross-posted version here"
}'
Install note: The install script only detects your OS/architecture, downloads the matching binary from dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.
Post Anatomy
┌─────────────────────────────────────┐
│ HOOK (first 1-2 lines) │ ← Visible before "...see more"
│ │
│ ...see more ─────────────────────── │ ← The click gate
│ │
│ BODY (story/value) │
│ - Formatted with line breaks │
│ - Short paragraphs (1-2 sentences) │
│ - Lists or numbered points │
│ │
│ CTA (last 1-2 lines) │ ← Ask for engagement
│ │
│ #hashtags (3-5) │
└─────────────────────────────────────┘
Character Limits
| Element |
Limit |
| Post text |
3,000 characters |
| Visible before "see more" |
210 characters (2 lines on mobile) |
| Hashtags |
3-5 recommended |
| Comment |
1,250 characters |
| Article title |
100 characters |
| Article body |
125,000 characters |
The first 210 characters are everything. If the hook fails, nobody clicks "see more."
Hook Formulas
What Works
| Formula |
Example |
| Contrarian opinion |
"Unpopular opinion: code reviews are a waste of time." |
| Personal story opening |
"I got fired on a Tuesday. Best thing that ever happened." |
| Surprising stat |
"92% of startups fail. But not for the reason you think." |
| List promise |
"I've hired 200+ engineers. Here are 5 red flags I look for." |
| Bold statement |
"Your resume doesn't matter. Here's what does." |
| Before/after |
"3 years ago I couldn't get a single interview. Yesterday I turned down a FAANG offer." |
| Pattern interrupt |
"Stop. Before you send that cold email, read this." |
What Fails
❌ "Excited to announce that we are pleased to share..." (corporate speak)
❌ "In today's rapidly evolving landscape..." (cliché, says nothing)
❌ "I'd like to take a moment to..." (slow, no hook)
❌ "Just published a new blog post!" (no value proposition)
❌ Starting with a hashtag or emoji
Formatting Rules
Line Breaks Are Your Best Friend
❌ Dense paragraph:
"I learned something important about leadership last week. My team was struggling with a deadline and instead of pushing harder, I decided to remove scope. The result was incredible — we shipped faster and the quality was better. Sometimes less really is more."
✅ Formatted for LinkedIn:
"I learned something about leadership last week.
My team was struggling with a deadline.
Instead of pushing harder, I removed scope.
The result?
We shipped faster.
And the quality was BETTER.
Sometimes less really is more."
Formatting Guidelines
| Rule |
Why |
| One sentence per line |
Easier to scan on mobile |
| Blank line between paragraphs |
Visual breathing room |
| Short paragraphs (1-2 sentences) |
Mobile readability |
| Use line breaks for dramatic effect |
Creates pacing and suspense |
| Bold key phrases sparingly |
Draws eye to important points |
| Numbered lists for tips |
Scannable, shareable |
| Avoid walls of text |
Nobody reads them |
Post Types (Ranked by Engagement)
| Post Type |
Engagement |
Best For |
| Personal story + lesson |
Very High |
Building connection, authenticity |
| Contrarian take |
High |
Starting conversations, visibility |
| Carousel (document post) |
High |
Educational content, tips |
| List/tips (numbered) |
High |
Actionable value, saves |
| Poll |
Medium-High |
Easy engagement, data gathering |
| Photo + story |
Medium |
Humanizing, events |
| Video (native) |
Medium |
Demonstrations, personality |
| Link post |
Low |
Driving traffic (algorithm penalizes) |
| Reshare |
Very Low |
Don't bother — write original |
Link Posts Strategy
LinkedIn penalizes posts with links (reduces reach). Workarounds:
- Comment method: Post without link, add link as first comment, edit post to say "Link in comments"
- No-link method: Summarize the content in the post itself, mention "DM for link"
- If you must link: Put it at the very end, after strong standalone content
Content Pillars
Every LinkedIn creator should have 3-5 pillars they rotate through:
| Pillar |
What It Covers |
Example |
| Expertise |
Industry knowledge, how-tos |
"5 database patterns every engineer should know" |
| Stories |
Personal experiences, failures, wins |
"The hardest feedback I ever received" |
| Opinions |
Takes on industry trends, contrarian views |
"AI won't replace engineers. Bad managers will." |
| Behind the scenes |
Building in public, process |
"Here's our actual sprint retrospective format" |
| Curated insights |
Trends, data, research summaries |
"I analyzed 500 job postings. Here's what changed." |
Algorithm Signals
| Signal |
Impact |
How |
| Dwell time |
Very High |
Longer posts that people read fully |
| Comments |
Very High |
Ask questions, create discussion |
| Saves |
High |
Actionable, reference-worthy content |
| "See more" clicks |
High |
Strong hook that makes people expand |
| Shares |
Medium |
Relatable, quotable content |
| Reactions |
Medium |
Easy to get but weighted less |
| External links |
Negative |
Reduces reach — put links in comments |
| Editing after posting |
Negative |
Don't edit within first hour |
| Posting frequency |
3-5x/week |
Daily is fine, more than 1/day hurts |
Posting Schedule
| Day |
Best Time (your audience's timezone) |
| Tuesday-Thursday |
7-8 AM, 12 PM, 5-6 PM |
| Monday |
8 AM (people catching up) |
| Friday |
7-8 AM (before checkout) |
| Weekend |
Skip or light content |
Engage in comments for 30-60 minutes after posting — this is more important than the post itself.
Visual Content
# Generate a visual for a LinkedIn post
infsh app run infsh/html-to-image --input '{
"html": "<div style=\"width:1080px;height:1080px;background:#0f172a;display:flex;align-items:center;justify-content:center;padding:80px;font-family:system-ui;color:white;text-align:center\"><div><h1 style=\"font-size:56px;font-weight:900;line-height:1.2;margin:0\">The best code is the code you don't write</h1><p style=\"font-size:22px;opacity:0.5;margin-top:24px\">— Every senior engineer</p></div></div>"
}'
# Generate a professional photo for a personal post
infsh app run falai/flux-dev-lora --input '{
"prompt": "candid professional photo, person speaking at a conference podium, audience in background blurred, natural stage lighting, authentic moment, corporate event photography",
"width": 1200,
"height": 900
}'
CTA Formulas
End every post with engagement driver:
| CTA Type |
Example |
| Question |
"What's the worst career advice you've received?" |
| Agreement check |
"Agree or disagree?" |
| Share request |
"Repost if this resonates ♻️" |
| Save prompt |
"Save this for your next [situation] 🔖" |
| Recommendation ask |
"What would you add to this list?" |
| Experience ask |
"Has this happened to you?" |
Common Mistakes
| Mistake |
Problem |
Fix |
| Weak hook |
Nobody clicks "see more" |
Use hook formulas above |
| Wall of text |
Unreadable on mobile |
One sentence per line, blank lines between |
| Links in main post |
Algorithm reduces reach |
Put links in first comment |
| Too many hashtags |
Looks spammy |
3-5 relevant hashtags max |
| Corporate jargon |
"Leveraging synergies" = instant scroll past |
Write like you talk |
| Only self-promotion |
Audience stops engaging |
80% value, 20% promotion |
| No CTA |
No engagement direction |
Always end with a question or ask |
| Resharing without adding |
Near-zero reach |
Write original posts, quote instead |
| Posting and disappearing |
Kills comment momentum |
Engage for 30-60 min after posting |
| Being generic |
"Hard work pays off" = invisible |
Specific stories and data |
Related Skills
npx skills add inference-sh/skills@social-media-carousel
npx skills add inference-sh/skills@content-repurposing
npx skills add inference-sh/skills@twitter-thread-creation
Browse all apps: infsh app list
1---2name: linkedin-content3description: LinkedIn post writing with hook formulas, formatting rules, and engagement patterns. Covers post types, algorithm signals, character limits, and content pillars. Use for: LinkedIn posts, professional content, thought leadership, B2B content, personal branding. Triggers: linkedin post, linkedin content, linkedin writing, linkedin strategy, linkedin engagement, linkedin algorithm, linkedin hook, linkedin formatting, thought leadership, professional content, b2b content, linkedin growth4---56# LinkedIn Content78Write high-engagement LinkedIn posts via [inference.sh](https://inference.sh) CLI.910## Quick Start1112```bash13curl -fsSL https://cli.inference.sh | sh && infsh login1415# Research trending LinkedIn content patterns16infsh app run tavily/search-assistant --input '{17 "query": "LinkedIn viral post examples 2024 high engagement patterns"18}'1920# Post to X (cross-posting reference)21infsh app run x/post-create --input '{22 "text": "Your cross-posted version here"23}'24```2526> **Install note:** The [install script](https://cli.inference.sh) only detects your OS/architecture, downloads the matching binary from `dist.inference.sh`, and verifies its SHA-256 checksum. No elevated permissions or background processes. [Manual install & verification](https://dist.inference.sh/cli/checksums.txt) available.2728## Post Anatomy2930```31┌─────────────────────────────────────┐32│ HOOK (first 1-2 lines) │ ← Visible before "...see more"33│ │34│ ...see more ─────────────────────── │ ← The click gate35│ │36│ BODY (story/value) │37│ - Formatted with line breaks │38│ - Short paragraphs (1-2 sentences) │39│ - Lists or numbered points │40│ │41│ CTA (last 1-2 lines) │ ← Ask for engagement42│ │43│ #hashtags (3-5) │44└─────────────────────────────────────┘45```4647## Character Limits4849| Element | Limit |50|---------|-------|51| Post text | 3,000 characters |52| Visible before "see more" | ~210 characters (~2 lines on mobile) |53| Hashtags | 3-5 recommended |54| Comment | 1,250 characters |55| Article title | 100 characters |56| Article body | 125,000 characters |5758**The first 210 characters are everything.** If the hook fails, nobody clicks "see more."5960## Hook Formulas6162### What Works6364| Formula | Example |65|---------|---------|66| Contrarian opinion | "Unpopular opinion: code reviews are a waste of time." |67| Personal story opening | "I got fired on a Tuesday. Best thing that ever happened." |68| Surprising stat | "92% of startups fail. But not for the reason you think." |69| List promise | "I've hired 200+ engineers. Here are 5 red flags I look for." |70| Bold statement | "Your resume doesn't matter. Here's what does." |71| Before/after | "3 years ago I couldn't get a single interview. Yesterday I turned down a FAANG offer." |72| Pattern interrupt | "Stop. Before you send that cold email, read this." |7374### What Fails7576```77❌ "Excited to announce that we are pleased to share..." (corporate speak)78❌ "In today's rapidly evolving landscape..." (cliché, says nothing)79❌ "I'd like to take a moment to..." (slow, no hook)80❌ "Just published a new blog post!" (no value proposition)81❌ Starting with a hashtag or emoji82```8384## Formatting Rules8586### Line Breaks Are Your Best Friend8788```89❌ Dense paragraph:90"I learned something important about leadership last week. My team was struggling with a deadline and instead of pushing harder, I decided to remove scope. The result was incredible — we shipped faster and the quality was better. Sometimes less really is more."9192✅ Formatted for LinkedIn:93"I learned something about leadership last week.9495My team was struggling with a deadline.9697Instead of pushing harder, I removed scope.9899The result?100101We shipped faster.102And the quality was BETTER.103104Sometimes less really is more."105```106107### Formatting Guidelines108109| Rule | Why |110|------|-----|111| One sentence per line | Easier to scan on mobile |112| Blank line between paragraphs | Visual breathing room |113| Short paragraphs (1-2 sentences) | Mobile readability |114| Use line breaks for dramatic effect | Creates pacing and suspense |115| Bold key phrases sparingly | Draws eye to important points |116| Numbered lists for tips | Scannable, shareable |117| Avoid walls of text | Nobody reads them |118119## Post Types (Ranked by Engagement)120121| Post Type | Engagement | Best For |122|-----------|-----------|----------|123| **Personal story + lesson** | Very High | Building connection, authenticity |124| **Contrarian take** | High | Starting conversations, visibility |125| **Carousel (document post)** | High | Educational content, tips |126| **List/tips (numbered)** | High | Actionable value, saves |127| **Poll** | Medium-High | Easy engagement, data gathering |128| **Photo + story** | Medium | Humanizing, events |129| **Video (native)** | Medium | Demonstrations, personality |130| **Link post** | Low | Driving traffic (algorithm penalizes) |131| **Reshare** | Very Low | Don't bother — write original |132133### Link Posts Strategy134135LinkedIn penalizes posts with links (reduces reach). Workarounds:1361371. **Comment method**: Post without link, add link as first comment, edit post to say "Link in comments"1382. **No-link method**: Summarize the content in the post itself, mention "DM for link"1393. **If you must link**: Put it at the very end, after strong standalone content140141## Content Pillars142143Every LinkedIn creator should have 3-5 pillars they rotate through:144145| Pillar | What It Covers | Example |146|--------|---------------|---------|147| **Expertise** | Industry knowledge, how-tos | "5 database patterns every engineer should know" |148| **Stories** | Personal experiences, failures, wins | "The hardest feedback I ever received" |149| **Opinions** | Takes on industry trends, contrarian views | "AI won't replace engineers. Bad managers will." |150| **Behind the scenes** | Building in public, process | "Here's our actual sprint retrospective format" |151| **Curated insights** | Trends, data, research summaries | "I analyzed 500 job postings. Here's what changed." |152153## Algorithm Signals154155| Signal | Impact | How |156|--------|--------|-----|157| **Dwell time** | Very High | Longer posts that people read fully |158| **Comments** | Very High | Ask questions, create discussion |159| **Saves** | High | Actionable, reference-worthy content |160| **"See more" clicks** | High | Strong hook that makes people expand |161| **Shares** | Medium | Relatable, quotable content |162| **Reactions** | Medium | Easy to get but weighted less |163| **External links** | Negative | Reduces reach — put links in comments |164| **Editing after posting** | Negative | Don't edit within first hour |165| **Posting frequency** | 3-5x/week | Daily is fine, more than 1/day hurts |166167## Posting Schedule168169| Day | Best Time (your audience's timezone) |170|-----|------|171| Tuesday-Thursday | 7-8 AM, 12 PM, 5-6 PM |172| Monday | 8 AM (people catching up) |173| Friday | 7-8 AM (before checkout) |174| Weekend | Skip or light content |175176**Engage in comments for 30-60 minutes after posting** — this is more important than the post itself.177178## Visual Content179180```bash181# Generate a visual for a LinkedIn post182infsh app run infsh/html-to-image --input '{183 "html": "<div style=\"width:1080px;height:1080px;background:#0f172a;display:flex;align-items:center;justify-content:center;padding:80px;font-family:system-ui;color:white;text-align:center\"><div><h1 style=\"font-size:56px;font-weight:900;line-height:1.2;margin:0\">The best code is the code you don't write</h1><p style=\"font-size:22px;opacity:0.5;margin-top:24px\">— Every senior engineer</p></div></div>"184}'185186# Generate a professional photo for a personal post187infsh app run falai/flux-dev-lora --input '{188 "prompt": "candid professional photo, person speaking at a conference podium, audience in background blurred, natural stage lighting, authentic moment, corporate event photography",189 "width": 1200,190 "height": 900191}'192```193194## CTA Formulas195196End every post with engagement driver:197198| CTA Type | Example |199|----------|---------|200| Question | "What's the worst career advice you've received?" |201| Agreement check | "Agree or disagree?" |202| Share request | "Repost if this resonates ♻️" |203| Save prompt | "Save this for your next [situation] 🔖" |204| Recommendation ask | "What would you add to this list?" |205| Experience ask | "Has this happened to you?" |206207## Common Mistakes208209| Mistake | Problem | Fix |210|---------|---------|-----|211| Weak hook | Nobody clicks "see more" | Use hook formulas above |212| Wall of text | Unreadable on mobile | One sentence per line, blank lines between |213| Links in main post | Algorithm reduces reach | Put links in first comment |214| Too many hashtags | Looks spammy | 3-5 relevant hashtags max |215| Corporate jargon | "Leveraging synergies" = instant scroll past | Write like you talk |216| Only self-promotion | Audience stops engaging | 80% value, 20% promotion |217| No CTA | No engagement direction | Always end with a question or ask |218| Resharing without adding | Near-zero reach | Write original posts, quote instead |219| Posting and disappearing | Kills comment momentum | Engage for 30-60 min after posting |220| Being generic | "Hard work pays off" = invisible | Specific stories and data |221222## Related Skills223224```bash225npx skills add inference-sh/skills@social-media-carousel226npx skills add inference-sh/skills@content-repurposing227npx skills add inference-sh/skills@twitter-thread-creation228```229230Browse all apps: `infsh app list`