home / skills / ailabs-393 / ai-labs-claude-skills / social-media-generator

social-media-generator skill

/packages/skills/social-media-generator

This skill creates platform-optimized social media posts for Twitter, Instagram, LinkedIn, and Facebook and saves them in organized folders.

npx playbooks add skill ailabs-393/ai-labs-claude-skills --skill social-media-generator

Review the files below or copy the command above to add this skill to your agents.

Files (7)
SKILL.md
4.9 KB
---
name: social-media-generator
description: This skill should be used when the user requests social media content creation for Twitter, Instagram, LinkedIn, or Facebook. It generates platform-optimized posts and saves them in an organized folder structure with meaningful filenames based on event details.
---

# Social Media Generator

## Overview

This skill enables creation of platform-optimized social media content for Twitter, Instagram, LinkedIn, and Facebook. It automatically generates posts tailored to each platform's best practices and saves them in an organized directory structure.

## When to Use This Skill

Use this skill when the user requests:
- Creation of social media posts for multiple platforms
- Content generation for specific events, announcements, or campaigns
- Platform-specific content optimization
- Organized storage of social media content

## Core Workflow

### Step 1: Gather Information

Collect the following details from the user (ask if not provided):
- Event/content name
- Date and time (format: DD-MM-YYYY-HHMM)
- Main message or announcement
- Target audience
- Key details to include
- Call-to-action
- Any specific hashtags or mentions
- Brand voice/tone preferences

### Step 2: Generate Platform-Specific Content

Create content for each platform using the templates in `assets/`:

**Twitter** (`assets/twitter_template.md`)
- Keep under 280 characters
- Concise and punchy
- 1-3 relevant hashtags
- Clear call-to-action
- Consider emojis for engagement

**Instagram** (`assets/instagram_template.md`)
- Engaging caption with hook in first line
- More detailed description
- 5-15 relevant hashtags
- Visual-focused messaging
- Line breaks for readability
- Encourage engagement

**LinkedIn** (`assets/linkedin_template.md`)
- Professional and informative tone
- Value-driven content
- Industry insights or takeaways
- 3-5 professional hashtags
- Bullet points for key information
- Discussion-prompting questions

**Facebook** (`assets/facebook_template.md`)
- Conversational and engaging
- Keep concise (under 250 chars for best engagement)
- 2-3 relevant hashtags
- Visual-focused
- Encourage comments and shares
- Include event details if applicable

### Step 3: Create Organized File Structure

Create the following directory structure in the project:

```
social-media/
├── twitter/
│   └── event-name-DD-MM-YYYY-HHMM.md
├── instagram/
│   └── event-name-DD-MM-YYYY-HHMM.md
├── linkedin/
│   └── event-name-DD-MM-YYYY-HHMM.md
└── facebook/
    └── event-name-DD-MM-YYYY-HHMM.md
```

**Filename Format:** `event-name-DD-MM-YYYY-HHMM.md`
- Use lowercase with hyphens for spaces
- Include date in format: day-month-year-time
- Example: `product-launch-15-03-2025-1400.md`

### Step 4: Write Content to Files

For each platform:
1. Generate platform-optimized content based on the templates
2. Create the platform-specific subdirectory if it doesn't exist
3. Write the content to the appropriately named markdown file
4. Include metadata at the bottom (platform, date, character count)

### Step 5: Review and Confirm

After generating all posts:
1. Provide a summary of created files
2. Highlight key points for each platform
3. Note any character count warnings
4. Offer to make revisions if needed

## Content Optimization Guidelines

### Character Limits
- Twitter: 280 characters
- Instagram: 2,200 characters (but concise is better)
- LinkedIn: 3,000 characters
- Facebook: Unlimited (but under 250 for best engagement)

### Hashtag Strategy
- Twitter: 1-3 focused hashtags
- Instagram: 5-15 relevant hashtags
- LinkedIn: 3-5 professional hashtags
- Facebook: 2-3 hashtags

### Tone Adaptation
- Twitter: Casual, conversational, timely
- Instagram: Visual-first, engaging, lifestyle-focused
- LinkedIn: Professional, insightful, value-driven
- Facebook: Friendly, community-focused, conversational

### Call-to-Action Best Practices
- Make it clear and specific
- Use action verbs
- Create urgency when appropriate
- Match platform conventions

## Example Usage

**User Request:**
"Create social media posts for our product launch event on March 15, 2025 at 2 PM. The product is an AI-powered productivity tool called TaskFlow."

**Execution:**
1. Gather additional details (key features, target audience, website link)
2. Generate four platform-specific posts
3. Create directory structure: `social-media/twitter/`, `social-media/instagram/`, etc.
4. Write files: `taskflow-launch-15-03-2025-1400.md` in each platform folder
5. Provide summary with file locations and key points

## Assets

This skill includes template files in the `assets/` directory:
- `twitter_template.md` - Twitter post structure and best practices
- `instagram_template.md` - Instagram caption format and guidelines
- `linkedin_template.md` - LinkedIn post structure and professional tone guide
- `facebook_template.md` - Facebook post format and engagement tips

These templates serve as reference for platform-specific requirements and best practices when generating content.

Overview

This skill generates platform-optimized social media posts for Twitter, Instagram, LinkedIn, and Facebook and saves them in a clear, event-based folder structure. It tailors tone, length, hashtags, and CTAs to each platform and writes Markdown files with metadata for easy reuse. Use it to rapidly produce consistent multi-platform campaigns and organized content archives.

How this skill works

Collect event and content details (name, date/time, message, audience, hashtags, brand voice, CTA) then generate a post for each platform using templates and best-practice rules. The skill creates platform subfolders and writes files named with a lowercase, hyphenated event name and DD-MM-YYYY-HHMM timestamp. Each file contains the post text and bottom metadata (platform, date, character count). Finally, it returns a summary of created files and any character warnings.

When to use it

  • You need coordinated posts for a single event, announcement, or campaign across multiple platforms.
  • You want platform-specific optimization for tone, length, and hashtag strategy.
  • You need an organized archive of social copy with reproducible filenames.
  • You want quick drafts to iterate on and request revisions from a team.

Best practices

  • Provide full event details and desired brand voice up front to generate accurate copy.
  • Keep Twitter concise (<=280 chars) and Instagram visually focused with line breaks and more hashtags.
  • Use 3–5 professional hashtags on LinkedIn and limit Facebook copy for higher engagement.
  • Name files using lowercase hyphens and the exact DD-MM-YYYY-HHMM timestamp to avoid collisions.
  • Review character counts and ask for revisions for tone or audience adjustments before scheduling.

Example use cases

  • Create launch posts for a product debut with tailored CTAs per platform and saved Markdown files.
  • Generate announcement posts for a webinar across LinkedIn and Facebook with discussion prompts and registration links.
  • Prepare event reminders and follow-up posts with consistent filenames for later analytics.
  • Produce weekly campaign variations adapted to each network’s best practices for A/B testing.

FAQ

Can filenames be customized?

Yes—files use a default event-name-DD-MM-YYYY-HHMM pattern but the event name and timestamp can be adjusted before saving.

Does the skill enforce character limits?

It applies platform character guidelines and flags any warnings; final trimming or edits are recommended before publishing.