social-media

Redacta publicaciones para redes sociales específicas de cada plataforma, con contenido respaldado por investigación e imágenes complementarias generadas. Admite publicaciones de LinkedIn (1.300 caracteres con tono profesional) e hilos de Twitter/X (280 caracteres por tuit con formato 1/🧵). Requiere delegar la investigación a un subagente antes de redactar, y luego leer los hallazgos para garantizar precisión y relevancia. Genera automáticamente imágenes llamativas para redes sociales usando la herramienta generate_social_image con composiciones audaces y de alto contraste optimizadas para tamaños pequeños...

npx skills add https://github.com/langchain-ai/deepagents --skill social-media

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)

Más skills de langchain-ai

langgraph-docs
langchain-ai
Accede a la documentación de LangGraph para construir agentes con estado y flujos de trabajo multiagente. Obtiene la documentación oficial de LangGraph en Python que cubre máquinas de estado, diseño de agentes basado en grafos y patrones de intervención humana. Prioriza la documentación relevante según el tipo de consulta: guías de implementación para preguntas de procedimiento, páginas conceptuales para teoría, tutoriales para ejemplos completos y referencias de API para detalles técnicos. Selecciona automáticamente de 2 a 4 URL de documentación más relevantes y recupera su contenido para responder...
official
langgraph-human-in-the-loop
langchain-ai
Pausar la ejecución del grafo para revisión, aprobación o validación humana, luego reanudar con su entrada. Requiere tres componentes: un checkpointer (InMemorySaver o PostgresSaver), un ID de hilo en la configuración y cargas de interrupción serializables en JSON. interrupt(value) pausa y expone datos; Command(resume=value) reanuda y devuelve ese valor al nodo pausado. Todo el código antes de interrupt() se re-ejecuta al reanudar, por lo que los efectos secundarios deben ser idempotentes (usar upsert, no insert). Soporta flujos de aprobación,...
official
web-research
langchain-ai
Usa esta habilidad para solicitudes relacionadas con investigación web; proporciona un enfoque estructurado para realizar investigaciones web exhaustivas.
official
langchain-oss-primer
langchain-ai
SIEMPRE EMPIEZA AQUÍ para cualquier proyecto de construcción de agentes LangChain, Deep Agents o LangGraph. Punto de partida requerido antes de elegir otras habilidades o escribir cualquier…
official
skill-creator
langchain-ai
Guía para crear habilidades efectivas que extiendan las capacidades del agente con conocimientos especializados, flujos de trabajo o integraciones de herramientas. Usa esta habilidad cuando el usuario…
official
deep-agents-memory
langchain-ai
Backends de memoria y archivos conectables para Deep Agents con opciones de enrutamiento efímero, persistente e híbrido. Cuatro tipos de backend: StateBackend (efímero, con ámbito de hilo), StoreBackend (persistente entre sesiones), FilesystemBackend (acceso real a disco para desarrollo local) y CompositeBackend (enruta diferentes rutas a diferentes backends). FilesystemMiddleware proporciona seis herramientas de operación de archivos: ls, read_file, write_file, edit_file, glob, grep. CompositeBackend utiliza coincidencia de prefijo más largo para enrutar...
official
deep-agents-orchestration
langchain-ai
Orquestrar subagentes, planificar tareas de múltiples pasos y requerir aprobación humana para operaciones sensibles. Delegar trabajo a subagentes especializados mediante la herramienta de tareas; los subagentes personalizados admiten conjuntos de herramientas aislados y mensajes del sistema, mientras que el subagente "de propósito general" predeterminado hereda la configuración del agente principal. Planificar y rastrear flujos de trabajo complejos con write_todos, organizando tareas en estados pendientes, en curso y completados; requiere un thread_id para la persistencia entre invocaciones. Implementar...
official
deep-agents-orchestration
langchain-ai
INVOCA ESTA HABILIDAD al usar subagentes, planificación de tareas o aprobación humana en Deep Agents. Cubre SubAgentMiddleware, TodoList para planificación e interrupciones HITL.
official