/gh-star-history:gh-star-region-breakdown <owner/repo>from gh-star-history
Fetches stargazer locations via GitHub API, classifies them into regions, and generates a region breakdown chart.
Ships in gh-star-history. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a region breakdown chart for: $ARGUMENTS
Run the CLI to fetch all stargazers with locations (this caches the data):
npx gh-star-region <owner/repo> --no-open
This will paginate through all stargazers via the GitHub GraphQL API and cache the results.
Run the unclassified locations script:
npx gh-star-unclassified <owner/repo> > /tmp/unclassified.csv
If all locations are already classified, skip to step 5.
Split /tmp/unclassified.csv into batches of ~200 and spawn parallel subagents to classify each batch. Each subagent should:
/tmp/locations_batch_0.csv)/tmp/locations_classified_0.csv with columns: location, count, regionClassification rules:
Merge the new classified locations into ~/.gh-star-history/location_region_map.json, adding any new mappings that don't already exist (skip "Unknown" entries).
Run the CLI again to generate the chart with updated mappings:
npx gh-star-region <owner/repo>
This will open the chart in the browser automatically. Do NOT run a separate open command.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ykdojo/gh-star-history --plugin gh-star-historyOther plugins' skills for the same job