examples/content-builder-agent/skills/social-media/SKILL.md
Drafts engaging social media posts, writes hooks, suggests hashtags, creates thread structures, and generates companion images. Use when the user asks to write a LinkedIn post, tweet, Twitter/X thread, social media caption, social post, or repurpose content for social platforms.
npx skillsauth add langchain-ai/deepagents social-mediaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Before writing any social media content, you MUST delegate research:
task tool with subagent_type: "researcher"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"
)
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:
generate_image and save alongside the postA social media post is NOT complete without its image.
Format:
Tone:
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
Format:
Thread Structure:
1/🧵 [Hook - the main insight]
2/ [Supporting point 1]
3/ [Supporting point 2]
4/ [Example or evidence]
5/ [Conclusion + CTA]
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 images need to work at small sizes in crowded feeds:
Include these elements:
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.
Before finishing:
linkedin/<slug>/post.md or tweets/<slug>/thread.mdtesting
Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture learnings.
data-ai
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.
documentation
Writes and executes SQL queries from simple SELECTs to complex multi-table JOINs, aggregations, and subqueries. Use when the user asks to query a database, write SQL, run a SELECT statement, retrieve data, filter records, or generate reports from database tables.
documentation
Use when processing large PDFs, document collections, or bulk text extraction tasks that benefit from GPU-accelerated processing. Triggers when the user provides large documents or needs bulk document analysis.