Agent skill

Isa Resource Diff

by ROCm in ROCm/FlyDSL

Detect per-kernel GPU resource regressions (VGPR, SGPR, register spills, scratch, static LDS) by diffing the final ISA before and after a change, using its isaresourcetable.py helper.

Custom licenceAuto-check: notesDevelopment

Install Isa Resource Diff

skills CLI
$ npx skills add ROCm/FlyDSL --skill isa-resource-diff -a claude-code

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

GitHub CLI
$ gh skill install ROCm/FlyDSL isa-resource-diff --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/ROCm/FlyDSL.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/isa-resource-diff .claude/skills/isa-resource-diff && 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
isa-resource-diff
GitHub stars
287
Token cost
~2.7k tokens
SKILL.md length
1,210 words
Files
2 (incl. scripts)
Skills in repo
19
Repo updated
First seen
Licence
Custom licence

At a glance

Detect per-kernel GPU resource regressions (VGPR, SGPR, register spills, scratch, static LDS) by diffing the final ISA before and after a change, using its isaresourcetable.py helper.

  • Works in 3 steps: Capture the "before" side → Capture the "after" side → Diff
  • Asked whether a change increased register pressure
  • SKILL.md covers Pick the right skill first, Arguments, Workflow and Reading the output, plus 2 more sections
  • Runs Python scripts from its folder; calls python3 and pytest

What it does

