Agent skill

Flydsl Kernel Authoring

by ROCm in ROCm/FlyDSL

Comprehensive reference for authoring FlyDSL GPU kernels on AMD GPUs.

Custom licenceAuto-check: notesAI & LLM Engineering

Install Flydsl Kernel Authoring

skills CLI
$ npx skills add ROCm/FlyDSL --skill flydsl-kernel-authoring -a claude-code

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

GitHub CLI
$ gh skill install ROCm/FlyDSL flydsl-kernel-authoring --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/flydsl-kernel-authoring .claude/skills/flydsl-kernel-authoring && 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
flydsl-kernel-authoring
GitHub stars
287
Token cost
~10k tokens
SKILL.md length
2,951 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
Custom licence

At a glance

Comprehensive reference for authoring FlyDSL GPU kernels on AMD GPUs.

  • Works in 12 steps: Architecture and Compilation → Layout System (Core Abstraction) → Writing Kernels → …
  • Understanding FlyDSL kernel code
  • SKILL.md covers Overview, 1. Architecture and Compilation, 2. Layout System (Core… and 3. Writing Kernels, plus 1 more section
  • Calls python, python3 and bash

What it does

Flydsl Kernel Authoring is an agent skill from ROCm/FlyDSL. Comprehensive reference for authoring FlyDSL GPU kernels on AMD GPUs. Covers the layout algebra, tiled copy/MMA, buffer ops, loop-carried range loops, SharedAllocator (LDS), autotuning, and common patterns. Use when writing, reviewing, or understanding FlyDSL kernel code.

Its SKILL.md is about 10k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering. 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

  • Understanding FlyDSL kernel code

Example prompts

  • “/flydsl-kernel-authoring”

Requirements

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

Workflow steps

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

  1. Architecture and Compilation
  2. Layout System (Core Abstraction)
  3. Writing Kernels
  4. Data Movement Patterns
  5. Shared Memory (LDS)
  6. MFMA Integration (Matrix Math)
  7. Reduction Patterns
  8. Common Patterns and Recipes
  9. Environment and Debugging
  10. Troubleshooting
  11. Comparison with Triton/Gluon
  12. Running Kernels

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
    • Edit
    • Bash
    • Grep
    • Glob
    • Agent

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • python3
    • bash
    • ssh
    • pip
    • docker

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

  • Network

    No URLs in SKILL.md. Its commands use ssh, pip and docker, which can reach the network depending on how they are called.

    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

Flydsl Kernel Authoring loads about 10k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 2,951 words of instructions outside code blocks.

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

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, Edit, Bash, Grep, Glob, Agent

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 2,951 words (~10,313 tokens).

“FlyDSL is a Python DSL and MLIR-based compiler for writing high-performance GPU kernels on AMD GPUs (MI300X/MI350). It provides explicit layout algebra for controlling data movement, tiling, and memory access patterns. The layout system is the core abstraction that distinguishes…”

— opening of SKILL.md by ROCm, Custom licence
name
flydsl-kernel-authoring
allowed-tools
Read, Edit, Bash, Grep, Glob, Agent

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/flydsl-kernel-authoring of ROCm/FlyDSL.

Open the folder on GitHubat commit 1941889

Compare with similar skills

Flydsl Kernel Authoring 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.

Flydsl Kernel Authoring compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Flydsl Kernel Authoring this skillROCm/FlyDSL287—~10kAutomated safety check: NotesCustom licence
Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs13k9 repos~3.3kAutomated safety check: PassMIT
Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs13k8 repos~2.3kAutomated safety check: PassMIT
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k8 repos~1.7kAutomated safety check: PassMIT
LLM Benchmarking with lm-evaluation-harnessOrchestra-Research/AI-Research-SKILLs13k8 repos~3kAutomated safety check: PassMIT
Azure AI Projects Python SDKmicrosoft/skills3.1k6 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Segment Anything Model Guide

    Orchestra-Research/AI-Research-SKILLs

    Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.

    13k GitHub starsUsed in 9 repos~3.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Chroma Vector Database

    Orchestra-Research/AI-Research-SKILLs

    Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.

    13k GitHub starsUsed in 8 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • CLIP Image-Text Matching

    Orchestra-Research/AI-Research-SKILLs

    Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.

    13k GitHub starsUsed in 8 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • LLM Benchmarking with lm-evaluation-harness

    Orchestra-Research/AI-Research-SKILLs

    Runs lm-evaluation-harness to benchmark language models on academic suites such as MMLU, GSM8K and HumanEval, compare models and track training checkpoints.

    13k GitHub starsUsed in 8 repos~3k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub starsUsed in 6 repos~2.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Paddle Design Distributed

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle's distributed training system: understanding parallelism strategies (DP, ZeRO, TP, PP, SP), semi-automatic parallel with ProcessMesh + shardtensor…

    24k GitHub stars~660 tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-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
  • 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.

    287 GitHub stars~2.7k 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

Works with

Questions about Flydsl Kernel Authoring

What does Flydsl Kernel Authoring do?

Comprehensive reference for authoring FlyDSL GPU kernels on AMD GPUs. Flydsl Kernel Authoring is an agent skill from ROCm/FlyDSL. Comprehensive reference for authoring FlyDSL GPU kernels on AMD GPUs.

When should I use Flydsl Kernel Authoring?

Flydsl Kernel Authoring fits situations like: understanding FlyDSL kernel code.

How do I install Flydsl Kernel Authoring in Claude Code?

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

How do I install Flydsl Kernel Authoring in Codex?

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

Can I use Flydsl Kernel Authoring 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 flydsl-kernel-authoring -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flydsl-kernel-authoring, .gemini/skills/flydsl-kernel-authoring, .github/skills/flydsl-kernel-authoring and .opencode/skills/flydsl-kernel-authoring in your project.

What does Flydsl Kernel Authoring need to run?

Going by SKILL.md and its folder, Flydsl Kernel Authoring needs the command-line tools its instructions call (python, python3, bash, ssh, pip and docker). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Edit, Bash, Grep, Glob, Agent.

Does Flydsl Kernel Authoring access the network?

SKILL.md contains no URLs. Its commands use ssh, pip and docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Flydsl Kernel Authoring 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. Review the folder before installing.

What licence does Flydsl Kernel Authoring use?

Flydsl Kernel Authoring 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 Flydsl Kernel Authoring use?

About 10k tokens (SKILL.md is roughly 41k 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 Flydsl Kernel Authoring?

Skills that share tags, products or a category with Flydsl Kernel Authoring: Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars), Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars), CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars) and LLM Benchmarking with lm-evaluation-harness (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Flydsl Kernel Authoring?

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.