measuring-github-star-velocity

measuring-github-star-velocity is a skill for Claude Code, Codex from Tracer-Cloud/opensre. It costs 26 tokens per session (567 once invoked), scanned A, original, Apache-2.0.

A tool that calculates how quickly a GitHub repository gained stars during a rolling time window. Repository stars are GitHub users' public bookmarks or endorsements.

In plain words
What is it for?
Use it to report recent stars gained, day-by-day growth, or a repository's star growth rate from GitHub's stargazer history.
Why use it?
It provides a time-based growth measure instead of relying only on the repository's total star count.

Skill for Claude CodeCodex

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

Good fit Use it to report recent stars gained, day-by-day growth, or a repository's star growth rate from GitHub's stargazer history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tracer-cloud/opensre/measuring-github-star-velocity
About the project

OpenSRE is an open-source framework for building AI agents that investigate and resolve production incidents using operational data and tools. It is for site reliability engineers who want customizable incident-response workflows, training, and evaluation on their own infrastructure.

Tracer-Cloud/opensre · 11,038 stars · on GitHub · discord.com

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 Tracer-Cloud/opensre --skill measuring-github-star-velocity
Clone the repo
git clone --depth 1 https://github.com/Tracer-Cloud/opensre

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 measuring-github-star-velocity

README.md
[![agentmods](https://agentmods.dev/badge/skills/tracer-cloud/opensre/measuring-github-star-velocity/github.svg)](https://agentmods.dev/skills/tracer-cloud/opensre/measuring-github-star-velocity)
Your own site
<a href="https://agentmods.dev/skills/tracer-cloud/opensre/measuring-github-star-velocity"><img src="https://agentmods.dev/badge/skills/tracer-cloud/opensre/measuring-github-star-velocity/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 measuring-github-star-velocity

Your own site · 80×15
<a href="https://agentmods.dev/skills/tracer-cloud/opensre/measuring-github-star-velocity"><img src="https://agentmods.dev/badge/skills/tracer-cloud/opensre/measuring-github-star-velocity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 567 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.00026 $0.00567
Opus 5 $0.00013 $0.00283
Sonnet 5 $0.00005 $0.00113
Haiku 4.5 $0.00003 $0.00057

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

Security

Grade A, and why

measuring-github-star-velocity 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 2d ago.

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.

tools/system/python_execution_tool/skills/measuring-github-star-velocity/SKILL.md · 67 lines

How it starts

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

GitHub Star Velocity

Use this skill only when the dedicated get_github_star_history tool is not available. When that tool is available, prefer it for GitHub star velocity, stars gained in a recent window, day-by-day stars, star growth rate, or similar metrics for a repository.

Prerequisites

  1. Set allow_network: true on execute_python_code.
  2. Read GITHUB_TOKEN from the subprocess environment (injected when GitHub credentials are configured). Never print the token.
  3. Parse owner/repo from the repository URL or user input.

API approach

  1. Fetch current stargazers_count from GET /repos/{owner}/{repo}.
  2. Fetch stargazers with timestamps from GET /repos/{owner}/{repo}/stargazers?per_page=100 using Accept: application/vnd.github.v3.star+json.
  3. Each entry includes starred_at. Count stars where starred_at is within the requested window.

Critical pagination trap

Stargazers are returned oldest first, not newest first. Do not stop after the first page when the newest entries on that page fall outside the window — that produces a false zero.

For responsiveness, compute the last page from stargazers_count and per_page=100, fetch newest pages by explicit page number in descending order, and stop once the oldest starred_at on a fetched page is before the window start. Only run a full historical scan when the user explicitly asks for all-time history or an audit-quality export.

Sanity check before reporting

Treat these results as suspicious and rerun with a full paginated scan before answering:

  • 0 stars in the last 24 hours for a repo with thousands of stars and recent activity
  • Velocity that implies losing stars without an explicit unstar request
  • Counts that disagree sharply with stargazers_count deltas when you have a recent baseline

When a result looks wrong, widen the scan (all pages), print the most recent starred_at observed, and only then return the velocity.

Output shape

Return:

Read the full file on GitHub · 67 lines

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. 2d ago First seen · 67 lines · 26 tokens per session scan A 2d5936712999

Subscribe to this mod's changes

measuring-github-star-velocity is a skill published in the GitHub repository Tracer-Cloud/opensre (11,038 stars, last pushed today), licensed Apache-2.0. It adds 26 tokens to every session and 567 once invoked, about $0.0001 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-09-10.

Related

Other skills, from other repositories