Spiral gives your agent every tool with one account. Browse the tools →

Hermes · Data

How to Use GitHub user contributions in Hermes

GitHub user contributions returns a yearly contribution graph with an annual total, dated daily counts, and intensity levels. Use it to build contribution calendars or summarize a public open source creator's activity over time.

Prompts to try with GitHub user contributions in Hermes

Copy an example into Hermes, or ask in your own words.

Every Monday, use GitHub user contributions for torvalds for the current year and summarize the previous Monday through Friday by daily count and total.

GitHub user contributionsHermes
Try asking
  • On the third day of each month, use GitHub user contributions for kentcdodds for the current year and summarize the previous month's total and days with contributions.

  • Every Friday, use GitHub user contributions for sindresorhus for the current year and compare returned counts with the previous report, listing any revised dates.

  • On January 3 each year, use GitHub user contributions for torvalds for the previous year and prepare an annual recap with monthly totals.

  • On the third day after each quarter ends, use GitHub user contributions for kentcdodds for the relevant year and report the completed quarter's monthly totals and highest-count day.

How to set up GitHub user contributions in Hermes

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Hermes this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server and sign in

    Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

    hermes mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --auth oauth \
      --connect-timeout 300
  2. Check it

    In a chat that was already open, run /reload-mcp.

    hermes mcp list
    hermes mcp test spiral

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run GitHub user contributions

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/github-user-contributions",
        "input": {
          "url": "https://github.com/torvalds"
        }
      }'

Then paste one of the prompts above: Hermes finds GitHub user contributions on Spiral, shows the price and runs it.

GitHub user contributions providers and prices

Spiral runs GitHub user contributions through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsData
GitHub · Contributions
scrapecreators/github-user-contributions

Settings you can ask for

Ask Hermes for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Yeara number

Contribution graph year. Defaults to the current year.

Every API field of GitHub · Contributions is on its tool page: open its card above.

What can you do with GitHub user contributions in Hermes?

Produce a recurring contribution digest for a public open source creator. A scheduled agent can compare daily counts across retrievals and flag revisions, allowing for GitHub's contribution delay.

Build a contribution calendar

Turn a public open source creator's dated counts into a yearly heatmap with exact counts available for each day.

Prepare an annual open source recap

Summarize a public creator's annual total, busiest month, and number of days with recorded contributions.

Compare completed years

Compare annual totals and monthly distributions for the same public creator across two completed years.

Create a monthly activity digest

Aggregate daily counts into a monthly table for a public creator's open source newsletter.

Check historical count revisions

Compare saved graphs with newly retrieved graphs for the same public account and year, listing dates whose counts changed.

Export chart data

Convert a public creator's daily counts and intensity levels into CSV for a contribution chart or an accessible table.

Questions about GitHub user contributions in Hermes

Can Hermes use GitHub user contributions?

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run GitHub user contributions like any built-in tool.

How much does GitHub user contributions cost in Hermes?

$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.

Do I need a ScrapeCreators account to use GitHub user contributions in Hermes?

No. Spiral runs GitHub user contributions on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up GitHub user contributions in Hermes?

About two minutes: add the server and sign in, then check it.

Does Hermes wait while GitHub user contributions runs?

GitHub user contributions runs in the background. Hermes starts the run, checks on it and gives you the json when it's ready.

What does the contribution graph return?

It returns one year of GitHub contribution data, including an annual total and dated daily counts with intensity levels. The documented response also includes a color value, which can be null.

How quickly do new commits appear?

GitHub says a qualifying commit can take up to 24 hours to appear on the contribution graph. A same-day count can therefore be incomplete.

Does the graph count commits on every branch?

No. Commits count only on the repository's default branch or gh-pages branch, so the calendar does not represent every commit across every branch.

Can visible counts include work in private repositories?

Yes, if the account chooses to publicize private contributions. GitHub exposes daily counts to viewers without repository access while withholding the underlying details.

Which time zone determines a commit's contribution day?

GitHub uses the time zone recorded in the commit timestamp. Keep the returned calendar date when grouping daily counts.

Get started

Start using GitHub user contributions in Hermes

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Hermes:

Set up Hermes

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options