Borrowing it
Nothing to install: this file belongs to ROCm/aiter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ROCm/aiter/main/.github/instructions/aiter-ops-triton.instructions.mdgit clone --depth 1 https://github.com/ROCm/aiterWrote 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.
[](https://agentmods.dev/instructions/rocm/aiter/aiter-ops-triton)<a href="https://agentmods.dev/instructions/rocm/aiter/aiter-ops-triton"><img src="https://agentmods.dev/badge/instructions/rocm/aiter/aiter-ops-triton/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.
<a href="https://agentmods.dev/instructions/rocm/aiter/aiter-ops-triton"><img src="https://agentmods.dev/badge/instructions/rocm/aiter/aiter-ops-triton.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04780 | $0.04780 |
| Opus 5.5 | $0.01912 | $0.01912 |
| Sonnet 5.5 | $0.00956 | $0.00956 |
| Haiku 4.5 | $0.00478 | $0.00478 |
Grade A, and why
aiter aiter-ops-triton.instructions.md 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 6d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 351 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AITER Triton ops: review rules
Flag each change that breaks a rule below. Tell the author which rule it breaks and how to fix it. The author can be new to these rules.
How to write review comments
- Write in ASD-STE100 (Simplified Technical English): short sentences, simple words, one point in each sentence. You can use technical terms.
- Keep each comment short: one sentence for the problem and one for the fix.
- Do not repeat what the code does. Do not add long explanations.
- Set the severity of each comment about a rule in this file to High.
PR scope
- A new kernel goes in its own PR, with its wrapper, unit test and benchmark. Flag a PR that adds a new kernel and also unrelated work: a refactor, a cleanup, a retune or a fix to a different kernel.
- Each PR changes one backend. The backends are Triton/Gluon
(
aiter/ops/triton/,aiter/aot/triton/), HIP (csrc/), ASM (hsa/,*_asm.py), CK (csrc/ck_*,ck_tile), OPUS (aiter/ops/opus/) and FlyDSL (aiter/ops/flydsl/,aiter/aot/flydsl/). Triton and Gluon are one backend. List the files of the other backend. When the parts depend on each other, suggest stacked PRs. Tests and benchmarks belong to the backend that they test. Docs, CI files and other wrappers are not a backend. - Each PR fixes one problem. Flag a PR that fixes two or more independent problems, for example a bug fix and a refactor. Name the part to move to a follow-up PR.
Reuse
- Flag new code that duplicates existing code, also in part. The fix is to
extend or import the existing code. Look in
utils/,_triton_kernels/common/(activations, program ID remapping, split-K reduce, ragged-batch tile lookup), the existing kernels and the test helpers. - Flag a function with a second home: a re-export, a wrapper that only forwards the call, or a copy of a core helper in a family loader.
Folders and imports
- Flag a new module at the top of
aiter/ops/triton/. A wrapper goes in its category folder. - Flag a launchable
@triton.jitor@gluon.jitkernel in a public wrapper module. Triton kernel bodies go in_triton_kernels/and Gluon kernel bodies go in_gluon_kernels/<arch>/, at the path of the wrapper. A device helper that only another kernel calls can stay with that kernel. - Flag a kernel path under
_triton_kernels/or_gluon_kernels/<arch>/that is different from the folder of its wrapper. The kernel folder has the name of the wrapper folder:normalization/, notnorm/. Do not flag the old_triton_kernels/flash_attn_triton_amd/folder (used byattention/mha.py). A kernel that wrappers in several folders use stays with the wrapper that owns it, or goes in_triton_kernels/common/. - Flag a new
@triton.jitdevice helper that kernels in several folders use, when it is not in_triton_kernels/common/. Examples:common/activation.py,common/pid_preprocessing.py. Do not put such a helper inutils/_triton/or in the kernel module of one category. - Flag a PR that moves a wrapper but not its kernels, or that does not update all importers of the old path.
- Flag common helpers (config loading, shuffles, arch detection, logging)
that a kernel file writes again instead of importing them from
utils/. - Flag imports through the old flat paths
(
from aiter.ops.triton.gemm_a16w16 import gemm_a16w16). Use the category path:from aiter.ops.triton.gemm.basic.gemm_a16w16 import gemm_a16w16. - Flag relative imports, for example
from .gemm_a16w16 import gemm_a16w16orfrom ..utils.logger import AiterTritonLogger. Use absolute imports:from aiter.ops.triton.utils.logger import AiterTritonLogger.
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.
- 6d ago Changed · +29 lines · +436 tokens per session d062ccb3d46a
- 9d ago Changed · +1 lines · +27 tokens per session 36ce2e219bb1
- 11d ago Changed · +10 lines · +248 tokens per session b1b765343968
- 14d ago Changed · -141 lines · -2,640 tokens per session f31155996ac1
- 20d ago Changed · -4 tokens per session 13652fe7eb6a
- 23d ago Changed · +1 lines · +27 tokens per session e12463161b08
- 27d ago Changed · +38 lines · +715 tokens per session a2a0a8764ab1
- 28d ago Changed · +5 lines · +68 tokens per session 7b74ee3885e6
- 1mo ago Changed 26ea1bf319f9
- 1mo ago First seen · 408 lines · 5,903 tokens per session scan A cc27fe6f7ad4
aiter aiter-ops-triton.instructions.md is an instructions file published in the GitHub repository ROCm/aiter (598 stars, last pushed today), licensed MIT. It adds 4,780 tokens to every session, about $0.0191 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-08-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.