Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/rocm/aiter/aiter-config-shapenpx skills add ROCm/aiter --skill aiter-config-shapegit 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/skills/rocm/aiter/aiter-config-shape)<a href="https://agentmods.dev/skills/rocm/aiter/aiter-config-shape"><img src="https://agentmods.dev/badge/skills/rocm/aiter/aiter-config-shape.svg" alt="Measured on agentmods" 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 | $0.00078 | $0.02344 |
| Opus 5 | $0.00039 | $0.01172 |
| Sonnet 5 | $0.00016 | $0.00469 |
| Haiku 4.5 | $0.00008 | $0.00234 |
Grade A, and why
aiter-config-shape 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 4d 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 — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
aiter config shape-collision standard
Tuned config CSVs in aiter/configs/ are not read one file at a time. At
runtime aiter/jit/core.py::AITER_CONFIGS.get_config_file merges, per family,
the canonical aiter/configs/<name>.csv plus every
aiter/configs/model_configs/*<name>*.csv, and update_config_files
de-duplicates that merge on a key derived from the matching untuned file's
columns (+ cu_num/gfx/_tag). If two rows across the merged files share that
key, the merge raises RuntimeError: Found N duplicate shape entries during merge of '<family>'.
Consequence: a per-model config you add can be perfectly fine alone yet collide
with a different model's config once both are on main. Single-PR CI only
merges your file with current main, so two PRs that each add the same shape to
different model files both pass, then break main after both land
(cross-PR / merge-skew hazard). Reviewers routinely forget this.
Follow this whenever you add "tuned configs for model Y", upload/merge config
CSVs, or touch anything under aiter/configs/**.
The hard rules
- A key is (untuned columns) +
cu_num, plusgfx/_tagwhen those columns are present. Never hand-pick key columns — they come from the family's*_untuned_*.csvheader, exactly as runtime derives them (update_config_filesappendscu_numif absent,gfxonly when agfxcolumn exists in the merge, and_tagonly when a_tagcolumn exists). Do not assumeM,N,Kalone: e.g.a8w8also keys onq_dtype_w,bf16onbias,dtype,outdtype,scaleAB,bpreshuffle,fmoeon the fulltoken,model_dim,inter_dim,expert,topk,act_type,dtype,q_dtype_*,q_type, use_g1u1,doweight_stage1(+_tag). - Your file is merged with the canonical file AND every other model file of
the same family. Before uploading, check the merge, not just your file in
isolation. The family is decided by the substring in the filename
(
*<tuned_file_name>*), e.g.dsv4_bf16_tuned_gemm.csvjoins thebf16_tuned_gemmfamily. - One shape, one row across the whole family. If the shape already exists (in the canonical file or another model's file), do not re-add it. If yours is genuinely faster, replace the existing row rather than adding a second.
- Run the collision guard and make it pass before you push. (below)
- Resolve, never suppress. Fix by removing the redundant row (keeping the
lowest-
uswinner) — do not widen keys, rename shapes, or delete the guard. gfxmatters. Archs that share acu_num(e.g. gfx950 vs gfx1250 both report 256) are only distinguishable bygfx. Keep the realgfxthe tuner wrote; don't drop the column. Legacy files withoutgfxare backfilled fromcu_num(256→gfx950, 80/304→gfx942) — do not rely on that for new archs.
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.
- 4d ago First seen · 166 lines · 78 tokens per session scan A 9ba47377458d
aiter-config-shape is a skill published in the GitHub repository ROCm/aiter (543 stars, last pushed 4d ago), licensed MIT. It adds 78 tokens to every session and 2,344 once invoked, about $0.0004 per session on Opus 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 skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…