Isa Resource Diff is an agent skill from ROCm/FlyDSL. Detect per-kernel GPU resource regressions (VGPR, SGPR, register spills, scratch, static LDS) by diffing the final ISA before and after a change, using its isaresourcetable.py helper. Compile-only: needs no GPU and no profiler run, so it works on any target the compiler supports and runs in seconds. Use when asked whether a change increased register pressure, caused spilling, or hurt occupancy, when reviewing a kernel change for resource impact, or as a fast pre-check before spending a profiling run. Usage…

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/isa_resource_table.py`).

It sits in Development, covering Performance optimization. It works with Python. The repository describes itself as: FlyDSL is the Python front‑end of the project: a Flexible Layout Python DSL for expressing tiling, partitioning, data movement, and kernel structure at a high level.

When your agent uses it

  • Asked whether a change increased register pressure
  • Caused spilling
  • Reviewing a kernel change for resource impact
  • As a fast pre-check before spending a profiling run

Example prompts

  • “/isa-resource-diff”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Write, Bash, Grep, Glob

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Capture the "before" side
  2. Capture the "after" side
  3. Diff

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pytest

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

  • Network

    No URLs in SKILL.md.

    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

Isa Resource Diff loads about 2.7k tokens when it runs. Until then it costs about 147 tokens; SKILL.md has 1,210 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Bash, Grep, Glob

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); the scripts in this folder 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 1,210 words (~2,699 tokens).

“Compare per-kernel register, spill, scratch, and LDS usage between two builds to catch resource regressions that functional tests do not surface.”

— opening of SKILL.md by ROCm, Custom licence
name
isa-resource-diff
allowed-tools
Read, Write, Bash, Grep, Glob

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in .claude/skills/isa-resource-diff of ROCm/FlyDSL.

  • SKILL.md
  • scripts/isa_resource_table.py

Open the folder on GitHubat commit 1941889

Compare with similar skills

Isa Resource Diff 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.

Isa Resource Diff compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Isa Resource Diff this skillROCm/FlyDSL287—~2.7kAutomated safety check: NotesCustom licence
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Pycrazyguitar/pysheeet8.2k—~886Automated safety check: PassMIT
Python Performance Optimizationwshobson/agents40k12 repos~814Automated safety check: PassMIT
Keybase RPC Log Analysiskeybase/client9.3k—~3kAutomated safety check: PassBSD-3-Clause
The Art of Debuggingstas00/the-art-of-debugging1.7k—~6.1kAutomated safety check: NotesCC-BY-SA-4.0

Similar skills

  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Py

    crazyguitar/pysheeet

    Comprehensive Python programming reference covering syntax, concurrency, networking, databases, ML/LLM development, and HPC.

    8.2k GitHub stars~886 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Profiles slow Python code with cProfile and memory profilers, then applies targeted fixes for CPU, memory, I/O and query bottlenecks.

    40k GitHub starsUsed in 12 repos~814 tokens
    DevelopmentAuto-check passed
  • Captures a clean Keybase service log and analyzes it for redundant, duplicated or looping RPCs, then checks whether a caching fix reduced the calls.

    9.3k GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed
  • The Art of Debugging

    stas00/the-art-of-debugging

    Condensed debugging method and tool recipes for Unix, Python and PyTorch programs: crashes, hangs, segfaults, wrong output, CUDA OOM, NaN values and slowness.

    1.7k GitHub stars~6.1k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Code Review Specialist

    luongnv89/claude-howto

    Reviews code for security, performance, quality and maintainability, using a checklist, a finding template and two metrics scripts.

    42k GitHub stars~764 tokensUpdated 7 days ago
    DevelopmentAuto-check passed

More from ROCm/FlyDSL

All 19 skills in this repo
  • Llvm

    ROCm/FlyDSL

    Tune and analyse a FlyDSL kernel at the LLVM level: pick a compile hint, function attribute, or AMDGPU backend flag, then PROVE it reached codegen.

    287 GitHub stars~4.9k tokensUpdated today
    Auto-check: notes
  • API Stability

    ROCm/FlyDSL

    Review a FlyDSL PR, commit, branch, kernel, or consuming module for API-stability compliance.

    287 GitHub stars~3.2k tokensUpdated today
    Auto-check: notes
  • Build Rocm Image

    ROCm/FlyDSL

    Connect to a remote host via SSH and build a Docker image with rocprofv3, aiter, and FlyDSL.

    287 GitHub stars~1.2k tokensUpdated today
    Auto-check: notes
  • Debug FlyDSL GPU kernels that produce NaN, inf, wrong results, or crash.

    287 GitHub stars~2.6k tokensUpdated today
    Auto-check: notes
  • Guided step-by-step wizard for producing a new FlyDSL GPU kernel from a requirement: classify the kernel type, pick a skeleton, fill in compute, add control flow / sync / LDS, then test on GPU.

    287 GitHub stars~4.6k tokensUpdated today
    Auto-check: notes
  • Format Code

    ROCm/FlyDSL

    Format, clean up, and style-check changed files, matching the project's CI style gate.

    287 GitHub stars~1.9k tokensUpdated today
    Auto-check: notes

Works with

Categories

Questions about Isa Resource Diff

What does Isa Resource Diff do?

Detect per-kernel GPU resource regressions (VGPR, SGPR, register spills, scratch, static LDS) by diffing the final ISA before and after a change, using its isaresourcetable.py helper. Isa Resource Diff is an agent skill from ROCm/FlyDSL.py helper.

When should I use Isa Resource Diff?

Isa Resource Diff fits situations like: asked whether a change increased register pressure; caused spilling; reviewing a kernel change for resource impact; as a fast pre-check before spending a profiling run.

How do I install Isa Resource Diff in Claude Code?

Run `npx skills add ROCm/FlyDSL --skill isa-resource-diff -a claude-code`. Or copy the skill folder (.claude/skills/isa-resource-diff in ROCm/FlyDSL) into .claude/skills/isa-resource-diff in your project. Claude Code loads it when a task matches its description.

How do I install Isa Resource Diff in Codex?

Run `npx skills add ROCm/FlyDSL --skill isa-resource-diff -a codex`. Or copy the skill folder (.claude/skills/isa-resource-diff in ROCm/FlyDSL) into .agents/skills/isa-resource-diff in your project. Codex loads it when a task matches its description.

Can I use Isa Resource Diff 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 ROCm/FlyDSL --skill isa-resource-diff -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/isa-resource-diff, .gemini/skills/isa-resource-diff, .github/skills/isa-resource-diff and .opencode/skills/isa-resource-diff in your project.

What does Isa Resource Diff need to run?

Going by SKILL.md and its folder, Isa Resource Diff needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and pytest). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Bash, Grep, Glob.

Does Isa Resource Diff access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Isa Resource Diff safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Isa Resource Diff use?

Isa Resource Diff 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 Isa Resource Diff use?

About 2.7k tokens (SKILL.md is roughly 11k 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 Isa Resource Diff?

Skills that share tags, products or a category with Isa Resource Diff: Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Py (crazyguitar/pysheeet, 8.2k stars), Python Performance Optimization (wshobson/agents, 40k stars) and Keybase RPC Log Analysis (keybase/client, 9.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Isa Resource Diff?

ROCm (a GitHub organization) maintains it in ROCm/FlyDSL, which has 287 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 7, 2026.

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