Context Prime banner
elizaOS elizaOS

Context Prime

Git community intermediate

Description

A modern analytics pipeline for tracking and analyzing GitHub contributions across repositories. The system processes contributor data, generates AI-powered summaries, and maintains a leaderboard of developer activity.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

GitHub Contributor Analytics

A modern analytics pipeline for tracking and analyzing GitHub contributions across repositories. The system processes contributor data, generates AI-powered summaries, and maintains a leaderboard of developer activity.

Prerequisites

  • Bun (recommended) or Node.js 18+
  • GitHub Personal Access Token with repo scope
  • OpenRouter API Key (optional, for AI summaries)
  • uv (optional, for syncing from production DB)

Features

  • Tracks pull requests, issues, reviews, and comments
  • Calculates contributor scores based on activity and impact
  • Generates AI-powered summaries of contributions
  • Exports daily summaries to JSON files
  • Maintains contributor expertise levels and focus areas
  • Interactive contributor profile pages
  • Activity visualizations and metrics
  • Daily, weekly, and monthly reports
  • Smart contributor scoring system

Wallet Linking (Optional Feature)

Contributors can optionally link their Ethereum and Solana wallet addresses to their GitHub profiles. When configured, users can authenticate via GitHub OAuth and store wallet addresses in their profile README.

**Setup:** See [`auth-worker/README.md`](auth-worker/README.md) for Cloudflare Worker deployment and OAuth configuration.

**Required secrets (if enabling):**

  • NEXT_PUBLIC_GITHUB_CLIENT_ID - GitHub OAuth App Client ID
  • NEXT_PUBLIC_AUTH_WORKER_URL - Deployed Cloudflare Worker URL

**Note:** The leaderboard works perfectly fine without this feature. It's purely additive.

Setup

  1. Install dependencies:
bun install
  1. Set up environment variables in .env using .env.example for reference:
# Required for Github Ingest
GITHUB_TOKEN=your_github_personal_access_token_here
# Required for AI summaries
OPENROUTER_API_KEY=your_api_key_here
# configure local environment to use cheaper models
LARGE_MODEL=openai/gpt-4o-mini


...