Skip to content
Development
Skill

/collect-github-stats

Collect GitHub repo health/usage stats into merged JSON.

From plugin
rosetta
36678 skills24 agents71 commands

Claude Code

$ npx -y skills add griddynamics/rosetta --skill collect-github-stats --agent claude-code

SKILL.md

collect-github-stats.SKILL.md
name: collect-github-stats
description: Collect GitHub repo health/usage stats into merged JSON.
disable-model-invocation: true
user-invocable: true

collect-github-stats

Runs one script: fetch GitHub stats for a repo, merge into `docs/github-stats.json`.

Run (MUST)

python3 <skill_dir>/scripts/collect_stats.py [--repo OWNER/NAME] [--out PATH] [--no-enrich]

Defaults: `--repo griddynamics/rosetta`, `--out docs/github-stats.json`. MUST run from repo root (or pass absolute `--out`). `--no-enrich` skips company/location lookups.

CRITICAL

  • **NEVER DELETE OR OVERWRITE `docs/github-stats.json`.** Script APPEND-MERGES. Traffic is

a 14-DAY ROLLING WINDOW — deleted history is GONE FOREVER, unrecoverable from the API.

  • **PUSH ACCESS REQUIRED.** No push → traffic 403 → script FAILS LOUD with fix steps.

MUST NOT accept a partial file.

Rules (MoSCoW)

  • MUST have `gh` authenticated, `repo` scope, push access to the target repo.
  • SHOULD relay the script's post-run summary to the user.
  • COULD normalize company variants when REPORTING; MUST NOT mutate stored raw values.
  • WON'T fabricate cloner identity (cloners are ANONYMOUS — counts only), store PII/secrets.

If you learned something new which is reusable, there are process efficiency improvements, you can prevent failures in the future, update `## Lessons learned` below for self-improvement.

Lessons learned (self-improvement, keep updating, first line is template, keep template, follow "<instructions>", high confidence only):

  • **<key action item, less then 7 words>** <concise/terse: what happened, why, root cause, reasoning, less then 25 words>.
  • **Diff top-level keys after each run** Script rebuilt doc from known keys only, dropped hand-added `critical_notes`. Fixed: prior unknown keys now carried forward.
Read more
@griddynamics
Ships withrosetta

An instruction layer for AI coding agent

36678 skills24 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
366
Star history of griddynamics/rosetta on GitHub, a chart by star-history.com

Other skills on rosetta.

compress-prompt

compress-prompt

Compress a Rosetta KB prompt artifact (skill · workflow · phase · rule · agent · template · generic) by stripping structural…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about collect-github-stats.

Which coding agents can use collect-github-stats?
collect-github-stats installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.