evo-gh-data-fetcher

evo-gh-data-fetcher is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 62 tokens per session (714 once invoked), scanned A, original, Apache-2.0.

A data-fetching utility for GitHub's REST API, the web interface used by programs to retrieve repository information. It downloads pull request and issue records, handles result pages, filters by dates, and parses the returned JSON.

In plain words
What is it for?
Use it to retrieve pull requests, issues, labels, merge details, and timestamps for a repository and date range for later analysis.
Why use it?
It removes the need to write repeated API requests and pagination logic when collecting repository activity. It can work with public repositories without the GitHub command-line tool, subject to API rate limits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve pull requests, issues, labels, merge details, and timestamps for a repository and date range for later analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-gh-data-fetcher
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenLAIR/OpenSkill --skill evo-gh-data-fetcher
Clone the repo
git clone --depth 1 https://github.com/OpenLAIR/OpenSkill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for evo-gh-data-fetcher

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/openskill/evo-gh-data-fetcher/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-gh-data-fetcher)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-gh-data-fetcher"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-gh-data-fetcher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for evo-gh-data-fetcher

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-gh-data-fetcher"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-gh-data-fetcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 714 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00714
Opus 5 $0.00031 $0.00357
Sonnet 5 $0.00012 $0.00143
Haiku 4.5 $0.00006 $0.00071

Measured yesterday against content hash 2efceb324364, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

evo-gh-data-fetcher scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/fetch.py, scripts/utils.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Fetches pull request and issue data from a GitHub repository using the GitHub REST API via curl/subprocess. Handles JSON output parsing, pagination, date range filtering, and error handling. Use when you nee
tasks-evolved/gh-repo-analytics/environment/skills/evo-gh-data-fetcher/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

evo-gh-data-fetcher

Fetches PR and issue data from GitHub repositories using the GitHub REST API (via curl subprocess calls). Works without gh CLI authentication by using unauthenticated API access for public repos.

Key Concepts

  • Uses GitHub Search API (/search/issues) with query qualifiers like type:pr, type:issue, created:YYYY-MM-DD..YYYY-MM-DD
  • Search API returns max 1000 results per query; pagination handled automatically
  • PR details (merge status, merged_at) require individual PR endpoint calls (/repos/{owner}/{repo}/pulls/{number})
  • Timestamps are ISO 8601 format with Z suffix (e.g., 2024-12-15T10:30:00Z)
  • Rate limiting: unauthenticated = 60 req/hour; with token = 5000 req/hour
  • PR states from API: open, closed with merged boolean and merged_at timestamp
  • Issue labels are returned as array of objects: [{"name": "bug", ...}]

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-gh-data-fetcher/scripts')
from utils import fetch_prs_fast, fetch_issues_with_labels, parse_gh_timestamp

# Fetch PRs
prs = fetch_prs_fast("cli/cli", "2024-12-01", "2024-12-31")

# Fetch Issues
issues = fetch_issues_with_labels("cli/cli", "2024-12-01", "2024-12-31")

# Parse timestamps
from datetime import datetime
dt = parse_gh_timestamp("2024-12-15T10:30:00Z")

Functions

  • parse_gh_timestamp(ts_string) - Parse ISO 8601 GitHub timestamp to datetime
  • run_github_api(url) - Execute curl to GitHub REST API, return parsed JSON
  • fetch_search_results(query, per_page, max_pages) - Paginated search API fetcher
  • fetch_prs_fast(repo, date_start, date_end) - Fetch PRs with merge details
  • fetch_issues_with_labels(repo, date_start, date_end) - Fetch issues with labels

PR Data Structure (from /repos/{owner}/{repo}/pulls/{number})

  • number: int
  • state: "open" or "closed"
  • merged: boolean
  • created_at: ISO 8601 timestamp
  • merged_at: ISO 8601 timestamp or null
  • closed_at: ISO 8601 timestamp or null
  • user.login: string (author)
  • labels: [{"name": "...", ...}]

Read the full file on GitHub · 65 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 65 lines · 62 tokens per session scan A 2efceb324364

Subscribe to this mod's changes

evo-gh-data-fetcher is a skill published in the GitHub repository OpenLAIR/OpenSkill (88 stars, last pushed yesterday), licensed Apache-2.0. It adds 62 tokens to every session and 714 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.