morluto/generate-social-preview
morluto/generate-social-preview has 48 GitHub stars and 12 forks. GitHot measured +1 stars in 24 hours and +2 in 7 days. Last checked 2026-11-10 19:23 UTC. Last push 2026-10-15.
Agent skill for repository-aware social preview images, visual directions, and GitHub-ready exports.
Measured star growth
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalGenerate Social Preview
A reusable agent skill for creating social preview images grounded in what a repository actually does. It reads the project, shapes concise copy, and produces a card that stays readable at thumbnail size.
Use it for GitHub repository previews, package pages, launch posts, and link cards for skills, libraries, developer tools, SaaS products, and other projects. It supports new images, revisions, palette variants, and adapting a supplied style reference.
Install
Install for Cursor, Claude Code, Codex, GitHub Copilot, Gemini CLI, Cline, Windsurf, Amp, and other supported agents with the Skills CLI:
npx skills add morluto/generate-social-preview
In Claude Code, you can use the plugin marketplace for the skill's slash command and update management:
/plugin marketplace add morluto/generate-social-preview
/plugin install generate-social-preview@generate-social-preview
After installation, invoke /generate-social-preview:generate-social-preview.
For automatic updates, open /plugin, select the marketplace under
Marketplaces, and choose Enable auto-update. Choose one installation
method per agent to avoid duplicate copies.
The Skills CLI requires Node.js and npm. Select your agent in the installer,
or pass --agent claude-code, for example. Add --global for a user-wide
installation.
In Codex, install through its native plugin marketplace:
codex features enable plugins
codex plugin marketplace add morluto/generate-social-preview
codex plugin add generate-social-preview@generate-social-preview
Start a new Codex session after installation and invoke
$generate-social-preview:generate-social-preview.
Image tools
Use whatever image-generation and editing tools are available in your agent. The skill works with the host's tools, APIs, CLIs, or installed image skills. Use image viewing to inspect references and results. If generation is unavailable, the agent can still prepare the copy, reference choices, and a generation prompt.
The optional normalization helper needs Bash and either macOS sips or
ImageMagick's magick command.
Use
Open the repository you want to feature and ask your agent:
Use the generate-social-preview skill to create a GitHub social preview for this repository.
You can provide a direction or constrain a revision:
Use the generate-social-preview skill with a Swiss technical direction and a warm paper palette.
Use the generate-social-preview skill to revise this card. Change only the tagline;
keep the product name, palette, and illustration unchanged.
By default, the skill produces one candidate, checks the copy and composition, and saves a versioned image without overwriting an existing asset. GitHub previews are normalized to a 1280×640 PNG after visual inspection.
How it uses project references
Ground the imagery in the project, then choose the composition.
- Find relevant material. Follow image links in the README and docs, and inspect screenshots, illustrations, demos, example outputs, and brand assets in the repository.
- Use what fits. Pass useful images to the generator as project references, drawing on recognizable details, outputs, or brand cues. Existing material earns its place by helping communicate the project.
- Develop an idea when needed. If existing images do not fit, build a visual idea from the project's purpose, examples, or domain. A skill, library, and SaaS product may each call for a different approach.
Project references inform what the preview shows; style references inform how it looks. The composition can be a single image, typography, an interface, or a sequence when the steps help explain the project.
Visual directions
The bundled style guide offers retro editorial, Swiss technical, terminal collage, and diagrammatic print as starting points. Choose what best communicates the project: typography, a symbol, an illustration, an interface, an output, or a sequence when useful.
These are examples from specific projects:
| Open SaaS: retro editorial | REA: analysis artifacts and a sequence |
|---|---|
![]() |
![]() |
Credit to Vince Canger (@vincanger) for the Open SaaS artwork used as the retro editorial reference, shared in his original post, How I promoted my open source repo to 6k stars in 6 months.
The second reference was used for REA. Its workflow composition fits that example; each project's preview should use the composition that serves its own message.
Normalize an existing image
bash path/to/generate-social-preview/scripts/normalize-preview.sh \
candidate.png social-preview-v1.png
Replace path/to/generate-social-preview with the installed skill directory
(skills/generate-social-preview/ in this repository).
The helper accepts an approximately 2:1 source, writes a 1280×640 PNG, and
refuses to overwrite an existing output. It does not generate images or check
their visual quality.
Repository contents
- SKILL.md — workflow, copy guidance, and visual checks.
.claude-plugin/— Claude Code plugin and marketplace manifests..codex-plugin/— Codex plugin manifest..agents/plugins/marketplace.json— Codex marketplace catalog.- agents/openai.yaml — optional Codex display metadata.
- references/style-directions.md — art direction guidance.
- references/examples.md — project examples and attribution.
skills/generate-social-preview/assets/style-references/— labeled visual references.- scripts/normalize-preview.sh — image normalization helper.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,851 starspublic-apis/public-apis
A collective list of free APIs
498,203 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
452,469 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,365 stars
