New to Claude Skills? Learn how to install them →

jeremylongshore on GitHub

Generate Social

Free

Create on-brand social media templates as SVG.

Get this skill

Free · Opens the source repo

What Generate Social does

The Generate Social skill allows users to create platform-specific social media templates in SVG format directly from their active brand profile. By utilizing the brand's color palette and typography, this skill ensures that the generated graphics are consistent with the brand's identity. Users can specify a headline, an optional subhead, and a call-to-action, which will be incorporated into the design. The output is a scalable vector graphic, meaning it can be resized without losing quality, making it suitable for various social media platforms.

To use the skill, users must have an active brand profile created with the /brand-new command. The skill supports multiple social media formats, including Instagram posts, Open Graph cards, and YouTube thumbnails. Once the user specifies the desired platform and provides the necessary text, the skill generates the SVG file and saves it in the designated output directory. The generated templates include editable text zones, allowing users to customize their messages easily.

This skill is particularly useful for marketers, social media managers, and designers who need to produce high-quality, branded graphics quickly. By automating the design process, users can focus on crafting compelling content rather than spending time on graphic design. The integration with other skills, such as generate-graphic for photographic backgrounds, further enhances its utility, allowing users to create comprehensive social media assets efficiently.

Overall, Generate Social streamlines the process of creating visually appealing social media graphics, ensuring that they are both on-brand and optimized for the intended platform.

When to use it

Use this skill when you need to create social media graphics quickly and ensure they adhere to your brand's guidelines.

When not to use it

This skill may not be suitable for users who require highly customized or complex graphic designs that go beyond basic templates.

What you can build with it

Create an Instagram Post

Generate a 1080x1080 Instagram post announcing a product launch with your brand's colors and fonts.

Design an Open Graph Card

Produce a 1200x630 Open Graph card for a blog post, ensuring it meets social media preview standards.

Make a YouTube Thumbnail

Create a custom YouTube thumbnail sized appropriately for video uploads, complete with your brand's styling.

How to install Generate Social

View source

1. Install with the skills CLI

npx skills add jeremylongshore/claude-code-plugins-plus-skills/generate-social --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 jeremylongshore

Generate Social

Generates a platform-sized, on-brand social template as SVG from the active brand profile, with editable text zones the user can tweak afterward.

Overview

The generate-social skill turns a headline (and optional subhead and call-to-action) into a correctly sized social graphic that uses the brand's palette and fonts. Output is vector SVG, so it scales cleanly and needs no account, key, or network call. The generator (lib/social.mjs) lays out a brand band, a wrapped headline, an optional subhead, and an optional accent pill; the skill resolves the active profile, picks the platform, runs the generator, and saves the file. For a photographic background behind the template, the raster path lives in the generate-graphic skill.

Prerequisites

  • An active brand profile created with /brand-new (a brand/ directory, or brands/[slug]/). Read loads its color-system.json and typography.json.
  • Node.js on the PATH — the generator runs as node lib/social.mjs.
  • Write access to an output/ directory in the working repository.
  • A headline string; subhead and call-to-action are optional parameters.

Instructions

  1. Run /brand-status to confirm the active brand; if none exists, tell the user to run /brand-new and stop.

  2. Use Glob to locate the active brand directory, then Read and validate the profile with validateProfile. Stop with the offending field if validation fails.

  3. Choose the platform preset — instagram-square (default), instagram-story, og-card, or youtube-thumb. Ask the user when unspecified.

  4. Generate the template by running the node generator:

    import { loadProfile } from '../../lib/brand.mjs';
    import { buildSocial } from '../../lib/social.mjs';
    const profile = loadProfile(activeDir);
    const { svg, platform } = buildSocial(profile, {
      platform: 'instagram-square',
      headline: 'We just raised our Series A',
      subhead: 'Building the future of logistics',
      cta: 'Read the story',
    });
    
  5. Write the result with the Write tool to output/[slug]-[platform].svg.

  6. Hand the file to the visual-guardian subagent for a palette, contrast, and type pass; apply its fixes or surface its flags.

  7. Report the saved path and point out the editable zones so the user can customize or adapt the copy: id="headline", id="subhead", and id="cta".

Output

One SVG file under output/, named for the slug and platform:

output/northwind-instagram-square.svg
  • Sized to the chosen platform (for example 1080×1080 for instagram-square).
  • Text sits in editable zones — id="headline", id="subhead", id="cta" — that wrap automatically.
  • All copy is HTML-escaped before it enters the markup; colors come from the palette only. No raster is produced.

Error Handling

ConditionBehavior
No active brand profileStop and direct the user to /brand-new.
Profile fails validateProfileReport the offending field and stop.
Headline missingAsk the user for the headline before generating.
Unknown platform requestedList the four supported presets and ask the user to pick one.
Headline too long for the canvasThe generator wraps text; verify the result and shorten copy if the guardian flags overflow.

To troubleshoot a clipped layout, verify the copy length against references/platform-sizes.md, then re-run and re-check with the guardian.

Examples

Example — launch announcement post

/brand-make an instagram post announcing our Series A

Builds a 1080×1080 square with the brand band, a wrapped headline, and an accent call-to-action, saved as output/northwind-instagram-square.svg.

Example — link card

/brand-make an og card for the blog post

Generates a 1200×630 Open Graph card sized for link previews and hands it to the guardian.

Example — story cover

/brand-make an instagram story

Produces a 1080×1920 story, insetting text clear of the platform's top and bottom safe zones.

Resources

  • references/platform-sizes.md — every preset size, safe zones, the layout the generator produces, and how to add a preset.
  • Sibling skills: generate-logo for marks, and generate-graphic for photographic backgrounds — route between them with the /brand-make command.
  • Open Graph protocol — the metadata standard og-card targets.
  • Agent Skills documentation — how skills are authored and invoked.

Frequently asked questions about Generate Social

Similar skills