social-posts — Claude Code skill: what it does, how to install
The social-posts skill for Claude Code generates social media content previews. It renders posts directly within the agent's interface as soon as content is written.
no license ★ 567 updated 2026-11-17
npx skills add DuskBotAI/duskbot --skill social-posts -a claude-codeWhat social-posts does
This skill visualizes posts for Instagram, LinkedIn, X, Threads, Facebook, TikTok, and Reels. It requires a posts.html template in the working directory, where the agent inserts content from a JSON block. The tool applies platform-specific constraints, including character limits and media formatting, to ensure an accurate preview.
The tool handles carousels, including text-based slides and video. To preview media, files must reside in the local directory with the template, as the chat interface restricts external content loading.
What it helps with
- preview how a social post appears on various platforms
- check text against platform character limits
- structure carousels for social content
- verify media and video formatting before posting
Example prompts for the agent
- Generate a preview for the LinkedIn post using
posts.html. - Show how this content looks on Instagram, including the carousel layout.
How to install social-posts
1Skills CLI (Vercel)
npx skills add DuskBotAI/duskbot --skill social-posts -a claude-code2Manually: put the files in place
~/.claude/skills/social-posts/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/social-posts/
1Skills CLI (Vercel)
npx skills add DuskBotAI/duskbot --skill social-posts -a codex2Manually: put the files in place
.agents/skills/social-posts/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add DuskBotAI/duskbot --skill social-posts -a cursor2Manually: put the files in place
.cursor/skills/social-posts/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install DuskBotAI/duskbot skills/social-posts2Manually: put the files in place
.github/skills/social-posts/SKILL.md1Skills CLI (Vercel)
npx skills add DuskBotAI/duskbot --skill social-posts -a gemini-cli2Platform CLI
gemini skills install https://github.com/DuskBotAI/duskbot --path skills/social-postsManually: put the files in place
.devin/skills/social-posts/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.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 social-posts
How to install social-posts in Claude Code?
Run npx skills add DuskBotAI/duskbot --skill social-posts -a claude-code. The setup details are available in ~/.claude/skills/social-posts/SKILL.md.
What does social-posts do?
The skill generates visual post mockups for social media directly in the chat, using an HTML template to render titles, media, and carousels.
What is required to use social-posts?
You need a posts.html file in your project folder. This file acts as a template for the JSON data that describes your post's content and media.