Agent skill

Optimizing Tilelang Programs

by sablin39 in sablin39/tilelang-cuda-skills

Tune a correct TileLang kernel using measured bottlenecks, tile sizes, layouts, pipelining, fusion, and autotuning.

No licenceAuto-check passedDevelopment

Install Optimizing Tilelang Programs

skills CLI
$ npx skills add sablin39/tilelang-cuda-skills --skill optimizing-tilelang-programs -a claude-code

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

GitHub CLI
$ gh skill install sablin39/tilelang-cuda-skills optimizing-tilelang-programs --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/sablin39/tilelang-cuda-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tilelang/optimizing-tilelang-programs .claude/skills/optimizing-tilelang-programs && 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
optimizing-tilelang-programs
GitHub stars
145
Token cost
~1k tokens
SKILL.md length
432 words
Files
4 (incl. references)
Skills in repo
10
Repo updated
First seen
Licence
None found

At a glance

Tune a correct TileLang kernel using measured bottlenecks, tile sizes, layouts, pipelining, fusion, and autotuning.

  • Improving kernel performance
  • SKILL.md covers Choose a change from evidence, Separate the algorithm from…, Autotuning and pipelines and Completion evidence
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Use profiling to establish measurements and debugging to resolve incorrect output

What it does

Optimizing Tilelang Programs is an agent skill from sablin39/tilelang-cuda-skills. Tune a correct TileLang kernel using measured bottlenecks, tile sizes, layouts, pipelining, fusion, and autotuning. Use when improving kernel performance; use profiling to establish measurements and debugging to resolve incorrect output.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/autotuning-guide.md`, `references/optimization-checklist.md` and `references/pipeline-and-layouts.md`).

It sits in Development, covering Debugging. The repository describes itself as: Skills for writing tilelang and debugging with CUDA toolkits.

When your agent uses it

  • Improving kernel performance
  • Use profiling to establish measurements and debugging to resolve incorrect output

Example prompts

  • “/optimizing-tilelang-programs”

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    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

Optimizing Tilelang Programs loads about 1k tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 67 tokens; SKILL.md has 432 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.6k

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 passed

The automated check found no risky patterns in SKILL.md.

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 432 words (~1,011 tokens).

“Establish correctness and a baseline at the user's production shapes, dtypes, target, and execution backend. Record the measurement backend and whether allocation, cache flushing, and launch overhead are included. See profiling.”

— opening of SKILL.md by sablin39
name
optimizing-tilelang-programs

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in skills/tilelang/optimizing-tilelang-programs of sablin39/tilelang-cuda-skills.

  • SKILL.md
  • references/autotuning-guide.md
  • references/optimization-checklist.md
  • references/pipeline-and-layouts.md

Open the folder on GitHubat commit 502a514

Compare with similar skills

Optimizing Tilelang Programs 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.

Optimizing Tilelang Programs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Optimizing Tilelang Programs this skillsablin39/tilelang-cuda-skills145—~1kAutomated safety check: PassNone
Trellis Session Insightmindfold-ai/Trellis15k4 repos~1.7kAutomated safety check: PassAGPL-3.0
Native Data FetchingCherryHQ/cherry-studio-app4k6 repos~2.9kAutomated safety check: NotesMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
Aoti Debugpytorch/pytorch104k1 repos~1.7kAutomated safety check: PassCustom licence
Herdr Throwaway Reproductionherdrdev/herdr43k—~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Native Data Fetching

    CherryHQ/cherry-studio-app

    A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.

    4k GitHub starsUsed in 6 repos~2.9k tokens
    DevelopmentAuto-check: notes
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Aoti Debug

    pytorch/pytorch

    Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.

    104k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • Runs a disposable, uniquely named Herdr session inside an existing one so runtime, pane, terminal or API bugs can be reproduced without touching the main session.

    43k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Systematic Debugging

    ultralisp/ultralisp

    A skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    258 GitHub starsUsed in 51 repos~2.4k tokens
    DevelopmentAuto-check passed

More from sablin39/tilelang-cuda-skills

All 10 skills in this repo
  • Torch Profiling Tilelang Programs

    sablin39/tilelang-cuda-skills

    Inspect a PyTorch baseline with torch.compile graphs/code and torch.profiler before drafting a custom kernel, then compare TileLang and PyTorch timelines, forward/backward regions, and allocations.

    145 GitHub stars~1.3k tokensUpdated 23 days ago
    Auto-check passed
  • Writing Tilelang Design Docs

    sablin39/tilelang-cuda-skills

    Write human-facing TileLang design documents for proposed or completed kernel implementations.

    145 GitHub stars~2.2k tokensUpdated 23 days ago
    Auto-check passed
  • Cuda

    sablin39/tilelang-cuda-skills

    Draft, debug, and measure CUDA kernels and host launch workflows.

    145 GitHub stars~990 tokensUpdated 23 days ago
    Auto-check passed
  • Debugging Tilelang Programs

    sablin39/tilelang-cuda-skills

    Diagnose TileLang compilation, host argument, memory-liveness, runtime, and numerical failures.

    145 GitHub stars~1.6k tokensUpdated 23 days ago
    Auto-check passed
  • Designing With Tilefoundry

    sablin39/tilelang-cuda-skills

    Describe model or operator HIR with TileFoundry, inspect topology and placement, run static cost analysis, visualize authored dataflow, and check a runtime implementation against its evaluator.

    145 GitHub stars~3.4k tokensUpdated 23 days ago
    Auto-check passed
  • Profiling Tilelang Programs

    sablin39/tilelang-cuda-skills

    Measure TileLang kernel and workflow performance, choose benchmark or timeline tools, and compare implementations fairly.

    145 GitHub stars~1.6k tokensUpdated 23 days ago
    Auto-check passed

Categories

Questions about Optimizing Tilelang Programs

What does Optimizing Tilelang Programs do?

Tune a correct TileLang kernel using measured bottlenecks, tile sizes, layouts, pipelining, fusion, and autotuning. Optimizing Tilelang Programs is an agent skill from sablin39/tilelang-cuda-skills. Tune a correct TileLang kernel using measured bottlenecks, tile sizes, layouts, pipelining, fusion, and autotuning.

When should I use Optimizing Tilelang Programs?

Optimizing Tilelang Programs fits situations like: improving kernel performance; use profiling to establish measurements and debugging to resolve incorrect output.

How do I install Optimizing Tilelang Programs in Claude Code?

Run `npx skills add sablin39/tilelang-cuda-skills --skill optimizing-tilelang-programs -a claude-code`. Or copy the skill folder (skills/tilelang/optimizing-tilelang-programs in sablin39/tilelang-cuda-skills) into .claude/skills/optimizing-tilelang-programs in your project. Claude Code loads it when a task matches its description.

How do I install Optimizing Tilelang Programs in Codex?

Run `npx skills add sablin39/tilelang-cuda-skills --skill optimizing-tilelang-programs -a codex`. Or copy the skill folder (skills/tilelang/optimizing-tilelang-programs in sablin39/tilelang-cuda-skills) into .agents/skills/optimizing-tilelang-programs in your project. Codex loads it when a task matches its description.

Can I use Optimizing Tilelang Programs 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 sablin39/tilelang-cuda-skills --skill optimizing-tilelang-programs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/optimizing-tilelang-programs, .gemini/skills/optimizing-tilelang-programs, .github/skills/optimizing-tilelang-programs and .opencode/skills/optimizing-tilelang-programs in your project.

What does Optimizing Tilelang Programs need to run?

SKILL.md names no scripts, command-line tools or credentials: Optimizing Tilelang Programs is instructions for the agent only.

Does Optimizing Tilelang Programs 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 Optimizing Tilelang Programs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Optimizing Tilelang Programs use?

No licence was found for Optimizing Tilelang Programs or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Optimizing Tilelang Programs use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Optimizing Tilelang Programs?

Skills that share tags, products or a category with Optimizing Tilelang Programs: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Native Data Fetching (CherryHQ/cherry-studio-app, 4k stars), Debugging Executions (n8n-io/n8n, 207k stars) and Aoti Debug (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Optimizing Tilelang Programs?

sablin39 (a GitHub user) maintains it in sablin39/tilelang-cuda-skills, which has 145 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on September 15, 2026.

Source: sablin39/tilelang-cuda-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.