GitHub Top Contributors This Month

    by Buddhaprakash Patil

    1

    Rank GitHub repository contributors by pull requests created in the current month using precise Search API filtering.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more

    GitHub Top Contributors This Month

    Example session with this skill installed

    Who are the top contributors for the month in the current repository?

    • Read your context and instructions
    • Compiled the github top contributors

    I have analyzed the pull request activity for the current month (2025-05-01 to 2025-05-22). I retrieved 142 total pull requests and aggregated the authors to identify the most active contributors.

    Monthly PR Leaderboard (May 2025)

    Total PRs Raised: 142
    Date Range: 2025-05-01 to 2025-05-22

    #AuthorPRs
    1dev-pro-9924
    2octocat18
    3code-master15
    4bug-squasher12
    5feature-lead11
    6docs-guru9
    7junior-dev-018
    8refactor-king7
    9test-enthusiast6
    10ui-specialist5

    Note: Your current rank is #7 with 8 pull requests.

    Next steps

    1. Run gh pr list --author <login> to review specific contributions from any author.
    2. Use gh repo view --web to see these PRs in the browser.
    3. Request a deep dive on any specific author's PR titles.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    GitHub's standard API endpoints for pull requests often return misleading data when filtering by time. Using the since parameter captures updated PRs rather than newly created ones, leading to inaccurate leaderboard counts. This skill solves that by leveraging the GitHub Search API and the gh CLI to precisely track monthly contributions.

    What it does

    • Precision filtering Targets the created date attribute to ensure only PRs opened within the current month are counted.
    • Accurate aggregation Collects author logins across paginated results to build a reliable ranking.
    • Cross-page verification Compares the sum of aggregated author counts against the API's total_count to ensure no data is missed.
    • Limit detection Monitors the 1,000-result threshold of the GitHub Search API and warns if data may be incomplete.
    • Leaderboard generation Produces a formatted Markdown table of the top 10 contributors including the total PR count.

    How it works

    1. Calculate the current month's date range and execute a search query to retrieve the total_count of pull requests.
    2. Fetch paginated result sets using the gh api command, extracting the login of every PR author.
    3. Process the list of logins to count occurrences and rank authors in descending order.
    4. Validate the results against the initial total count and format the findings into a leaderboard.

    Frameworks & tools

    Requires the GitHub CLI (gh) to be installed and authenticated. It utilizes the GitHub Search API for issue and pull request indexing.

    Why this beats prompting it yourself

    Manual prompts often fail to account for the nuances of GitHub's pagination or mistakenly use the pulls endpoint which overcounts via the since filter. This skill handles the specific CLI syntax and multi-step verification required for data integrity.

    Use cases

    • Generate monthly contribution reports for open-source maintainers.
    • Audit team velocity by identifying the most active PR authors.
    • Create automated "Contributor of the Month" leaderboards for internal repositories.

    Known limitations

    Requires gh CLI authentication. GitHub Search API caps results at 1000 items, which may affect extremely high-velocity repositories.

    Requires authenticated gh CLI. Search API limit of 1000 results per query may truncate data for very high-volume repos.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 11 days ago

    • Free with an Agensi account

    Permissions

    No special permissions declared or detected

    Listed11 days ago

    What's inside

    Frequently Asked Questions

    Standard GitHub API filters often include older PRs that were simply updated recently. This skill uses precise Search API parameters to isolate PRs by their actual creation date, ensuring your leaderboard reflects true monthly activity.

    The skill requires the GitHub CLI (`gh`) to be installed and authenticated on your system. It leverages your existing credentials to securely query repository data without needing additional API keys.

    Yes, while it defaults to the current month, the underlying logic is built to handle specific date ranges. It is ideal for monthly audits, sprint reviews, or 'Contributor of the Month' recognitions.

    GitHub's Search API has a hard limit of 1,000 results per query. For most repositories, this is more than enough for a monthly count, but the skill will provide a warning if this threshold is reached to ensure data transparency.

    You receive the fully optimized skill logic, configuration parameters for the GitHub Search API, and a guide on integrating it with your AI agent's toolset.

    New in Code Quality & Review

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.

    Free