Agent skill

CI Metrics

by pytorch in pytorch/pytorch

Query PyTorch CI, GitHub Actions, HUD, Grafana, and infrastructure metrics.

Custom licenceAuto-check passedAI & LLM Engineering

Install CI Metrics

skills CLI
$ npx skills add pytorch/pytorch --skill ci-metrics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pytorch/pytorch ci-metrics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pytorch/pytorch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/ci-metrics .claude/skills/ci-metrics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ci-metrics
GitHub stars
104k
Token cost
~1.1k tokens
SKILL.md length
400 words
Files
2
Skills in repo
16
Repo updated
First seen
Licence
Custom licence

At a glance

Query PyTorch CI, GitHub Actions, HUD, Grafana, and infrastructure metrics.

  • Users ask about CI duration
  • SKILL.md covers Requirements, Datasources, CI and Test Run Data and CI Infrastructure
  • Runs Shell scripts from its folder; calls gh
  • Workflow trends

What it does

CI Metrics is an agent skill from pytorch/pytorch. Query PyTorch CI, GitHub Actions, HUD, Grafana, and infrastructure metrics. Use when users ask about CI duration, job failures, queue times, workflow trends, runner health, dashboard data, or PyTorch infrastructure metrics.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `gcx-wrapper.sh`).

It sits in AI & LLM Engineering, covering Deep learning, Monitoring and alerting and CI/CD. It works with PyTorch, Grafana and GitHub Actions. The repository describes itself as: Tensors and Dynamic neural networks in Python with strong GPU acceleration.

When your agent uses it

  • Users ask about CI duration
  • Workflow trends
  • PyTorch infrastructure metrics

Example prompts

  • “/ci-metrics”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit aa0dab7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • docs.github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

CI Metrics loads about 1.1k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 400 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 400 words (~1,145 tokens).

“PyTorch CI and infrastructure metrics are exposed through Grafana. Use .agents/skills/ci-metrics/gcx-wrapper.sh for all Grafana access; it configures the PyTorch Grafana server, context, and authentication. Only users with write permission to the repo have access to Grafana. The authentication only provides…”

— opening of SKILL.md by pytorch, Custom licence
name
ci-metrics

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .agents/skills/ci-metrics of pytorch/pytorch.

  • SKILL.md
  • gcx-wrapper.sh

Open the folder on GitHubat commit aa0dab7

Compare with similar skills

CI Metrics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

CI Metrics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
CI Metrics this skillpytorch/pytorch104k—~1.1kAutomated safety check: PassCustom licence
Audit And Reduce Dependenciesgrafana/skills279—~3.6kAutomated safety check: WarnApache-2.0
Migrate Workflow Ec2 To Osdcpytorch/test-infra113—~2kAutomated safety check: PassCustom licence
Jcm Local CIclimate-analytics-lab/jax-gcm108—~3kAutomated safety check: PassApache-2.0
Megatron-LM Base Image BumpNVIDIA/Megatron-LM18k—~2.8kAutomated safety check: PassApache-2.0
Renovate Batch Updategrafana/quickpizza169—~3.2kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    Reduces JavaScript dependency footprint with pnpm while preserving lockfile, workspace layout, and dependency range style.

    279 GitHub stars~3.6k tokensUpdated yesterday
    DevOps & CloudAuto-check: warnings
  • Step-by-step playbook for migrating a pytorch/pytorch .github/workflows/.yml from EC2 to OSDC (ARC) runners — covers both dial-up and 100% opt-in patterns, with the inputs that must be plumbed…

    113 GitHub stars~2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Jcm Local CI

    climate-analytics-lab/jax-gcm

    Run the jax-gcm CI gates locally on Derecho when GitHub Actions minutes are exhausted or a pre-push check is wanted — lint, fast tests (90% coverage), slow tests (80% PR coverage) and a local Claude…

    108 GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed
  • Megatron-LM Base Image Bump

    NVIDIA/Megatron-LM

    Official

    Moves Megatron-LM CI to a newer NVIDIA PyTorch base image, updating both the GitHub and GitLab pins together and handling the CI follow-up.

    18k GitHub stars~2.8k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Renovate Batch Update

    grafana/quickpizza

    Official

    Consolidate all open Renovate PRs on quickpizza into tested, reviewable PRs.

    169 GitHub stars~3.2k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Admin

    grafana/skills

    Official

    Manage Grafana Cloud accounts — organizations, stacks, RBAC roles and assignments, SSO/SAML/OAuth/GitHub auth, service accounts for CI/CD, user invites, team membership, and API-driven provisioning.

    279 GitHub stars~1.5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from pytorch/pytorch

