github-repo-cards

github-repo-cards is a skill for Claude Code, Codex from ob-labs/agentseek. It costs 43 tokens per session (520 once invoked), scanned A, original, Apache-2.0.

A tool for fetching GitHub repository information and turning it into SVG or PNG cards. GitHub is a platform for hosting and collaborating on code.

In plain words
What is it for?
Use it to create cards for a specific repository or for currently trending repositories, including descriptions, languages, stars, contributors, and activity.
Why use it?
It turns repository details and activity into a compact visual summary that is easier to share or scan.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/ob-labs/agentseek/github-repo-cards
Any agent
npx skills add ob-labs/agentseek --skill github-repo-cards
Clone the repo
git clone --depth 1 https://github.com/ob-labs/agentseek

Made for: Claude Code, Codex.

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 github-repo-cards

README.md
[![agentmods](https://agentmods.dev/badge/skills/ob-labs/agentseek/github-repo-cards.svg)](https://agentmods.dev/skills/ob-labs/agentseek/github-repo-cards)
Your own site
<a href="https://agentmods.dev/skills/ob-labs/agentseek/github-repo-cards"><img src="https://agentmods.dev/badge/skills/ob-labs/agentseek/github-repo-cards.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 520 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00043 $0.00520
Opus 5 $0.00022 $0.00260
Sonnet 5 $0.00009 $0.00104
Haiku 4.5 $0.00004 $0.00052

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

Security

Grade A, and why

github-repo-cards 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/gh_repo_card.py, scripts/gh_trending_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/github-repo-cards/SKILL.md · 61 lines

What it actually says

GitHub Repo Cards

Generate beautiful GitHub-style SVG card images for repositories or trending projects, then convert them to PNG.

Capabilities

  1. Repo Card — given <org>/<repo>, produce a card showing:

    • Basic info (name, description, language, license)
    • Star & commit activity sparkline
    • Top N contributors (avatars + commit counts)
    • A customisable "analysis" text block
  2. Trending Card — fetch today's trending repos and render a list card with:

    • Repo name, description, language badge
    • Star / fork counts
    • Recent commit activity sparkline (mini bar chart)

Workflows

Generate a Repo Card

uv run scripts/gh_repo_card.py <org>/<repo> [--top-n 5] [--analysis "Your analysis text here"] [--output card.svg]

The script path is relative to this skill directory: skills/github-repo-cards/scripts/gh_repo_card.py

This will:

  1. Call gh to fetch repo metadata, stargazer counts, commit activity, and top contributors.
  2. Render an SVG card with all the information.
  3. Convert the SVG to PNG via rsvg-convert (falls back to ImageMagick convert).

Generate a Trending Card

uv run scripts/gh_trending_card.py [--language python] [--since daily] [--limit 10] [--output trending.svg]

The script path is relative to this skill directory: scripts/gh_trending_card.py

This will:

  1. Scrape GitHub trending page (or use gh api search with recent star sorting).
  2. Render a multi-row SVG list card.
  3. Convert to PNG.

Output

SVG and PNG files are written to the current working directory (or the path given by --output). The PNG file shares the same base name.

Requirements

  • gh CLI authenticated (gh auth status)
  • rsvg-convert (librsvg) or ImageMagick convert for SVG→PNG
  • Python ≥ 3.12, run via uv run (PEP 723 inline metadata)
Files

What ships with it

2 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. 6d ago First seen · 61 lines · 43 tokens per session scan A 77a1bb4095ac

Subscribe to this mod's changes

github-repo-cards is a skill published in the GitHub repository ob-labs/agentseek (175 stars, last pushed 3d ago), licensed Apache-2.0. It adds 43 tokens to every session and 520 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

thinking-out-loud

A contract for what the agent does when a long, messy, stream-of-consciousness ramble arrives (usually voice dictation): act on nothing until the echo brief is approved. The echo audits the entire transfer, mission, locked decisions and constraints, open questions, flips and parked tangents, with the model's…

Shubhamsaboo/awesome-llm-apps · 206 tokens

hugging-face-model-trainer

This skill should be used when users want to train or fine-tune language models using TRL (Transformer Reinforcement Learning) on Hugging Face Jobs infrastructure. Covers SFT, DPO, GRPO and reward modeling training methods, plus GGUF conversion for local deployment. Includes guidance on the TRL Jobs package, UV…

patchy631/ai-engineering-hub · 131 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

hugging-face-datasets

Create and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, streaming row updates, and SQL-based dataset querying/transformation. Designed to work alongside HF MCP server for comprehensive dataset workflows.

patchy631/ai-engineering-hub · 49 tokens

hugging-face-paper-publisher

Publish and manage research papers on Hugging Face Hub. Supports creating paper pages, linking papers to models/datasets, claiming authorship, and generating professional markdown-based research articles.

patchy631/ai-engineering-hub · 42 tokens