← Browse

@majiayu000/github-utils

C

Imported skill github_utils from openai

skillclaude

Install

agr install @majiayu000/github-utils --target claude

Writes 2 files into .claude/skills/, pinned to git-5b0db85c.

  • .claude/skills/github-utils/SKILL.md
  • .claude/skills/github-utils/metadata.json

Document


description: Imported skill github_utils from openai name: github_utils signature: 61c1bbe2ae217433b4b6f9f09f21aca4df52c12598068343ade719f706e4859b source: /a0/tmp/skills_research/openai/skills/.system/skill-installer/scripts/github_utils.py

#!/usr/bin/env python3 """Shared GitHub helpers for skill install scripts."""

from future import annotations

import os import urllib.request

def github_request(url: str, user_agent: str) -> bytes: headers = {"User-Agent": user_agent} token = os.environ.get("GITHUB_TOKEN") or os.environ.get("GH_TOKEN") if token: headers["Authorization"] = f"token {token}" req = urllib.request.Request(url, headers=headers) with urllib.request.urlopen(req) as resp: return resp.read()

def github_api_contents_url(repo: str, path: str, ref: str) -> str: return f"https://api.github.com/repos/{repo}/contents/{path}?ref={ref}"

Repository README

Describes majiayu000/claude-skill-registry-data as a whole, which may contain artifacts other than this one. Where this artifact had no useful description of its own, its summary was taken from here.

Claude Skill Registry (Data)

This repo contains the archived skill contents (the heavy, browsable skill files).

Canonical layout

  • Category folders at repo root (e.g. development/, documents/, data/, ...)
  • Each skill lives under a category: <category>/<skill>/SKILL.md + <category>/<skill>/metadata.json
  • Case conflicts are resolved with {name}-{owner}-{repo} suffixes (fallback: -{short-hash}).

Archive status

  • Live badges above are sourced from claude-skill-registry-core stats.json.
  • Counts in this README are intentionally dynamic, not hardcoded.
  • If the badges look stale, refresh the core build/index pipeline rather than editing numbers here.

Where the index + site live

Trustgrade C

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • warnPrompt injection1 hit(s): credential_access

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

    • line 19References credentials, tokens, or key material
  • warnLicenseno SPDX license detected

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-5b0db85c2c1f2026-07-31