Linkedin post generator
Skill buildwitharup/cortex/intelligence/linkedin-post-generator
AI agent skills for operators who build systems, not just campaigns
npx -y skills add buildwitharup/cortex --skill linkedin-post-generatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Generate 3 LinkedIn post variants from any input — a topic, a news story, a lead insight, or raw notes. Each variant uses a different hook style. Returns the best posting time and recommended variant.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.5 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it
LinkedIn Post Generator
Turns any input into 3 ready-to-publish LinkedIn post variants, each with a different hook style. Works standalone or chained with other intelligence skills.
What this skill does
- Takes any input — topic, news story, lead insight, observation, raw notes
- Generates 3 post variants using different hook styles
- Scores each variant on hook strength (1–10)
- Recommends the strongest variant and best posting time
- Suggests relevant hashtags
Configuration
Before running, set in CONFIG.md:
YOUR_VOICE_STYLE= # e.g. direct and data-driven, warm and conversational
YOUR_LINKEDIN_TONE= # e.g. insight-led, contrarian, story-driven
YOUR_BANNED_PHRASES= # e.g. synergy, leverage, game-changer, excited to share
YOUR_ICP_INDUSTRY= # Used to make posts relevant to your audience
ANTHROPIC_API_KEY=
How to invoke
# CLI with a topic
agent run linkedin-post-generator --input "Your topic or observation here"
# CLI with no input — prompts you to enter one
agent run linkedin-post-generator
# Voice (after ACTIVATION.md setup)
"[your wake word] linkedin"
# Chain from another skill
agent run ai-news-digest | agent run linkedin-post-generator
agent run icp-radar | agent run linkedin-post-generator
# Scheduled — set your preferred days/times in crontab or Task Scheduler
# See ACTIVATION.md for scheduling instructions
Hook styles — the 3 variants
| Variant | Hook style | Best for |
|---|---|---|
| INSIGHT-LED | Leads with a specific number or data point | When you have a metric or result |
| STORY-LED | Opens with a scene or moment | When you have a client story or observation |
| CONTRARIAN | Challenges a common belief | When you disagree with conventional wisdom |
Claude system prompt (what runs under the hood)
You are a LinkedIn content strategist. Write 3 post variants from the following input.
Voice style: [YOUR_VOICE_STYLE]
Tone: [YOUR_LINKEDIN_TONE]
Target audience: [YOUR_ICP_TITLES] in [YOUR_ICP_INDUSTRY]
Never use these words or phrases: [YOUR_BANNED_PHRASES]
Input: [USER_INPUT]
Variant 1 — INSIGHT-LED: Lead with a specific number, result, or observation.
Variant 2 — STORY-LED: Open with a scene, moment, or situation.
Variant 3 — CONTRARIAN: Challenge a commonly held belief in your industry.
Rules for all variants:
- First line must stop the scroll — no "I am excited to share"
- No more than 200 words
- One clear point per post — do not try to say everything
- End with a question that invites comments or a statement that lands hard
- No bullet point lists — write in short paragraphs
- No hashtags in the body — add them at the end only
Also return:
- hook_score for each variant (1-10)
- recommended_variant with reason
- best_posting_time (day and time window based on B2B LinkedIn patterns)
- hashtags (5 relevant ones, no more)
Return valid JSON only.
Output format
{
"posts": [
{
"variant": "INSIGHT-LED",
"text": "Post text here...",
"hook_score": 8
},
{
"variant": "STORY-LED",
"text": "Post text here...",
"hook_score": 7
},
{
"variant": "CONTRARIAN",
"text": "Post text here...",
"hook_score": 9
}
],
"recommended_variant": "CONTRARIAN",
"recommendation_reason": "Strongest hook — challenges a belief your audience holds.",
"best_posting_time": "Tuesday or Wednesday, 7:30–9:00 AM your local time",
"hashtags": ["#AIMarketing", "#B2BSaaS", "#MarketingOps", "#GrowthMarketing", "#ContentStrategy"]
}
Chaining with other skills
# Full morning content workflow
agent run ai-news-digest | agent run linkedin-post-generator
# Lead insight to post
agent run icp-radar | agent run linkedin-post-generator
# Natural language
agent ask "Run the news digest and turn the top story into 3 LinkedIn post variants"
Related skills
ai-news-digest— feed today's news stories as inputicp-radar— feed lead insights as inputcompetitive-intel— feed competitor observations as input- See
ACTIVATION.mdfor voice and scheduled setup
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most social media skills give in ~1.0k tokens
Counted across 489 of the 492 authors here whose files we hold, read 2026-08-07
- Adapt formats and tone to each platformin 26 of 489, across 14 files
- Build content around three to five pillarsin 25 of 489, across 13 files
- Read product marketing context before asking questionsin 23 of 489, across 13 files
- Respond to all comments on your postsin 21 of 489, across 9 files
- Use the output flag to specify an output directoryin 14 of 489, across 4 files
- Generate output logo images with white backgroundin 13 of 489, across 4 files
- Fix failing generation scripts directlyin 13 of 489, across 4 files
- Ask user about HTML preview after logo generationin 12 of 489, across 3 files
- Run the download script with a URLin 12 of 489, across 3 files
- Implement exponential backoff for 429 responsesin 12 of 489, across 3 files
- Write the hook firstin 12 of 489, across 7 files
- Include a single clear call to actionin 12 of 489, across 9 files
Said here and by no other author read
- Write 3 post variants using different hook styles
- Score each variant on hook strength from 1 to 10
- Suggest 5 relevant hashtags
- Write in short paragraphs instead of bullet lists
- Add hashtags at the end only
- Return valid JSON only
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.