GitHub Social Preview AI — AI skill for Claude Code
AI GitHub social preview / Open Graph (OG) image & repo cover generator — Agent Skill for Claude Code, Cursor, Codex.
How to install GitHub Social Preview AI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open liush2yuxjtu/github-social-preview-ai and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What GitHub Social Preview AI does
AI GitHub social preview / Open Graph (OG) image & repo cover generator — Agent Skill for Claude Code, Cursor, Codex. Text-free AI art + real-font HTML typography (great CJK), 1280x640, batch via JSON. GitHub 仓库封面生成 Skill.
Alternatives in AI
- Guizang Ppt Skill — AI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts 24.9k ★
- Architecture Diagram Generator — Generate beautiful dark-themed system architecture diagrams as standalone HTML/SVG files 7k ★
- Kimi Cc — Use Kimi's latest model (kimi-k2-0711-preview) to drive Claude Code 1.7k ★
README
github-social-preview-ai — AI GitHub Social Preview / OG Image Generator (Agent Skill)
[](LICENSE) [](SKILL.md) [](https://github.com/liush2yuxjtu/github-social-preview-ai)
**Generate crisp GitHub social preview images (repo cover / Open Graph image, 1280×640) with text-free AI art + real-font HTML typography — an Agent Skill for Claude Code, Cursor, Codex and other coding agents.**
[English](#english) · [中文](#中文)

English
Why
- Image models garble text, so the background is text-free AI art and text is composed in HTML + headless Chrome with real fonts (excellent CJK support).
- Max 2 text layers (headline + repo name), readable at 320×160 thumbnail size; a
.thumb.pngis generated for checking. - Reserved clean text zone + scrim so text never overlaps the art.
- Batch many repo covers from one
covers.json.
Install
# Claude Code (personal skills)
git clone https://github.com/liush2yuxjtu/github-social-preview-ai ~/.claude/skills/github-social-preview-ai
# project-level: .claude/skills/ · other agents: .agents/skills/ or .cursor/skills/
# or: npx skills add liush2yuxjtu/github-social-preview-ai
Requirements: Python 3 + Pillow, Google Chrome / Chromium, a CJK font (e.g. Noto Sans CJK).
Usage
Ask your agent: *"Make a GitHub social preview for this repo"*. Or run directly:
python3 scripts/render.py examples/covers.json --out-dir out # renders + verifies, exit 1 on FAIL
python3 scripts/verify.py out/my-repo.png # verify a single cover
{"defaults": {"art_shift": 60, "accent": ["#25f4ee", "#fe2
Related Skills
Chinese Font Selector
全网首个中文字体专业知识包:可商用中文字体库(授权三级分类)、场景×气质选字矩阵、中英混排与排版规则。让 AI 选中文设计字体不再甩给你一堆 Inter / Chinese font selection agent sk
Spicebag
Spice Bag is an open-source CLI tool that uses Claude AI to intelligently tailor your CV and cover letter for
Brand Identity Generator
Free open source Claude Code skill that generates complete brand identities: brand guidelines deck, logo syste
Skills Travel Planner
开源 AI 路书生成工具 · Cursor/Claude Agent Skill:简版行程表 → tripData.json → 可交付 HTML/PDF。小红书配图、LLM 润色、飞猪酒店数据。Open-source
Decklet
AI slide generator for coding agents: a Claude Code and Codex skill plus CLI that turns any content into one s
Pseo AI Kit
Programmatic SEO toolkit for AI apps — Next.js 15 + Vercel + LLM content generator + sitemap / JSON-LD / inter
Related Agents
Cover Brief Agent
Produces a detailed cover art-direction brief for a project — composition, palette, mood, typography, and comp
SEO Image Gen
SEO image analyst. Audits existing OG/social preview images, identifies missing or low-quality images, and cre
Pro SEO Image Gen
SEO image analyst. Audits existing OG/social preview images, identifies missing or low-quality images, and cre