happycapy-ai/happycapy-skills/happycapy-social-publisher
Claude Code and agent skill by happycapy-ai/happycapy-skills
- community
Checking that the SKILL.md file is still in the repository.
HappyCapy-specific skill for publishing content to 13+ social media platforms (Instagram, Twitter, LinkedIn, Threads, Facebook, TikTok, YouTube, Pinterest, Reddit, Telegram, Discord, etc.) simultaneously with platform-optimized styles, optional AI-generated media (video/image), and smart error handling. Uses Late MCP integration available in HappyCapy environment. Use when you need to cross-post to social media, create multi-platform marketing content, share announcements across platforms, publish with platform-specific adaptations, generate AI media for posts, or manage social media publishing workflows. Supports interactive content creation with user-guided platform selection, media generation choices, preview before publish, and automatic retry with character limit adjustments.
Install
npx vskill@latest install happycapy-ai/happycapy-skills/happycapy-social-publisherSKILL.md
HappyCapy Social Media Publisher
Publish content to 13+ social media platforms with platform-optimized styles, optional AI-generated media, and smart error handling.
Environment Note: This skill is designed for HappyCapy environment with fixed paths:
- Claude config:
/home/node/.claude.json - MCP config:
/home/node/.mcp.json - Claude settings:
/home/node/.claude/settings.local.json - User home:
/home/node
Prerequisites Check
1. Check Late MCP Configuration
Read /home/node/.mcp.json to verify Late MCP is configured.
If Late MCP not configured, execute automatic setup:
Automatic Setup Flow
Step 1: Install uv (if needed)
Step 2: Interactive API Key Setup
Ask user via AskUserQuestion tool:
If user needs to register:
- Guide user to visit https://getlate.dev (free tier: 20 posts/month)
- Instruct: Settings → API Keys → Create API key
- Ask user to provide the key (format:
sk_xxxxxxxxxxxxxxxx)
If user has key:
- Request API Key input via AskUserQuestion
- Validate format starts with
sk_
Step 3: Auto-Configure Files
Read and intelligently merge configurations:
For /home/node/.mcp.json:
For /home/node/.claude.json:
For /home/node/.claude/settings.local.json:
Step 4: Restart Prompt
Display message:
2. Verify Setup and Connected Platforms
In the new conversation, verify configuration:
Handle results:
- Success with accounts: Proceed to platform selection workflow
- Success but no accounts: Guide user to connect platforms
- Error: Display error message, suggest checking API key validity
If no accounts found:
Workflow
Step 1: Analyze Content
Extract from user's input:
- Core message: Main topic or announcement
- Key points: 3-5 bullet points to emphasize
- Tone: Professional, casual, inspiring, technical, etc.
- Call-to-action: Link, question, or engagement prompt
- Media suggestion: Does content benefit from video or image?
Step 2: Platform Selection
Show user their connected platforms from accounts_list result.
Late API supports 13+ platforms including:
- Instagram, Twitter/X, LinkedIn, Threads
- Facebook, TikTok, YouTube, Pinterest
- Reddit, Telegram, Discord, Mastodon
- And more
Display the platforms that the user has actually connected (from accounts_list).
Ask user to select which platforms to publish to:
- List all their connected platforms dynamically
- Allow selecting all or specific subset
- Explain any platform-specific requirements if needed
Step 3: Media Generation (Optional)
Ask user if they want AI-generated media:
Option A: Generate AI Video
- Use
/generate-videoskill with appropriate prompt - Duration: 6-8 seconds (optimal for social media)
- Save to
./outputs/directory - Get video URL for publishing
Option B: Generate AI Image
- Use
/generate-imageskill - Save to
./outputs/directory - Get image URL for publishing
Option C: User Upload
- Ask user to provide media URL or file path
Option D: Text Only
- Proceed without media
Step 4: Content Adaptation
Generate platform-specific versions of content following these guidelines:
Instagram (max 2,200 chars):
- Visual storytelling style
- Emoji-rich, engaging narrative
- 8 relevant hashtags (mix popular + niche)
- Emphasize visual elements
Twitter (max 280 chars):
- Concise and punchy
- Conversational tone
- 1-2 hashtags only
- Strong opening hook
LinkedIn (max 3,000 chars):
- Professional insights and analysis
- Value-driven content
- 3-5 industry hashtags
- Thought leadership angle
Threads (max 500 chars - STRICT):
- Casual, authentic story
- Personal touch and relatability
- NO hashtags (they don't work on Threads)
- Keep under 450 chars for safety buffer
For detailed platform strategies, see references/platform-styles.md
Step 5: Preview & Approval
Display all generated content to user:
Ask user:
- Approve all and publish?
- Edit specific platform content?
- Cancel?
If user requests edits, modify specific platform content and re-preview.
Step 6: Publish
Once approved, publish to selected platforms:
For multiple platforms simultaneously:
For single platform:
Step 7: Error Handling
Threads Character Limit Error:
If Threads post fails with "text too long" error:
- First retry: Remove adjectives, condense sentences (target: 400 chars)
- Second retry: Remove line breaks, simplify further (target: 350 chars)
- Third retry: Rewrite to essential message only (target: 300 chars)
- Manual fallback: Ask user to manually edit content
Each retry should maintain core message while shortening length.
Other Platform Errors:
- Media upload failures: Retry once, then fallback to text-only
- Rate limits: Show error, suggest trying again later
- Authentication errors: Guide user to reconnect platform at https://getlate.dev/accounts
Step 8: Results Report
After publishing, show results:
Save results to ./outputs/{timestamp}_report.json for reference.
MCP Tools Reference
List Connected Accounts
Returns array of connected platforms with:
id: Profile ID for publishingplatform: instagram, twitter, linkedin, threadsusername: Account username/handle
Create Single Post
Cross-Post to Multiple Platforms
Check Post Status
Returns post status: pending, published, failed
Upload Media
Returns upload URL. After uploading, get media URL for publishing.
Best Practices
Character Count Guidelines
Always count characters INCLUDING:
- Newlines (
\n= 1 char) - Spaces
- Punctuation
- Emojis (some count as 2 chars)
For Threads, aim for 400-450 chars to provide safety buffer.
Content Adaptation Strategy
- Maintain core message across all platforms
- Adapt style and tone to platform culture
- Adjust length to platform limits
- Use platform-appropriate hashtags
- Keep authentic voice (avoid AI clichés)
Hashtag Strategy
- Instagram: 8 hashtags (mix trending + niche)
- Twitter: 1-2 hashtags max
- LinkedIn: 3-5 professional hashtags
- Threads: 0 hashtags (they don't function)
Media Recommendations
- Video: 6-8 seconds, 16:9 ratio, under 100MB
- Image: 1080x1080px (square) or 1080x1350px (portrait)
- Multiple platforms: Use MP4 video or JPG/PNG images
Common Pitfalls
❌ Threads posts >500 chars - Always fails ✅ Keep under 450 chars with buffer
❌ Same content for all platforms - Low engagement ✅ Adapt style and hashtags per platform
❌ AI writing tells - "Excited to announce", "Dive deep" ✅ Natural, conversational language
❌ Too many hashtags on Twitter - Looks spammy ✅ 1-2 relevant hashtags maximum
❌ Using hashtags on Threads - They don't work ✅ No hashtags on Threads
Examples
Product Launch Example
User Input: "Launched HappyCapy - cloud-native AI platform. No more local setup!"
Instagram (348 chars):
Twitter (276 chars):
LinkedIn (689 chars):
Threads (413 chars):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/happycapy-social-publisher/skill.md
Popularity
- Repository stars
- 137
- Repository forks
- 30
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/happycapy-ai/happycapy-skills/happycapy-social-publisher)