$npx -y skills add langchain-ai/deepagents --skill social-mediaDrafts 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.
| 1 | # Social Media Content Skill |
| 2 | |
| 3 | ## Research First (Required) |
| 4 | |
| 5 | **Before writing any social media content, you MUST delegate research:** |
| 6 | |
| 7 | 1. Use the `task` tool with `subagent_type: "researcher"` |
| 8 | 2. In the description, specify BOTH the topic AND where to save: |
| 9 | |
| 10 | ``` |
| 11 | task( |
| 12 | subagent_type="researcher", |
| 13 | description="Research [TOPIC]. Save findings to research/[slug].md" |
| 14 | ) |
| 15 | ``` |
| 16 | |
| 17 | Example: |
| 18 | ``` |
| 19 | task( |
| 20 | subagent_type="researcher", |
| 21 | description="Research renewable energy trends in 2025. Save findings to research/renewable-energy.md" |
| 22 | ) |
| 23 | ``` |
| 24 | |
| 25 | 3. After research completes, read the findings file before writing |
| 26 | |
| 27 | ## Output Structure (Required) |
| 28 | |
| 29 | **Every social media post MUST have both content AND an image:** |
| 30 | |
| 31 | **LinkedIn posts:** |
| 32 | ``` |
| 33 | linkedin/ |
| 34 | └── <slug>/ |
| 35 | ├── post.md # The post content |
| 36 | └── image.png # REQUIRED: Generated visual |
| 37 | ``` |
| 38 | |
| 39 | **Twitter/X threads:** |
| 40 | ``` |
| 41 | tweets/ |
| 42 | └── <slug>/ |
| 43 | ├── thread.md # The thread content |
| 44 | └── image.png # REQUIRED: Generated visual |
| 45 | ``` |
| 46 | |
| 47 | Example: A LinkedIn post about "prompt engineering" → `linkedin/prompt-engineering/` |
| 48 | |
| 49 | **You MUST complete both steps:** |
| 50 | 1. Write the content to the appropriate path |
| 51 | 2. Generate an image using `generate_image` and save alongside the post |
| 52 | |
| 53 | **A social media post is NOT complete without its image.** |
| 54 | |
| 55 | ## Platform Guidelines |
| 56 | |
| 57 | |
| 58 | |
| 59 | **Format:** |
| 60 | - 1,300 character limit (show more after ~210 chars) |
| 61 | - First line is crucial - make it hook |
| 62 | - Use line breaks for readability |
| 63 | - 3-5 hashtags at the end |
| 64 | |
| 65 | **Tone:** |
| 66 | - Professional but personal |
| 67 | - Share insights and learnings |
| 68 | - Ask questions to drive engagement |
| 69 | - Use "I" and share experiences |
| 70 | |
| 71 | **Structure:** |
| 72 | ``` |
| 73 | [Hook - 1 compelling line] |
| 74 | |
| 75 | [Empty line] |
| 76 | |
| 77 | [Context - why this matters] |
| 78 | |
| 79 | [Empty line] |
| 80 | |
| 81 | [Main insight - 2-3 short paragraphs] |
| 82 | |
| 83 | [Empty line] |
| 84 | |
| 85 | [Call to action or question] |
| 86 | |
| 87 | #hashtag1 #hashtag2 #hashtag3 |
| 88 | ``` |
| 89 | |
| 90 | ### Twitter/X |
| 91 | |
| 92 | **Format:** |
| 93 | - 280 character limit per tweet |
| 94 | - Threads for longer content (use 1/🧵 format) |
| 95 | - No more than 2 hashtags per tweet |
| 96 | |
| 97 | **Thread Structure:** |
| 98 | ``` |
| 99 | 1/🧵 [Hook - the main insight] |
| 100 | |
| 101 | 2/ [Supporting point 1] |
| 102 | |
| 103 | 3/ [Supporting point 2] |
| 104 | |
| 105 | 4/ [Example or evidence] |
| 106 | |
| 107 | 5/ [Conclusion + CTA] |
| 108 | ``` |
| 109 | |
| 110 | ## Image Generation |
| 111 | |
| 112 | Every social media post needs an eye-catching image. Use the `generate_social_image` tool: |
| 113 | |
| 114 | ``` |
| 115 | generate_social_image(prompt="A detailed description...", platform="linkedin", slug="your-post-slug") |
| 116 | ``` |
| 117 | |
| 118 | The tool saves the image to `<platform>/<slug>/image.png`. |
| 119 | |
| 120 | ### Social Image Best Practices |
| 121 | |
| 122 | Social images need to work at small sizes in crowded feeds: |
| 123 | - **Bold, simple compositions** - one clear focal point |
| 124 | - **High contrast** - stands out when scrolling |
| 125 | - **No text in image** - too small to read, platforms add their own |
| 126 | - **Square or 4:5 ratio** - works across platforms |
| 127 | |
| 128 | ### Writing Effective Prompts |
| 129 | |
| 130 | Include these elements: |
| 131 | |
| 132 | 1. **Single focal point**: One clear subject, not a busy scene |
| 133 | 2. **Bold style**: Vibrant colors, strong shapes, high contrast |
| 134 | 3. **Simple background**: Solid color, gradient, or subtle texture |
| 135 | 4. **Mood/energy**: Match the post tone (inspiring, urgent, thoughtful) |
| 136 | |
| 137 | ### Example Prompts |
| 138 | |
| 139 | **For an insight/tip post:** |
| 140 | ``` |
| 141 | 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. |
| 142 | ``` |
| 143 | |
| 144 | **For announcements/news:** |
| 145 | ``` |
| 146 | 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. |
| 147 | ``` |
| 148 | |
| 149 | **For thought-provoking content:** |
| 150 | ``` |
| 151 | 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. |
| 152 | ``` |
| 153 | |
| 154 | ## Content Types |
| 155 | |
| 156 | ### Announcement Posts |
| 157 | - Lead with the news |
| 158 | - Explain the impact |
| 159 | - Include link or next step |
| 160 | |
| 161 | ### Insight Posts |
| 162 | - Share one specific learning |
| 163 | - Explain the context briefly |
| 164 | - Make it actionable |
| 165 | |
| 166 | ### Question Posts |
| 167 | - Ask a genuine question |
| 168 | - Provide your take first |
| 169 | - Keep it focused on one topic |
| 170 | |
| 171 | ## Quality Checklist |
| 172 | |
| 173 | Before finishing: |
| 174 | - [ ] Post saved to `linkedin/<slug>/post.md` or `tweets/<slug>/thread.md` |
| 175 | - [ ] Image generated alongside the post |
| 176 | - [ ] First line hooks attention |
| 177 | - [ ] Content fits platform limits |
| 178 | - [ ] Tone matches platform norms |
| 179 | - [ ] Has clear CTA or question |
| 180 | - [ ] Hashtags are relevant (not generic) |