repo-cover

repo-cover is a skill for Claude Code from sjh9714/cover-my-repo. It costs 90 tokens per session (1,111 once invoked), scanned A, original, MIT.

A tool for designing a GitHub social-preview card, also called an Open Graph image, at 1280 by 640 pixels. This is the image shown when a repository link is shared on many websites.

In plain words
What is it for?
Use it to create a repository cover, README hero, link card, or og:image. It gathers repository metadata, rewrites the description, selects an editorial mood, and produces a self-contained HTML design.
Why use it?
It provides a repeatable way to turn repository facts into a designed README or link-preview image. It also sets a defined format and several visual styles.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the repo-cover plugin — 1 skill shipped together

Good fit Use it to create a repository cover, README hero, link card, or og:image. It gathers repository metadata, rewrites the description, selects an editorial mood, and produces a self-contained HTML design.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sjh9714/cover-my-repo/repo-cover
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sjh9714/cover-my-repo --skill repo-cover
Clone the repo
git clone --depth 1 https://github.com/sjh9714/cover-my-repo

Made for: Claude Code.

Or install repo-cover, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for repo-cover

README.md
[![agentmods](https://agentmods.dev/badge/skills/sjh9714/cover-my-repo/repo-cover/github.svg)](https://agentmods.dev/skills/sjh9714/cover-my-repo/repo-cover)
Your own site
<a href="https://agentmods.dev/skills/sjh9714/cover-my-repo/repo-cover"><img src="https://agentmods.dev/badge/skills/sjh9714/cover-my-repo/repo-cover/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for repo-cover

Your own site · 80×15
<a href="https://agentmods.dev/skills/sjh9714/cover-my-repo/repo-cover"><img src="https://agentmods.dev/badge/skills/sjh9714/cover-my-repo/repo-cover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,111 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01111
Opus 5 $0.00045 $0.00556
Sonnet 5 $0.00018 $0.00222
Haiku 4.5 $0.00009 $0.00111

Measured 12d ago against content hash d5aab065c75c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

repo-cover scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_card.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/repo-cover/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

repo-cover

You design one 1280x640 social-preview card as a single self-contained HTML file. You write the HTML yourself. There is no image model and no build step. Quality comes from following the numbers below exactly.

Workflow

  1. Gather facts. Gather the owner, name, description, primary language, license (use the spdx_id). Prefer gh api repos/<owner>/<name> or the local checkout. Never invent a star count or license.
  2. Rewrite the description. The card line is not the GitHub description verbatim. Compress it to one or two sentences, max 110 characters with a 60-character maximum for CJK, concrete nouns, and no marketing adjectives. Show the user your line before rendering if they are present; in a non-interactive run, proceed and include the line in your report.
  3. Pick a mood. Default editorial. Offer the other four only if the user asks for options. Read exactly ONE mood reference and ONE example from this list.
    • references/mood-editorial.md + assets/examples/editorial-red-handed.html
    • references/mood-poster.md + assets/examples/poster-archify.html
    • references/mood-blueprint.md + assets/examples/blueprint-macos-harness.html
    • references/mood-gallery.md + assets/examples/gallery-cumora.html
    • references/mood-terminal.md + assets/examples/terminal-freeze.html Do not read renderer-free files "for context". Two files, then write. For a README hero banner instead of a card, read references/banner.md (1280x320, editorial language).
  4. Write <repo>-cover.html. Copy the example's skeleton, replace content, apply the mood's rules. If the description or repo name contains CJK text, also read references/cjk.md first.
  5. Check. Run python3 scripts/check_card.py <file>. Fix every FAIL, re-run, stop after two repair rounds and report remaining failures honestly.
  6. Export. Follow references/export.md for the PNG and where to upload it (GitHub Settings → Social preview). If the user wants the card to update itself, point them to the bundled GitHub Action.

Read the full file on GitHub · 83 lines

Files

What ships with it

36 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 83 lines · 90 tokens per session scan A d5aab065c75c

Subscribe to this mod's changes

repo-cover is a skill published in the GitHub repository sjh9714/cover-my-repo (7 stars, last pushed 20d ago), licensed MIT. It adds 90 tokens to every session and 1,111 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

pixel2motion

Turn a raster logo (PNG/JPG/WebP/screenshot) into a clean minimal SVG with edge smoothness as the primary hard gate and IoU optimized as high as reasonably possible without a fixed global threshold, then into a choreographed logo animation delivered as standalone JS-rendered HTML, applying Disney's 12 animation…

nolangz/pixel2motion · 163 tokens

regional-culture-poster

Convert Chinese provinces, municipalities, autonomous regions, cities, counties, ancient cities, and cultural regions into restrained contemporary posters led by one culturally transformed Chinese character. Supports direct one-shot final image generation and layered production. Use when the user asks for a…

dacnay816y62-hub/regional-culture-poster · 158 tokens

archify

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and…

tt-a1i/archify · 130 tokens

ip-as-logo

Generate extremely simple, cute, personified square character images with rounded heavy forms, two purposeful character colors, one solid background color, and a dominant lower-corner composition. Use when creating an animal, creature, robot, ghost, plant, object, or other character image, including when the agent…

s1dashu/ip-as-logo-skill · 78 tokens

beautify-github-readme

Redesign GitHub README homepages or create project-native pure SVG, hybrid SVG-composed PNG/WebP, and opt-in animated GIF assets. Use when a user asks to beautify, redesign, rebrand, visually upgrade, simplify, or audit a GitHub README; create only a hero, section headers, diagrams, badges, motion graphics, showcase…

oil-oil/beautify-github-readme · 143 tokens

tastemaker

Generate genuinely beautiful, on-brand UI instead of generic "AI slop" — use whenever the user asks to build, design, style, or improve a UI, landing page, dashboard, app screen, or component, whenever a PRD/spec needs a design pass before implementation, whenever the user pastes reference images/Pinterest/Dribbble…

codeswithroh/tastemaker · 202 tokens