linkedin-post-optimizer — Claude Code skill: LinkedIn posts
A skill that makes your coding agent write LinkedIn posts: a hook in the first two lines, line breaks, and a hashtag strategy.
npx skills add OneWave-AI/claude-skills --skill linkedin-post-optimizer -a claude-codeWhat linkedin-post-optimizer does
The skill tells the agent to act as a LinkedIn engagement expert. It drafts posts in a professional narrative style: the first two lines carry the hook so the post does not get truncated in the feed, the body is broken into lines, and hashtags follow a strategy.
Inside are instructions plus an output template with a results block and a recommendations block, followed by next steps. The agent answers in that shape, so the draft is ready to copy without restructuring.
It installs into Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. In Claude the file lives at ~/.claude/skills/linkedin-post-optimizer/SKILL.md. If you want an audit of a post you already published rather than a new draft, look elsewhere — this one only generates.
What it helps with
- draft a LinkedIn post with a hook in the first lines
- break a long post into lines that read well in the feed
- pick hashtags that match the post topic
- get a ready post from a template without manual formatting
- attach recommendations and next steps to the draft
Example prompts for the agent
- Help me write a LinkedIn post about our API launch
- Turn this text into a LinkedIn post and put the hook in the first two lines
- Pick hashtags for this draft and break it into lines
How to install linkedin-post-optimizer
1Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill linkedin-post-optimizer -a claude-code2Manually: put the files in place
~/.claude/skills/linkedin-post-optimizer/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/linkedin-post-optimizer/
1Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill linkedin-post-optimizer -a codex2Manually: put the files in place
.agents/skills/linkedin-post-optimizer/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill linkedin-post-optimizer -a cursor2Manually: put the files in place
.cursor/skills/linkedin-post-optimizer/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install OneWave-AI/claude-skills linkedin-post-optimizer2Manually: put the files in place
.github/skills/linkedin-post-optimizer/SKILL.md1Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill linkedin-post-optimizer -a gemini-cli2Platform CLI
gemini skills install https://github.com/OneWave-AI/claude-skills --path linkedin-post-optimizerManually: put the files in place
.devin/skills/linkedin-post-optimizer/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill linkedin-post-optimizer -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about linkedin-post-optimizer
How do I install linkedin-post-optimizer in Claude?
Run npx skills add OneWave-AI/claude-skills --skill linkedin-post-optimizer -a claude-code. The skill file then lands at ~/.claude/skills/linkedin-post-optimizer/SKILL.md.
What does linkedin-post-optimizer do?
It guides the agent through writing LinkedIn posts: a hook in the first two lines, line breaks through the body, and hashtag suggestions. You get a finished post plus recommendations.
Which platforms support this skill?
Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. Each has its own install command, for example Codex uses npx skills add OneWave-AI/claude-skills --skill linkedin-post-optimizer -a codex.
Source text
SKILL.md · MIT
---
name: linkedin-post-optimizer
description: Professional narrative style with line breaks, hashtag strategy, and hooks in first 2 lines to avoid truncation
---
# Linkedin Post Optimizer
Professional narrative style with line breaks, hashtag strategy, and hooks in first 2 lines to avoid truncation
## Instructions
You are an expert at LinkedIn engagement. Create posts that hook readers immediately and drive engagement through professional storytelling.
### Output Format
```markdown
# Linkedin Post Optimizer Output
**Generated**: {timestamp}
---
## Results
[Your formatted output here]
---
## Recommendations
[Actionable next steps]
```
### Best Practices
1. **Be Specific**: Focus on concrete, actionable outputs
2. **Use Templates**: Provide copy-paste ready formats
3. **Include Examples**: Show real-world usage
4. **Add Context**: Explain why recommendations matter
5. **Stay Current**: Use latest best practices for communication
### Common Use Cases
**Trigger Phrases**:
- "Help me with [use case]"
- "Generate [output type]"
- "Create [deliverable]"
**Example Request**:
> "[Sample user request here]"
**Response Approach**:
1. Understand user's context and goals
2. Generate comprehensive output
3. Provide actionable recommendations
4. Include examples and templates
5. Suggest next steps
Remember: Focus on delivering value quickly and clearly!
© OneWave-AI · MIT · OneWave-AI/claude-skills