analyze-gpu-timeline

analyze-gpu-timeline is a skill for Claude Code from zystem-io/zymtrace-skills. It costs 171 tokens per session (4,036 once invoked), scanned A, original, Apache-2.0.

A procedure for recording and examining NVIDIA GPU activity over time. A GPU timeline keeps events in order, showing gaps, overlap, synchronization, and changing durations during a profiled run.

In plain words
What is it for?
Use it to investigate GPU underuse, repeated launch patterns, timing variation, copy and compute overlap, and one GPU limiting a multi-GPU job.
Why use it?
It helps distinguish overall GPU time from timing problems that a summary chart cannot show, such as idle periods or poorly placed synchronization.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the zymtrace plugin — 11 skills, 1 agent shipped together

Good fit Use it to investigate GPU underuse, repeated launch patterns, timing variation, copy and compute overlap, and one GPU limiting a multi-GPU job.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add zystem-io/zymtrace-skills
Claude Code
/plugin install zymtrace

Made for: Claude Code.

Or install zymtrace, the plugin that ships this one along with the rest of its 11 skills, 1 agent.

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 analyze-gpu-timeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/zystem-io/zymtrace-skills/analyze-gpu-timeline/github.svg)](https://agentmods.dev/skills/zystem-io/zymtrace-skills/analyze-gpu-timeline)
Your own site
<a href="https://agentmods.dev/skills/zystem-io/zymtrace-skills/analyze-gpu-timeline"><img src="https://agentmods.dev/badge/skills/zystem-io/zymtrace-skills/analyze-gpu-timeline/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 analyze-gpu-timeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/zystem-io/zymtrace-skills/analyze-gpu-timeline"><img src="https://agentmods.dev/badge/skills/zystem-io/zymtrace-skills/analyze-gpu-timeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,036 The whole file, excluding the scripts and references it only reads on demand.
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.00171 $0.04036
Opus 5.5 $0.00068 $0.01614
Sonnet 5.5 $0.00034 $0.00807
Haiku 4.5 $0.00017 $0.00404

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

Security

Grade A, and why

analyze-gpu-timeline 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 15d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/high-res-rule.sh, scripts/timeline-patterns.sh), 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.

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.

zymtrace/skills/analyze-gpu-timeline/SKILL.md · 221 lines

How it starts

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

Analyze the GPU Timeline

The flamegraph aggregates: it tells you which kernels and code paths take GPU time. The timeline keeps every event in order with nanosecond timestamps, so it answers what the flamegraph can't: gaps between launches, overlap of copies and compute, where syncs land, and how durations change across a run. It needs high-resolution profiling, which is off by default, has real overhead, and is meant for short, scoped windows.

The common analysis discipline — 💚 plan, data-source policy, recommend-then-apply-the-fix, output template, severity sizing, security — is in shared/analysis-conventions.md. Read it. API payloads, the response schema and jq recipes (with a python3 fallback) are in ${CLAUDE_PLUGIN_ROOT}/skills/analyze-gpu-timeline/reference.md. The scripts use jq when it's installed and python3 otherwise; with neither, they stop and say how to install jq.

Question Skill
Which kernel / code path dominates GPU time, why is the GPU underused optimize-gpu-workloads
Gaps, ordering, overlap, sync placement, cadence, jitter, drift over a run this skill
One GPU holding back a multi-GPU job optimize-gpu-workloads § Multi-GPU jobs

Limits: NVIDIA CUDA only (the AMD timeline is on the roadmap). Only processes that run the zymtrace GPU profiler (manual CUDA_INJECTION64_PATH or automatic injection) produce timeline data.

Pre-flight

  1. Instance and data path (shared conventions § Pre-flight). Two paths to the same data:
    • MCP (preferred for analysis): timeline_density + timeline_patterns, and the MCP's own procedure in the timeline_analysis prompt (resource prompt://timeline) — read it.
    • Public REST API (automation, CI, no MCP, and the only way to enable high-resolution profiling programmatically): <gateway-url>/public/api/v1/.... When auth is on, the user exports a service token as ZYMTRACE_API_TOKEN (an MCP token works for the pattern API); never ask for it in chat. The instance's spec is <gateway-url>/api-docs/openapi.json.
  2. Project and scope. Resolve the project (discover_projects / discover, or GET /public/api/v1/projects) and the narrowest scope that holds the work: a pod, container, script or process (k8s.pod.name == "trainer-0"), a host only when needed.
  3. Is the GPU profiler loaded there? A CUDA profile must exist for that scope (hot_traces / discover with event kind cuda). None → the workload isn't GPU-profiled; route to install-zymtrace-profiler (or troubleshoot-zymtrace-profiler if it should be).

Read the full file on GitHub · 221 lines

Files

What ships with it

3 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. 15d ago First seen · 221 lines · 171 tokens per session scan A e38871ea49f0

Subscribe to this mod's changes

analyze-gpu-timeline is a skill published in the GitHub repository zystem-io/zymtrace-skills (8 stars, last pushed 6d ago), licensed Apache-2.0. It adds 171 tokens to every session and 4,036 once invoked, about $0.0007 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-11-18.

Related

analyze-gpu-timeline compared with skills from other repositories

analyze-gpu-timeline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analyze-gpu-timelinezystem-io/zymtrace-skillsSkill86d agoApache-2.0A171Claude Code
cli-anything-renderdocHKUDS/CLI-AnythingSkill71k13d agoApache-2.0A15Claude Code, Codex
cli-anything-nsight-graphicsHKUDS/CLI-AnythingSkill71k13d agoApache-2.0A29Claude Code, Codex
runpod-endpoint-opsrunpod/runpod-plugins-officialSkill57todayApache-2.0A102Claude Code
runpod-pod-doctorrunpod/runpod-plugins-officialSkill57todayApache-2.0A116Claude Code
cuda-kernel-optimizertroycheng/cuda-kernel-optimizerSkill7yesterdayMITA77Codex
fix-ciCliMA/ClimaCore.jlSkill120todayApache-2.0A84Claude Code