update-marketplace-stars
Update GitHub star counts for suggested marketplaces in DEFAULT_SUGGESTED_MARKETPLACES. Use this skill when asked to "update stars", "refresh marketplace stars", or "sync star counts".
When & Why to Use This Skill
This Claude skill automates the synchronization of GitHub star counts for suggested marketplaces within project settings. By leveraging the GitHub CLI and API, it programmatically fetches real-time engagement metrics and updates local configuration files, ensuring that repository popularity data remains accurate and up-to-date without manual intervention.
Use Cases
- Pre-release Maintenance: Automatically refresh repository star counts before a software release to ensure the 'suggested marketplaces' list reflects current popularity.
- Data Accuracy & Sync: Periodically sync local metadata with live GitHub data to provide users with reliable social proof for recommended repositories.
- Workflow Automation: Replace manual 'gh api' lookups and file editing with a single command to update multiple repository metrics in parallel.
| name | update-marketplace-stars |
|---|---|
| description | Update GitHub star counts for suggested marketplaces in DEFAULT_SUGGESTED_MARKETPLACES. Use this skill when asked to "update stars", "refresh marketplace stars", or "sync star counts". |
Update Marketplace Stars
Update the GitHub star counts for suggested marketplaces defined in src/lazyclaude/services/settings.py.
Location
The star counts are defined in:
src/lazyclaude/services/settings.py
Look for the DEFAULT_SUGGESTED_MARKETPLACES dictionary near the top of the file.
Fetch Current Stars
Use GitHub CLI to fetch current star counts for each repository:
gh api repos/{owner}/{repo} --jq '.stargazers_count'
Example for all current marketplaces:
gh api repos/anthropics/claude-plugins-official --jq '.stargazers_count'
gh api repos/NikiforovAll/claude-code-rules --jq '.stargazers_count'
gh api repos/SawyerHood/dev-browser --jq '.stargazers_count'
gh api repos/Piebald-AI/claude-code-lsps --jq '.stargazers_count'
gh api repos/wshobson/agents --jq '.stargazers_count'
gh api repos/davila7/claude-code-templates --jq '.stargazers_count'
gh api repos/ComposioHQ/awesome-claude-skills --jq '.stargazers_count'
gh api repos/steveyegge/beads --jq '.stargazers_count'
gh api repos/ccplugins/awesome-claude-code-plugins --jq '.stargazers_count'
Workflow
- Read
src/lazyclaude/services/settings.pyto get current marketplace repos - Run
gh apicommands in parallel to fetch star counts - Update the
starsvalues inDEFAULT_SUGGESTED_MARKETPLACES - Present summary of changes (old vs new star counts)
Notes
- Star counts are approximate and change frequently
- Run this periodically before releases to keep counts fresh
- If a repo is not found (404), keep the existing value and notify user