github-archive

Query GitHub Archive data in BigQuery to verify repository activity claims.

3.5k|556|Updated Oct 17, 2025
One-click install
npx skills add https://github.com/gadievron/raptor --skill github-archive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-archive
Source: https://github.com/gadievron/raptor/tree/main/.claude/skills/oss-forensics/github-archive
Command: npx skills add https://github.com/gadievron/raptor --skill github-archive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Investigators often struggle to verify GitHub activity claims and reconstruct timelines when direct sources are incomplete or deleted. This skill provides access to tamper-proof GitHub Archive data via BigQuery to establish an immutable, time-stamped record of public GitHub events since 2011. It enables you to confirm actions, attribute events to actors, and recover deleted content across repositories.

Core Features & Use Cases

  • Immutable evidence: All public events since 2011 are captured in the archive and queryable via BigQuery.
  • Timeline reconstruction: Verify claims about PRs, issues, commits, and repository activity across multiple repositories.
  • Content recovery: Reconstruct deleted PRs, issues, branches, tags, and repositories; attribute actions to actors with exact timestamps.
  • Cross-repository analysis: Compare activity across organizations to identify patterns and attacker behavior.
  • Use Case: Reconstruct a security incident timeline by querying PR and issue events and correlating with push and workflow events.

Quick Start

Use this skill to verify a claim about repository activity by querying GitHub Archive data for a target repository and actor, then analyze PullRequestEvent, IssuesEvent, and related events to build a timeline.

Frequently Asked Questions about github-archive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify GitHub activity claims using archived event data?

GitHub Archive captures all public GitHub events since 2011 in an immutable, tamper-proof record queryable via BigQuery. Query the archive by repository and actor to confirm PR, issue, commit, and workflow events with exact timestamps, establishing verifiable evidence of who did what and when.

Can I reconstruct deleted GitHub content and timelines for incident response?

Yes. GitHub Archive preserves deleted PRs, issues, branches, tags, and repositories with full event history. For incident response, query PullRequestEvent, IssuesEvent, and PushEvent to correlate actions across repositories and build a complete attack timeline even after content removal.

What BigQuery schema and SQL skills do I need to query GitHub Archive?

You need familiarity with the gharchive-style schema and SQL query techniques like JSON_EXTRACT_SCALAR to parse event payloads. Access to a Google Cloud BigQuery project with permissions to query the GitHub Archive dataset is required to extract and analyze event records.

How do I attribute GitHub actions to specific actors across multiple repositories?

Query GitHub Archive by actor login and repository name, then filter events by type and timestamp. Cross-repository analysis reveals patterns of actor behavior, allowing you to correlate actions and identify coordinated activity or attacker infrastructure across organizations.

When should I use GitHub Archive for forensic investigations instead of GitHub's API?

Use GitHub Archive for forensic investigations when you need immutable, historical evidence immune to tampering or deletion, require events older than GitHub's API retention windows, or must analyze patterns across many repositories and actors efficiently via SQL.