Home / Market / linkedin content generator

linkedin content generator

AI-powered LinkedIn content suite: generate posts, carousels, newsletters, and 30-day calendars with niche-specific SEO rules and a reinforcement-learning personal memory system.

skill★ 508360 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: linkedin-content-generator description: "AI-powered LinkedIn content suite: generate posts, carousels, newsletters, and 30-day calendars with niche-specific SEO rules and a reinforcement-learning personal memory system." category: marketing risk: safe source: community source_repo: sarveshtalele/linkedin-content-skill source_type: community date_added: "2026-06-04" author: sarveshkishortalele tags: [linkedin, content-creation, social-media, marketing, newsletter, carousel, content-calendar, reinforcement-learning, seo, copywriting] tools: [claude] license: "MIT" license_source: "https://github.com/sarveshtalele/linkedin-content-skill/blob/main/LICENSE"

---

LinkedIn Content Generator

Overview

A full LinkedIn content-creation suite for Claude Code that turns a topic and niche into publish-ready posts, multi-slide carousels, long-form newsletter editions, and 30-day content calendars — all wired through a personal reinforcement-learning memory system so every output improves as you give feedback.

Seven coordinated commands cover the full content workflow:

| Command | Purpose | |---|---| | /generate-post | Single ready-to-publish LinkedIn post | | /generate-carousel | Numbered slide content + caption | | /generate-newsletter | Long-form newsletter edition | | /generate-calendar | 30-day posting calendar with Markdown table | | /show-memory | Display current preferences and feedback log | | /feedback | Save what worked for future outputs | | /clear-memory | Reset memory to factory defaults |

All helper scripts are bundled inside skills/linkedin-content-generator/scripts/ and ship alongside this SKILL.md. They build richly engineered prompts, inject your saved preferences, and enforce LinkedIn SEO rules before Claude generates output. A local memory.md file persists your style, tone, successful hooks, and top-performing formats across every session.

When to Use This Skill

platform-native formatting that avoids common LinkedIn algorithmic pitfalls.

Prerequisites

Python 3.8 or later must be available in your shell path.

The skill is self-contained. Install it from the Agentic Awesome Skills library:

# Install via antigravity CLI (recommended)
antigravity install linkedin-content-generator

# Or copy manually into your Claude Code skills directory
cp -r skills/linkedin-content-generator ~/.claude/skills/

All six Python scripts and the default memory.md are bundled inside the scripts/ subdirectory of this skill. No additional cloning or downloads are required. No API keys, external services, or network access are needed.

How It Works

Architecture

User command (/generate-post ...)
        │
        ▼
SKILL.md parses $ARGUMENTS
        │
        ▼
Python script builds prompt
  • Injects LinkedIn SEO rules
  • Injects memory.md preferences
        │
        ▼
Claude generates publish-ready output
        │
        ▼
/feedback saves what worked → memory.md
        (loop — every future output improves)

Step 1: Set Up Your Niche (One-Time)

Open ~/.claude/skills/linkedin-content-generator/scripts/memory.md and update the

Primary Niche field:

## Core Identity & Tone
- **Primary Niche:** AI & Technology   ← change this

This field is injected into every prompt. Without it, the skill defaults to "AI & Technology".

Step 2: Generate Content

Run any of the seven commands described in the Commands Reference section below. Claude reads the script output and produces the final content directly in the chat.

Step 3: Save What Works

After each output, save successful patterns with /feedback:

/feedback the storytelling hook in this post got 3x more comments than usual

The feedback is appended to memory.md and automatically injected into all future generation prompts.

Commands Reference

/generate-post — Single LinkedIn Post

Generates a scroll-stopping, SEO-optimised LinkedIn text post.

Usage:

/generate-post <topic> [in <niche>] [tone: controversial|storytelling|educational|motivational|professional]

Parameters:

| Parameter | Default | Options | |---|---|---| | topic | required | any subject | | niche | "AI & Technology" | any industry | | tone | professional | professional · storytelling · controversial · educational · motivational | | style | list-based | list-based · text-only · storytelling · data-driven · contrarian |

Examples:

/generate-post why most developers fail at time management in Software Engineering tone: storytelling
/generate-post the real cost of technical debt in SaaS tone: controversial
/generate-post 5 things I wish I knew before my first startup in Entrepreneurship tone: educational style: list-based

Output structure:

  1. Scroll-stopping hook (2 lines, triggers "see more")
  2. Context / problem setup (2–3 short sentences)
  3. Core value (numbered list or bullets, max 7 items)
  4. Key takeaway (1–2 punchy sentences)
  5. Specific call to action
  6. 3–5 hashtags (broad + niche + community mix)

---

/generate-carousel — LinkedIn Carousel

