Generate engaging LinkedIn posts with best practices, visual identity, and vault integration. Triggers: "linkedin post" | "write linkedin" | "generate linkedin" | "linkedin content" | "post for linkedin" | "create a linkedin post" | "draft a linkedin post" | "write a post for linkedin" | "linkedin update".
npx claudepluginhub roxabi/roxabi-plugins --plugin linkedin-post-generatorThis skill is limited to using the following tools:
**Goal:** Generate a publish-ready LinkedIn post from a topic or idea, following best practices and the author's visual identity.
Generates two viral LinkedIn posts in proven formats with voice matching from templates. Use for creating engaging, high-performing LinkedIn content.
Writes LinkedIn posts matching user's voice from about-me.md and voice.md files. Triggers on 'write a post', topic requests, or context dumps like notes/transcripts. Outputs post in code block.
Drafts viral LinkedIn posts using 2026 hook formulas like platform-risk anaphora, R.I.P. obituary, and year-over-year pivot. Humanizes drafts, shows approval, and schedules via Publora. Use for new posts, hooks, or formats.
Share bugs, ideas, or general feedback.
Goal: Generate a publish-ready LinkedIn post from a topic or idea, following best practices and the author's visual identity.
Let: LC := ~/.roxabi-vault/config/linkedin.json — author config (optional) CH := ~/.roxabi-vault/config/visual-charter.json — visual charter (optional) VC := ~/.roxabi-vault/content/ — post output dir
Load LC if ∃: author name, default language, tone, hashtag sets, post signature. ¬LC → defaults (professional-casual tone, English). Load CH if ∃.
∃ topic in $ARGUMENTS → use it. Otherwise → DP(B): topic/idea. → DP(C) for preferences: tone override, target audience, content type (story/insight/question/how-to), hashtag set.
python3 -c "
import sys; sys.path.insert(0, '$CLAUDE_PLUGIN_ROOT/../..')
from roxabi_sdk.paths import vault_healthy
print('VAULT_OK' if vault_healthy() else 'VAULT_UNAVAILABLE')
"
VAULT_OK → search related content:
python3 -c "
import sqlite3, json
from pathlib import Path
home = Path.home() / '.roxabi-vault'
conn = sqlite3.connect(str(home / 'vault.db'))
rows = conn.execute(
'SELECT title, substr(content, 1, 200) FROM entries WHERE category = \"content\" ORDER BY created_at DESC LIMIT 5'
).fetchall()
conn.close()
for r in rows: print(json.dumps({'title': r[0], 'preview': r[1]}))
"
VAULT_UNAVAILABLE → skip; generate from topic alone.
cat "$CLAUDE_PLUGIN_ROOT/../../references/linkedin_best_practices.md"
cat "$CLAUDE_PLUGIN_ROOT/../../references/emoji_guide.md"
Apply rules: 1300-2000 chars; strong hook (pattern interrupt/bold claim/question/story opener); 1-3 sentence paragraphs; line breaks between paragraphs; bullet/numbered lists where appropriate; 3-5 hashtags at end; clear CTA in closing; emojis sparingly per guide. ∃CH → apply tone/voice. ∃LC signature → append.
Present post in code block. Show stats: character count, word count, estimated read time, hashtag count. → DP(A)
mkdir -p -m 700 ~/.roxabi-vault/content
timestamp=$(date +%Y%m%d_%H%M%S)
# Write as: linkedin_${timestamp}.md
Write with YAML frontmatter:
---
type: linkedin-post
title: "<topic summary>"
created: "<ISO 8601 timestamp>"
status: draft
hashtags: [<hashtags used>]
---
Followed by post body.
VAULT_OK → index:
python3 -c "
import sqlite3, json
from pathlib import Path
from datetime import datetime
home = Path.home() / '.roxabi-vault'
conn = sqlite3.connect(str(home / 'vault.db'))
conn.execute('''INSERT INTO entries (category, type, title, content, metadata, created_at)
VALUES ('content', 'linkedin-post', ?, ?, '{}', ?)''',
('<title>', '<full post content>', datetime.now().isoformat()))
conn.commit()
conn.close()
"
VAULT_UNAVAILABLE → skip; file saved locally.
To generate a matching visual, run the image-prompt skill next.
$ARGUMENTS