Badges for skills.sh — agent skill installs and leaderboard rank, trending, and hot positions.
Display live stats from skills.sh, the open agent skills directory by Vercel. Show how many times your skill has been installed and where it sits on the leaderboard.
| Badge | Endpoint | Description |
|---|---|---|
| Installs | /skills/installs/{owner}/{repo}/{skill} | All-time install count |
| Rank | /skills/rank/{owner}/{repo}/{skill} | All-time leaderboard position |
| Trending | /skills/trending/{owner}/{repo}/{skill} | Position on the trending leaderboard |
| Hot | /skills/hot/{owner}/{repo}/{skill} | Position on the hot (last 24h) leaderboard |
The default endpoint /skills/{owner}/{repo}/{skill} returns the install count.
Skills are addressed as {owner}/{repo}/{skill} — the GitHub repository that hosts the skill (owner/repo, the skills.sh source) plus the skill's slug:
SKILL.md in a public GitHub repo (see the skills.sh docs).npx skills add {owner}/{repo} install.https://www.skills.sh/{owner}/{repo}/{skill} — the badge path uses the same three segments. For example, https://www.skills.sh/vercel-labs/agent-skills/vercel-react-best-practices → /skills/installs/vercel-labs/agent-skills/vercel-react-best-practices.svg.Uses the public skills.sh leaderboard API (/api/skills/{view}/{page}). No API key required — a SKILLS_SH_API_KEY env var raises the rate limit when self-hosting. Leaderboard pages are cached 30 minutes and shared across all badges. Rank and installs read the all-time leaderboard; trending and hot read their respective boards. Skills outside the top of a board return a not-found badge, so these work best for skills that are actively ranking.
Use these sections when you need the exact URL shape or a focused example for a specific badge type.
This section covers the skills/installs badge endpoint.
Show the all-time install count for a skill.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/skills/installs/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/skills/installs/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=light"></picture>
/skills/installs/{owner}/{repo}/{skill}.svg/skills/{owner}/{repo}/{skill}.svgBoth formats return the same badge. The default endpoint shows the install count.
Default — all-time install count
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/skills/installs/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=dark"><img alt="skill installs" src="https://shieldcn.dev/skills/installs/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=light"></picture>Branded — Vercel black with the ▲ logo
This section covers the skills/rank badge endpoint.
Show the skill's position on the all-time skills.sh leaderboard.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/skills/rank/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/skills/rank/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=light"></picture>
/skills/rank/{owner}/{repo}/{skill}.svgDefault — all-time leaderboard position
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/skills/rank/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=dark"><img alt="skill rank" src="https://shieldcn.dev/skills/rank/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=light"></picture>Branded — Vercel black background
These sections cover the skills/trending and skills/hot badge endpoints.
Show the skill's position on the trending or hot (last 24h) leaderboards. A skill that isn't currently listed returns a not-found badge, so these work best for skills that are actively climbing.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/skills/trending/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/skills/trending/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=light"></picture>
/skills/trending/{owner}/{repo}/{skill}.svg/skills/hot/{owner}/{repo}/{skill}.svgDefault — current trending position
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/skills/trending/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=dark"><img alt="skill trending" src="https://shieldcn.dev/skills/trending/vercel-labs/agent-skills/vercel-react-best-practices.svg?mode=light"></picture>Branded — hot (last 24h) position
