New to Claude Skills? Learn how to install them →

langchain-ai on GitHub

Social Media Content

Free

Create engaging social media posts with ease.

Get this skill

Free · Opens the source repo

What Social Media Content does

The Social Media Content Skill is designed to streamline the process of drafting social media posts across various platforms, including LinkedIn and Twitter/X. By integrating research and content generation, this skill ensures that your posts are not only engaging but also well-informed. Before generating any content, users must first conduct research using the specified task tool, which allows for accurate and relevant information to be gathered and saved for reference. This structured approach helps in crafting posts that resonate with the audience and adhere to platform-specific guidelines.

When creating a post, the skill requires both written content and a corresponding image, emphasizing the importance of visual appeal in social media. For LinkedIn posts, the skill guides users to follow a specific format that includes a compelling hook, insightful context, and a clear call to action, all while maintaining a professional tone. Similarly, for Twitter/X threads, it provides a structured format to ensure clarity and engagement. This dual focus on content and imagery is essential for maximizing impact in crowded social feeds.

The skill also includes best practices for image generation, ensuring that visuals are eye-catching and appropriate for the platform. Users can generate images with specific prompts that align with their post's theme, enhancing the overall presentation. Additionally, the skill incorporates a quality checklist to ensure that all elements of the post meet the required standards before finalization, which helps maintain a high level of professionalism and effectiveness in social media communication.

This skill is particularly useful for marketers, social media managers, and content creators who need to produce high-quality posts quickly and efficiently. By following the structured guidelines and leveraging research, users can enhance their social media presence and engagement with their audience.

When to use it

Use this skill when you need to create engaging social media content that adheres to platform-specific guidelines and includes compelling visuals.

When not to use it

This skill may not be suitable for casual or personal posts that do not require a structured approach or for platforms not covered by the skill.

What you can build with it

Creating a LinkedIn Post

Generate a professional LinkedIn post about industry trends, complete with a research-backed insight and an engaging image.

Drafting a Twitter Thread

Create a multi-part Twitter thread that outlines a specific topic, ensuring each tweet is concise and engaging.

Repurposing Existing Content

Take a blog post and adapt it into a social media post, using the skill to generate both text and visuals.

How to install Social Media Content

View source

1. Install with the skills CLI

npx skills add langchain-ai/deepagents/social-media --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by langchain-ai

Social Media Content Skill

Research First (Required)

Before writing any social media content, you MUST delegate research:

  1. Use the task tool with subagent_type: "researcher"
  2. In the description, specify BOTH the topic AND where to save:
task(
    subagent_type="researcher",
    description="Research [TOPIC]. Save findings to research/[slug].md"
)

Example:

task(
    subagent_type="researcher",
    description="Research renewable energy trends in 2025. Save findings to research/renewable-energy.md"
)
  1. After research completes, read the findings file before writing

Output Structure (Required)

Every social media post MUST have both content AND an image:

LinkedIn posts:

linkedin/
└── <slug>/
    ├── post.md        # The post content
    └── image.png      # REQUIRED: Generated visual

Twitter/X threads:

tweets/
└── <slug>/
    ├── thread.md      # The thread content
    └── image.png      # REQUIRED: Generated visual

Example: A LinkedIn post about "prompt engineering" → linkedin/prompt-engineering/

You MUST complete both steps:

  1. Write the content to the appropriate path
  2. Generate an image using generate_image and save alongside the post

A social media post is NOT complete without its image.

Platform Guidelines

LinkedIn

Format:

  • 1,300 character limit (show more after ~210 chars)
  • First line is crucial - make it hook
  • Use line breaks for readability
  • 3-5 hashtags at the end

Tone:

  • Professional but personal
  • Share insights and learnings
  • Ask questions to drive engagement
  • Use "I" and share experiences

Structure:

[Hook - 1 compelling line]

[Empty line]

[Context - why this matters]

[Empty line]

[Main insight - 2-3 short paragraphs]

[Empty line]

[Call to action or question]

#hashtag1 #hashtag2 #hashtag3

Twitter/X

Format:

  • 280 character limit per tweet
  • Threads for longer content (use 1/🧵 format)
  • No more than 2 hashtags per tweet

Thread Structure:

1/🧵 [Hook - the main insight]

2/ [Supporting point 1]

3/ [Supporting point 2]

4/ [Example or evidence]

5/ [Conclusion + CTA]

Image Generation

Every social media post needs an eye-catching image. Use the generate_social_image tool:

generate_social_image(prompt="A detailed description...", platform="linkedin", slug="your-post-slug")

The tool saves the image to <platform>/<slug>/image.png.

Social Image Best Practices

Social images need to work at small sizes in crowded feeds:

  • Bold, simple compositions - one clear focal point
  • High contrast - stands out when scrolling
  • No text in image - too small to read, platforms add their own
  • Square or 4:5 ratio - works across platforms

Writing Effective Prompts

Include these elements:

  1. Single focal point: One clear subject, not a busy scene
  2. Bold style: Vibrant colors, strong shapes, high contrast
  3. Simple background: Solid color, gradient, or subtle texture
  4. Mood/energy: Match the post tone (inspiring, urgent, thoughtful)

Example Prompts

For an insight/tip post:

Single glowing lightbulb floating against a deep purple gradient background, lightbulb made of interconnected golden geometric lines, rays of soft light emanating outward. Minimal, striking, high contrast. Square composition.

For announcements/news:

Abstract rocket ship made of colorful geometric shapes launching upward with a trail of particles. Bright coral and teal color scheme against clean white background. Energetic, celebratory mood. Bold flat illustration style.

For thought-provoking content:

Two overlapping translucent circles, one blue one orange, creating a glowing intersection in the center. Represents collaboration or intersection of ideas. Dark charcoal background, soft ethereal glow. Minimalist and contemplative.

Content Types

Announcement Posts

  • Lead with the news
  • Explain the impact
  • Include link or next step

Insight Posts

  • Share one specific learning
  • Explain the context briefly
  • Make it actionable

Question Posts

  • Ask a genuine question
  • Provide your take first
  • Keep it focused on one topic

Quality Checklist

Before finishing:

  • Post saved to linkedin/<slug>/post.md or tweets/<slug>/thread.md
  • Image generated alongside the post
  • First line hooks attention
  • Content fits platform limits
  • Tone matches platform norms
  • Has clear CTA or question
  • Hashtags are relevant (not generic)

Frequently asked questions about Social Media Content

Similar skills