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

Codex · Data

How to Use GitHub contribution activity in Codex

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 Codex

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

Use GitHub contribution activity for kentcdodds in 2025, retrieve every available month, and create docs/open-source-recap.md with summaries grouped by repository and their returned links.

GitHub contribution activityCodex
Try asking
  • Read this project's package.json, then use GitHub contribution activity for sindresorhus in 2025 to find returned repositories matching our dependencies and write a review brief.

  • Use GitHub contribution activity for torvalds in 2025 and create a CSV of the returned monthly commit summaries, repository names, and source links.

  • Use GitHub contribution activity for kentcdodds in 2025 and add a table to docs/research.md showing returned activity for epicweb-dev repositories.

  • Use GitHub contribution activity for sindresorhus in 2025 and build a small report page displaying the returned monthly summaries with repository links.

How to set up GitHub contribution activity in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 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 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: Codex 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.

ScrapeCreatorsData
GitHub · Activity
scrapecreators/github-user-activity

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Yeara number

When provided, returns profile contribution activity for that year. Defaults to the current year.

Cursora 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 Codex?

Build a repository-linked project recap from a public maintainer's monthly GitHub contribution summaries. A coding agent can match returned repositories against your dependency files and write a focused review brief.

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.

Questions about GitHub contribution activity in Codex

Can Codex use GitHub contribution activity?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run GitHub contribution activity like any built-in tool.

How much does GitHub contribution activity cost in Codex?

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

Do I need a ScrapeCreators account to use GitHub contribution activity in Codex?

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 Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while GitHub contribution activity runs?

GitHub contribution activity runs in the background. Codex 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.

Get started

Start using GitHub contribution activity in Codex

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

Paste this into Codex:

Set up Codex

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