Generates numbered slide content plus a ready-to-use LinkedIn caption.

Usage:

/generate-carousel <topic> [in <niche>] [<n> slides] [style: how-to|listicle|myth-busting|framework|story-arc]

Parameters:

| Parameter | Default | Options | |---|---|---| | topic | required | any subject | | niche | "AI & Technology" | any industry | | slides | 7 | 3–12 | | style | listicle | how-to · listicle · myth-busting · framework · story-arc |

Style guide:

| Style | Structure | |---|---| | how-to | Slide 1 = problem → slides 2–N = steps → last = result / CTA | | listicle | Each slide = one item with bold title + 1–2 sentence explanation | | myth-busting | Each slide = MYTH: [belief] → TRUTH: [reality] | | framework | Introduce a proprietary framework; each slide = one component | | story-arc | Slide 1 = before → middle = journey → last = after + CTA |

Examples:

/generate-carousel 10 prompt engineering mistakes 8 slides style: myth-busting
/generate-carousel building a second brain in Knowledge Management 7 slides style: how-to
/generate-carousel the PARA method for productivity in Personal Development style: framework

Output: Slides numbered 1 through N, followed by a LinkedIn caption with hook, teaser context, "Swipe →" prompt, and hashtags.

---

/generate-newsletter — LinkedIn Newsletter Edition

Generates a complete long-form newsletter edition structured for the LinkedIn Newsletter editor.

Usage:

/generate-newsletter <topic> [in <niche>] [length: short|medium|long] [title: "<series title>"]

Parameters:

| Parameter | Default | Options | |---|---|---| | topic | required | any subject | | niche | "AI & Technology" | any industry | | length | medium | short (~700 w) · medium (~1,200 w) · long (~2,000 w) | | title | auto-generated | optional series name |

Examples:

/generate-newsletter how AI is reshaping hiring in HR & Recruiting length: medium
/generate-newsletter the state of developer tools in 2026 in DevTools length: long title: "Build Layer Weekly"

Output structure:

  1. SEO-optimised H1 headline
  2. Opening hook (personal anecdote, statistic, or bold claim)
  3. Body sections with H2 subheadings
  4. Key takeaways (3–5 bullets)
  5. One specific action step for this week
  6. Engagement question to spark comments

---

/generate-calendar — 30-Day Content Calendar

Generates a Markdown table calendar with monthly theme, SEO keywords, and format breakdown.

Usage:

/generate-calendar [niche: <niche>] [days: <n>] [frequency: <freq>] [goal: awareness|engagement|leads|authority|growth]

Parameters:

| Parameter | Default | Options | |---|---|---| | niche | required | any industry | | days | 30 | any positive integer | | frequency | "3 times a week" | any posting cadence | | goal | growth | awareness · engagement · leads · authority · growth |

Goal guide:

| Goal | Strategy | |---|---| | awareness | Shareable, relatable, trending; heavy on carousels and contrarian takes | | engagement | Opinion posts, polls, questions, storytelling to maximise comments | | leads | Educational value posts + authority-building + clear DM CTAs | | authority | Deep insights, data-backed posts, thought leadership, newsletters | | growth | Mix viral formats (carousels, lists, contrarian) with high-value education |

Examples:

/generate-calendar niche: Fintech days: 30 frequency: daily goal: authority
/generate-calendar niche: Marketing Agencies days: 14 frequency: 5 times a week goal: leads

Output: Markdown table (# | Day | Format | Topic / Angle | Hook | CTA) + monthly theme + top 5 SEO keywords + format breakdown summary.

---

/show-memory — Display Preferences

Displays current memory contents: niche, tone, style, and all saved feedback entries.

Usage:

/show-memory

Output: Full memory.md content with entry count, primary niche, and tone summary.

---

/feedback — Save Successful Patterns

Appends a labelled feedback entry to memory.md. Future outputs automatically incorporate saved patterns.

Usage:

/feedback <what worked well>

Examples:

/feedback the contrarian hook "everyone is wrong about X" drove 400% more impressions
/feedback myth-busting carousels in the DevOps niche get 3x more saves than listicles
/feedback storytelling tone with a personal failure story outperforms data-driven in my audience

---

/clear-memory — Reset Memory

Resets memory.md to factory defaults. The command asks for confirmation before executing.

Usage:

/clear-memory

LinkedIn SEO Rules (Enforced Automatically)

The skill injects these rules into every prompt via the bundled scripts/utils.py. They are not optional; they are part of the prompt engineering that makes outputs platform-native.

Hook Engineering

personal story opener).

"Thrilled to announce...".

Readability Rules

Hashtag Strategy

Best Practices

for /generate-post and /generate-carousel runs.

story-arc perform differently and prevent audience fatigue.