All 16 skills in this repo
  • Add Uint Support

    pytorch/pytorch

    Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.

    104k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Docstring

    pytorch/pytorch

    Write docstrings for PyTorch functions and methods following PyTorch conventions.

    104k GitHub starsUsed in 2 repos~2.6k tokens
    Auto-check passed
  • Aoti Debug

    pytorch/pytorch

    Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.

    104k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Cuda Index Width

    pytorch/pytorch

    Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. An agent skill from pytorch/pytorch.

    104k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Document Public APIs

    pytorch/pytorch

    Document undocumented public APIs in PyTorch by removing functions from coverageignorefunctions and coverageignoreclasses in docs/source/conf.py, running Sphinx coverage, and adding the appropriate…

    104k GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • Fix Issue

    pytorch/pytorch

    Fix bugs reported in PyTorch GitHub issues by reproducing, root-causing, and implementing a fix in the local working tree.

    104k GitHub stars~2.3k tokensUpdated today
    Auto-check passed

Questions about CI Metrics

What does CI Metrics do?

Query PyTorch CI, GitHub Actions, HUD, Grafana, and infrastructure metrics. CI Metrics is an agent skill from pytorch/pytorch. Query PyTorch CI, GitHub Actions, HUD, Grafana, and infrastructure metrics.

When should I use CI Metrics?

CI Metrics fits situations like: users ask about CI duration; workflow trends; pyTorch infrastructure metrics.

How do I install CI Metrics in Claude Code?

Run `npx skills add pytorch/pytorch --skill ci-metrics -a claude-code`. Or copy the skill folder (.agents/skills/ci-metrics in pytorch/pytorch) into .claude/skills/ci-metrics in your project. Claude Code loads it when a task matches its description.

How do I install CI Metrics in Codex?

Run `npx skills add pytorch/pytorch --skill ci-metrics -a codex`. Or copy the skill folder (.agents/skills/ci-metrics in pytorch/pytorch) into .agents/skills/ci-metrics in your project. Codex loads it when a task matches its description.

Can I use CI Metrics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pytorch/pytorch --skill ci-metrics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ci-metrics, .gemini/skills/ci-metrics, .github/skills/ci-metrics and .opencode/skills/ci-metrics in your project.

What does CI Metrics need to run?

Going by SKILL.md and its folder, CI Metrics needs a shell for the scripts in its folder and the command-line tools its instructions call (gh). Our summary lists: A Bash shell.

Does CI Metrics access the network?

SKILL.md names 2 domains. As links in the text: github.com and docs.github.com. This is read from the text; nothing was executed.

Is CI Metrics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does CI Metrics use?

CI Metrics has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does CI Metrics use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to CI Metrics?

Skills that share tags, products or a category with CI Metrics: Audit And Reduce Dependencies (grafana/skills, 279 stars), Migrate Workflow Ec2 To Osdc (pytorch/test-infra, 113 stars), Jcm Local CI (climate-analytics-lab/jax-gcm, 108 stars) and Megatron-LM Base Image Bump (NVIDIA/Megatron-LM, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains CI Metrics?

pytorch (a GitHub organization) maintains it in pytorch/pytorch, which has 103,867 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 8, 2026.

Source: pytorch/pytorch on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.