/aklr:aklr-open-prfrom aklr
Opens AKLR pull requests with evidence-filled bodies tailored to change kinds (contracts, kernels, code, withdrawn kernels, documents). Follows the PR template and review-tier policy.
Ships in aklr. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The PR body is a one-minute briefing for a reviewer who has the diff, and the only evidence a reviewer has when GPU CI did not run. Write it from runs on the PR's head, never from memory.
Read .github/pull_request_template.md (sections and
what each kind needs), .github/scripts/review_tier/policy.py
(what the review-tier status asks of each kind) and aklr-bad-cases;
check the change against it before opening the pull request.
git diff --name-status origin/main...HEAD, as review_tier/change.py does:
aklr/ops/<op>/impls/<language>/<name>/<16 hex>.json: deleted is a withdrawn kernel;
empty kernel.sources is a contract; otherwise a kernel.docs/, harness/, .claude/ or *.md: a document (docs and agent skills).
Anything else: code.AKLR_EXPORT run the workloads came from;
python -m aklr export check.python -m aklr validate --base origin/main --stages audit,bench <schemas> on the target GPU (a
remote node if none is local). Without --base a new kernel is held to the retention
threshold (0.99) instead of the entry one (1.02) and is not timed against a served kernel,
so a local pass can still fail CI. One table row per contract: measured / all workloads,
accuracy n/n and its bound, lowest – highest speedup. Note every AKLR_* or AITER_*
variable set that loosens a check.ci:gpu label so CI runs it, and link the run once its validation job passes.
A PR that changes CI (.github/workflows/, scripts/, actions/) runs its own CI, so that
run is not evidence:
code owners decide; keep such changes in a PR of their own.aklr/core: also whether a schema or measurement version changes, and which kernels changed
result against main (below the baseline, failing the audit or accuracy).<details> or link them.
Not run lists every check the kinds need that did not run; "Nothing" only when all ran.
Risk names what is affected, how it fails if wrong, and how to undo it.type(scope): subject, e.g. feat(flydsl): ....gh pr create --base main --body-file <file> or gh pr edit. Add
ci:gpu for kernels and code.gh pr checks <number> for the review-tier status and the kinds it found. When
its kinds differ from the body's, the body is wrong: fix it.Do not merge, force-push, approve, or remove another person's changes. Do not claim a check passed that is pending or did not run; pending is not success.
Report the PR URL, the kinds found, the review-tier state, and what did not run.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/aklr-bad-casesA list of mistakes agents have made in AKLR, with what to do instead and how to spot each one in a code change. Use when reviewing an AKLR change or opening its pull request. Add a case when a new mistake is found./aklr-build-runtime-imageBuild and validate a reproducible runtime image for an exact AKLR revision and declared ROCm stack. Use when kernel review, CI, or downstream qualification needs a traceable test environment./aklr-kbWhat makes a kernel fast on gfx950 (MI350/MI355X) inside AKLR, and how to write it in FlyDSL, Triton/Gluon or HIP (the flydsl/, triton/ and hip/ folders: limits, errors, debugging, each language's own guides). Includes a dense-GEMM package (fp8, MXFP4, MXFP8, bf16/fp16, int8, small-M shapes included): dispatch rounds and split-K, main-loop pipelines, LDS/swizzle/DMA data paths, XCD tile order and scheduling hints, epilogues, autotuning, attribution, correctness gates and A/B measurement. Also a MoE package (fused MoE at any token count, and the expert grouped GEMM: tile-to-group mapping, order under token skew, sorted-token rows, transposed operands and K varying per group, in bf16, fp8, MXFP8 and MXFP4), an attention package, symptom pages, pitfalls and delivered kernels, trace capture and analysis, perf-regression bisection, the CDNA4 (gfx950) ISA reference guide with guides to looking things up in it, and gfx942 (MI300X) GEMM notes. Use when optimizing a kernel in any of these languages, or finding out why one is slow or wrong.
npx claudepluginhub amd-agi/aklr --plugin aklrOther plugins' skills for the same job