agentsclimarketplace

Gh data gathering

Skill cxcscmu/SkillLearnBench/skills/b4-skill-creator-gemini-3.1-flash-lite-preview/github-repo-analytics/gh-data-gathering

How to gather PR and issue data from a GitHub repository using the gh CLI for monthly reports. Use this skill whenever you need to fetch monthly metrics from a repository.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill gh-data-gathering

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.7 KB, 149 tokens by cl100k_base, as published. Nobody here has run it

Overview

This skill provides instructions for querying GitHub repositories using the gh CLI.

Commands

  • Search PRs: gh pr list --repo cli/cli --created 2024-12-01..2024-12-31 --json number,title,state,createdAt,mergedAt --limit 1000
  • Search Issues: gh issue list --repo cli/cli --created 2024-12-01..2024-12-31 --json number,labels,state,createdAt,closedAt --limit 1000

Data Handling

  • Ensure you set a high --limit to capture all activities for the month.
  • The --json flag is required for structured output.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.