How to Use GitHub contribution activity in Grok
Fetch monthly summaries from a GitHub profile's contribution timeline, with repository details and links where available. Use it to build an open-source project recap or inspect the work behind a contribution count.
Prompts to try with GitHub contribution activity in Grok
Copy an example into Grok, or ask in your own words.
Use GitHub contribution activity for kentcdodds in 2025 and summarize the returned work by repository, with links.
Use GitHub contribution activity for torvalds in 2025 and show the monthly commit summaries available in the timeline.
Use GitHub contribution activity for sindresorhus in 2025 and list the repositories appearing in the returned summaries, removing duplicate repository names.
Use GitHub contribution activity for kentcdodds in 2025 and draft a project recap focused on epicweb-dev repositories, citing the returned links.
Use GitHub contribution activity for torvalds in 2025 and explain the returned contribution summaries in plain English, keeping repository details beside each summary.
How to set up GitHub contribution activity in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run GitHub contribution activity
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-activity", "input": { "url": "https://github.com/torvalds" } }'
Then paste one of the prompts above: Grok finds GitHub contribution activity on Spiral, shows the price and runs it.
GitHub contribution activity providers and prices
Spiral runs GitHub contribution activity through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Year | a number | When provided, returns profile contribution activity for that year. Defaults to the current year. | |
| Cursor | a number | Cursor from the previous response. Pages backward by month through the selected year. |
Every API field of GitHub · Activity is on its tool page: open its card above.
What can you do with GitHub contribution activity in Grok?
Get a readable recap of the repository work shown on a public creator's GitHub timeline. A chat app can explain monthly contribution summaries and collect the links behind them for further reading.
Open-source project recap
Turn a public maintainer's monthly contribution summaries into a recap organized by repository, with links readers can inspect.
Dependency review brief
Filter a public maintainer's returned activity to repositories used by your project and collect the visible contribution summaries for a dependency review.
Annual project archive
Page through a selected year and preserve the available monthly contribution summaries and repository links for an open-source project archive.
Project newsletter draft
Use returned summaries from a public project creator's timeline to draft a newsletter section about repository work, keeping each statement tied to its source link.
Contribution count explanation
Explain a monthly commit summary by showing the repository totals supplied in its details, giving readers context beyond a single contribution count.
Documentation research queue
Collect repositories appearing in a public educator's contribution timeline as candidates for tutorials or documentation research.
More on GitHub contribution activity and Grok
Overview
GitHub contribution activity in other agents
Questions about GitHub contribution activity in Grok
Can Grok use GitHub contribution activity?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run GitHub contribution activity like any built-in tool.
How much does GitHub contribution activity cost in Grok?
$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need a ScrapeCreators account to use GitHub contribution activity in Grok?
No. Spiral runs GitHub contribution activity 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 contribution activity in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while GitHub contribution activity runs?
GitHub contribution activity runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.
What does GitHub contribution activity contain?
The endpoint returns monthly activity summaries with repository details and links where available. GitHub's underlying timeline covers commits, proposed pull requests, and opened issues.
Does one request return a full year?
Each response covers one month. Follow the returned pagination cursor to move backward through the selected year.
How quickly do new contributions appear?
GitHub says qualifying commits can take up to 24 hours to appear on the contribution graph. A same-day contribution check can therefore miss recent work.
Can public activity reveal private repository work?
When someone publicizes private contributions, viewers without access can see daily contribution counts. GitHub withholds the specific details of that work.
Does the contribution record include every commit?
GitHub applies contribution criteria, so the record is not a complete commit ledger. For example, commits made in a fork do not qualify for the contribution graph.
Start using GitHub contribution activity in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


