nvidia_gpu_exporter: Instructions file for Codex

AGENTS.md

nvidia_gpu_exporter AGENTS.md is an instructions file for Codex, OpenCode from utkuozdemir/nvidia_gpu_exporter. It costs 7,120 tokens per session, scanned A, original, MIT.

A repository guide for contributors and coding agents working on a tool that collects NVIDIA GPU metrics. It explains the code layout, collection methods, test data, and testing rules.

In plain words
What is it for?
Use it to understand how the NVIDIA GPU exporter is organised, where its data comes from, and how to test changes.
Why use it?
It keeps important project knowledge in one maintained place and helps prevent agents from relying on outdated lists or assumptions.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Gemini CLI.

This is utkuozdemir/nvidia_gpu_exporter's own configuration. It tells Codex and OpenCode how to work on nvidia_gpu_exporter itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nvidia_gpu_exporter configures →

About the project

nvidia_gpu_exporter is a monitoring exporter that reads NVIDIA GPU measurements through the nvidia-smi program or the NVML driver library and exposes them to Prometheus. It is used to monitor GPU utilization, memory, power, and temperature on machines, containers, Kubernetes clusters, and other supported setups. The catalogue instructions cover deploying or configuring this exporter.

utkuozdemir/nvidia_gpu_exporter · 1,581 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to utkuozdemir/nvidia_gpu_exporter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/utkuozdemir/nvidia_gpu_exporter/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/utkuozdemir/nvidia_gpu_exporter

Made for: Codex, OpenCode.

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 nvidia_gpu_exporter AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/utkuozdemir/nvidia_gpu_exporter/agents-md/github.svg)](https://agentmods.dev/instructions/utkuozdemir/nvidia_gpu_exporter/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/utkuozdemir/nvidia_gpu_exporter/agents-md"><img src="https://agentmods.dev/badge/instructions/utkuozdemir/nvidia_gpu_exporter/agents-md/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 nvidia_gpu_exporter AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/utkuozdemir/nvidia_gpu_exporter/agents-md"><img src="https://agentmods.dev/badge/instructions/utkuozdemir/nvidia_gpu_exporter/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,120 This file is loaded in full into every session.
When invoked 7,120 The same file — it is already loaded in full.
Security scan A 0 findings. 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.07120 $0.07120
Opus 5.5 $0.02848 $0.02848
Sonnet 5.5 $0.01424 $0.01424
Haiku 4.5 $0.00712 $0.00712

Measured 3d ago against content hash e18396f22615, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nvidia_gpu_exporter AGENTS.md scanned grade A with 0 findings 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 3d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 329 lines

How it starts

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

nvidia_gpu_exporter — agent guide

This is the project's knowledge base for humans and agents working in this repository. Maintain it as you go: whenever you learn something durable about how this repo works, add it here. It is not append-only, so fix or delete anything that becomes wrong or outdated.

Keep it timeless. Two rules keep it from rotting: prefer pointers over copies, and prefer invariants over inventories. Never restate a flag list, a metric list, a chart value, a file count, a version number or the current state of some in-flight work. Those live in the code and the docs, they change constantly, and a stale copy here is worse than no copy. What belongs here is the map, and the reasoning that is not written down anywhere else.

CLAUDE.md, GEMINI.md and .github/copilot-instructions.md point at this file, so this is the one place to edit. The Copilot file additionally inlines a few of the rules below, because its consumer injects that file verbatim instead of following the pointer; keep those copies in sync.

Markdown note: task lint:assets runs markdownlint over every tracked markdown file except the generated chart README, this one included, so it has to pass. Keep one sentence per line and the first line as the single top-level heading.

What this repo is

A Prometheus exporter for NVIDIA GPUs, distributed as a single static Go binary. By default it runs nvidia-smi, parses its CSV output and exports the result, which is why it works anywhere that binary works (Linux, Windows, macOS, containers, WSL2) with no C bindings and no NVIDIA userspace of its own.

The distribution surface is wide for a project this size: archives, native packages, container images on more than one registry, a Helm chart, Windows package manifests, a systemd unit, a native Windows service, and the Grafana dashboards. .goreleaser.yml and .github/workflows/release.yml are the authority on what is published and where. All of it is published from this repository: the release pipeline ships everything except the dashboards, whose revisions a separate workflow publishes to grafana.com from main.

Read the full file on GitHub · 329 lines

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. 3d ago Changed · +11 lines · +317 tokens per session e18396f22615
  2. 5d ago Changed · +27 tokens per session 1ffb841e9504
  3. 8d ago Changed · +1 lines · +150 tokens per session 03d6cd475c59
  4. 11d ago Changed · +5 lines · +123 tokens per session c6f378fa94c5
  5. 12d ago Changed · +8 lines · +335 tokens per session 88ea99abe8d4
  6. 2mo ago First seen · 304 lines · 6,168 tokens per session scan A cc206a0b268f

Subscribe to this mod's changes

nvidia_gpu_exporter AGENTS.md is an instructions file published in the GitHub repository utkuozdemir/nvidia_gpu_exporter (1,581 stars, last pushed today), licensed MIT. It adds 7,120 tokens to every session, about $0.0285 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

nvidia_gpu_exporter AGENTS.md compared with instructions from other repositories

nvidia_gpu_exporter AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nvidia_gpu_exporter AGENTS.mdutkuozdemir/nvidia_gpu_exporterInstructions file1.6ktodayMITA7,120Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode