Agent Matrix Optimizer
ruvnet/ruflo
Agent skill for matrix-optimizer - invoke with $agent-matrix-optimizer
Comprehensive guide to optimizing GEMM (General Matrix Multiply) kernels in FlyDSL on AMD CDNA GPUs.
$ npx skills add ROCm/FlyDSL --skill gemm-optimization -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ROCm/FlyDSL gemm-optimization --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ROCm/FlyDSL.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/gemm-optimization .claude/skills/gemm-optimization && rm -rf skills-srcUse ~/.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/
Install the "gemm-optimization" agent skill from https://github.com/ROCm/FlyDSL/tree/main/.claude/skills/gemm-optimization into .claude/skills/gemm-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemm-optimization", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ROCm/FlyDSL/tree/main/.claude/skills/gemm-optimizationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ROCm/FlyDSL --skill gemm-optimization -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ROCm/FlyDSL gemm-optimization --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ROCm/FlyDSL.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/gemm-optimization .agents/skills/gemm-optimization && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gemm-optimization" agent skill from https://github.com/ROCm/FlyDSL/tree/main/.claude/skills/gemm-optimization into .agents/skills/gemm-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemm-optimization", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ROCm/FlyDSL --skill gemm-optimization -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ROCm/FlyDSL gemm-optimization --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ROCm/FlyDSL.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/gemm-optimization .cursor/skills/gemm-optimization && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gemm-optimization" agent skill from https://github.com/ROCm/FlyDSL/tree/main/.claude/skills/gemm-optimization into .cursor/skills/gemm-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemm-optimization", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ROCm/FlyDSL.git --path .claude/skills/gemm-optimization--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ROCm/FlyDSL --skill gemm-optimization -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ROCm/FlyDSL gemm-optimization --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ROCm/FlyDSL.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/gemm-optimization .gemini/skills/gemm-optimization && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gemm-optimization" agent skill from https://github.com/ROCm/FlyDSL/tree/main/.claude/skills/gemm-optimization into .gemini/skills/gemm-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemm-optimization", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ROCm/FlyDSL gemm-optimizationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ROCm/FlyDSL --skill gemm-optimization -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ROCm/FlyDSL.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/gemm-optimization .github/skills/gemm-optimization && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gemm-optimization" agent skill from https://github.com/ROCm/FlyDSL/tree/main/.claude/skills/gemm-optimization into .github/skills/gemm-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemm-optimization", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ROCm/FlyDSL --skill gemm-optimization -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ROCm/FlyDSL gemm-optimization --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ROCm/FlyDSL.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/gemm-optimization .opencode/skills/gemm-optimization && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gemm-optimization" agent skill from https://github.com/ROCm/FlyDSL/tree/main/.claude/skills/gemm-optimization into .opencode/skills/gemm-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gemm-optimization", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gemm-optimizationComprehensive guide to optimizing GEMM (General Matrix Multiply) kernels in FlyDSL on AMD CDNA GPUs.
Gemm Optimization is an agent skill from ROCm/FlyDSL. Comprehensive guide to optimizing GEMM (General Matrix Multiply) kernels in FlyDSL on AMD CDNA GPUs. Covers tiling strategy, LDS ping-pong double-buffer, XOR bank-conflict swizzle, A/B data prefetch pipeline, 2-stage software pipelining, MFMA instruction scheduling (hotloopscheduler), epilogue strategies (direct store vs CShuffle), TFLOPS/bandwidth calculation, main-loop instruction count analysis, and bottleneck identification from ATT traces. Based on the production preshufflegemm kernel. Usage…
Its SKILL.md is about 6.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
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.
12 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 1941889. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadEditBashGrepGlobAgentFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gemm Optimization loads about 6.4k tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 1,783 words of instructions outside code blocks.
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.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Edit, Bash, Grep, Glob, AgentAutomated 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.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,783 words (~6,448 tokens).
“Comprehensive guide to writing and optimizing high-performance GEMM kernels in FlyDSL on AMD CDNA GPUs (MI300X gfx942, MI350 gfx950).”
Just SKILL.md in .claude/skills/gemm-optimization of ROCm/FlyDSL.
Open the folder on GitHubat commit 1941889
Gemm Optimization 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gemm Optimization this skillROCm/FlyDSL | 287 | — | ~6.4k | Automated safety check: Notes | Custom licence | |
| Agent Matrix Optimizerruvnet/ruflo | 74k | 3 repos | ~1.8k | Automated safety check: Pass | MIT | |
| SQL Optimizationgithub/awesome-copilot | 40k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Gemm Kernel OptimizationZJLi2013/awesome-kernel-skills | 102 | — | ~1.1k | Automated safety check: Pass | None | |
| B200 Gemm Optimization Laddermirage-project/mirage | 2.5k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Agent Performance Optimizerruvnet/ruflo | 74k | 2 repos | ~3.6k | Automated safety check: Pass | MIT |
ruvnet/ruflo
Agent skill for matrix-optimizer - invoke with $agent-matrix-optimizer
github/awesome-copilot
Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server…
ZJLi2013/awesome-kernel-skills
Optimize dense matrix multiplication (GEMM) kernels in Triton for NVIDIA and AMD GPUs.
mirage-project/mirage
A skill your agent uses when the user wants to implement from scratch, port, or systematically optimize a B200/Blackwell GEMM.
ruvnet/ruflo
Agent skill for performance-optimizer - invoke with $agent-performance-optimizer
davila7/claude-code-templates
Expert database optimizer specializing in modern performance tuning, query optimization, and scalable architectures.
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.
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.
ROCm/FlyDSL
Review a FlyDSL PR, commit, branch, kernel, or consuming module for API-stability compliance.
ROCm/FlyDSL
Connect to a remote host via SSH and build a Docker image with rocprofv3, aiter, and FlyDSL.
ROCm/FlyDSL
Debug FlyDSL GPU kernels that produce NaN, inf, wrong results, or crash.
ROCm/FlyDSL
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.
Comprehensive guide to optimizing GEMM (General Matrix Multiply) kernels in FlyDSL on AMD CDNA GPUs. Gemm Optimization is an agent skill from ROCm/FlyDSL. Comprehensive guide to optimizing GEMM (General Matrix Multiply) kernels in FlyDSL on AMD CDNA GPUs.
Run `npx skills add ROCm/FlyDSL --skill gemm-optimization -a claude-code`. Or copy the skill folder (.claude/skills/gemm-optimization in ROCm/FlyDSL) into .claude/skills/gemm-optimization in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ROCm/FlyDSL --skill gemm-optimization -a codex`. Or copy the skill folder (.claude/skills/gemm-optimization in ROCm/FlyDSL) into .agents/skills/gemm-optimization in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ROCm/FlyDSL --skill gemm-optimization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gemm-optimization, .gemini/skills/gemm-optimization, .github/skills/gemm-optimization and .opencode/skills/gemm-optimization in your project.
Going by SKILL.md and its folder, Gemm Optimization needs the command-line tools its instructions call (python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Edit, Bash, Grep, Glob, Agent.
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.
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. Review the folder before installing.
Gemm Optimization has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 6.4k tokens (SKILL.md is roughly 26k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Gemm Optimization: Agent Matrix Optimizer (ruvnet/ruflo, 74k stars), SQL Optimization (github/awesome-copilot, 40k stars), Gemm Kernel Optimization (ZJLi2013/awesome-kernel-skills, 102 stars) and B200 Gemm Optimization Ladder (mirage-project/mirage, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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.