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 skills add aws-neuron/neuron-agentic-development --skill neuron-nki-mxfp8-matmul-config-tuninggit clone --depth 1 https://github.com/aws-neuron/neuron-agentic-developmentWrote 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/aws-neuron/neuron-agentic-development/neuron-nki-mxfp8-matmul-config-tuning)<a href="https://agentmods.dev/skills/aws-neuron/neuron-agentic-development/neuron-nki-mxfp8-matmul-config-tuning"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-nki-mxfp8-matmul-config-tuning/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/skills/aws-neuron/neuron-agentic-development/neuron-nki-mxfp8-matmul-config-tuning"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-nki-mxfp8-matmul-config-tuning.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.00250 | $0.08740 |
| Opus 5.5 | $0.00100 | $0.03496 |
| Sonnet 5.5 | $0.00050 | $0.01748 |
| Haiku 4.5 | $0.00025 | $0.00874 |
Grade A, and why
neuron-nki-mxfp8-matmul-config-tuning 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 today.
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 — 503 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MXFP8 Matmul Config Tuning (no code change)
How to use (for people)
1. Where it runs. On the Trainium instance (Trn3, which MXFP8 needs) that runs your training, with the Neuron SDK installed and its Python environment active. Tuning and training must use the same environment: the same tiling compiles differently under another compiler.
2. Install NAD for your agent tool (pip install neuron-agentic-development, then
deploy-neuron-agentic-development-to-claude or -to-kiro). The skill installs its own
dependencies on first use (scripts/setup_env.sh, see Prerequisites); it asks before installing.
3. Tell the agent your training run (in Kiro,
kiro-cli chat --agent neuron-training-mxfp8-kernel-tuning-agent; in Claude Code, any session):
| input | example |
|---|---|
| the training command you already run | ./run_train.sh --module <recipe module> --config <your MXFP8 training config> plus your overrides |
which MXFP8 recipe the config uses (its MXFP8LinearConverter options pick the kernels) |
a torchtitan-neuron *_mxfp8 (NKI 1x32), *_mxfp8_wrapx or *_mxfp8_wprequant recipe, or your own config's backend_options / prequantize_weights |
| how you launch it | torchrun / run_train.sh / your own launcher, and the number of devices it uses |
| (several configs) the list to cover | {wrapX, 1x32 + prequant} × local batch {1, 2} × {SAC, FAC} |
Example prompt:
Tune the MXFP8 matmul kernels for my training run with the
neuron-nki-mxfp8-matmul-config-tuning skill. I run
./run_train.sh --module <recipe module> --config <my *_mxfp8_wrapx config>
on this instance. Hand back my config with its --mxfp8_matmul_configs line.
4. You get back:
- a tuned JSON per (recipe, local batch), with a provenance file;
- the training config out: your command plus
--mxfp8_matmul_configs <json>; - the A/B numbers: step time and MFU against bracketing baselines, every tuned key
hit=True, loss steps 1–3 matching.
Budget: one Trn3 instance. Per recipe and local batch, about 35 min of kernel search plus 15–20 training runs (≈ 2.5–3 h). SAC and full AC of the same recipe and batch share one JSON.
What ships with it
40 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/adding-a-plugin.md 2.8 KB
- references/matmul-mxfp8.md 15 KB
- references/measurement.md 5.3 KB
- references/method.md 3.8 KB
- references/output-format.md 3.0 KB
- references/validation.md 7.8 KB
- samples/dense-decoder-4b-wrapx/ab/baseline_1/titan_log.txt 6.1 KB
- samples/dense-decoder-4b-wrapx/ab/baseline_2/titan_log.txt 6.1 KB
- samples/dense-decoder-4b-wrapx/ab/E/titan_log.txt 6.2 KB
- samples/dense-decoder-4b-wrapx/ab/G/titan_log.txt 6.2 KB
- samples/dense-decoder-4b-wrapx/ab/v3_r2/titan_log.txt 6.2 KB
- samples/dense-decoder-4b-wrapx/ab/v3_r3/titan_log.txt 6.2 KB
- samples/dense-decoder-4b-wrapx/ab/v3_swap_s02_r2/titan_log.txt 6.2 KB
- samples/dense-decoder-4b-wrapx/ab/v3_swap_s02/titan_log.txt 6.2 KB
- samples/dense-decoder-4b-wrapx/ab/v3_swap_s11/titan_log.txt 6.2 KB
- samples/dense-decoder-4b-wrapx/ab/v3/titan_log.txt 6.2 KB
- samples/dense-decoder-4b-wrapx/ingraph/T.csv 1.5 KB
- samples/dense-decoder-4b-wrapx/manifest.json.gz 1.6 KB
- samples/dense-decoder-4b-wrapx/README.md 3.4 KB
- samples/dense-decoder-4b-wrapx/results.jsonl.gz 22 KB
- samples/dense-decoder-4b-wrapx/tuned.json 2.7 KB
- scripts/ingraph_times.py 34 KB runs code
- scripts/kct_worker.py 12 KB runs code
- scripts/kct.py 93 KB runs code
- scripts/plugins/__init__.py 806 B runs code
- scripts/plugins/matmul_mxfp8.py 43 KB runs code
- scripts/README.md 18 KB
- scripts/setup_env.sh 7.9 KB runs code
- scripts/tests/data/legality_regression.json.gz 13 KB
- scripts/tests/data/offline_dump_example.jsonl 7.9 KB
- scripts/tests/data/pilot_dense64l_tp4_sites.json.gz 949 B
- scripts/tests/data/pilot_tuned.json 4.5 KB
- scripts/tests/data/real_dump_dense64l_tp4_oproj_modes.jsonl 3.3 KB
- scripts/tests/data/real_dump_dense64l_tp4_oproj.jsonl 2.4 KB
- scripts/tests/test_engine.py 42 KB runs code
- scripts/tests/test_ingraph_times.py 20 KB runs code
- scripts/tests/test_matmul_mxfp8_plugin.py 26 KB runs code
- scripts/tests/test_sample_campaign.py 3.9 KB runs code
- scripts/tests/test_titan_ab.py 2.6 KB runs code
- scripts/titan_ab.py 5.0 KB runs code
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.
- today First seen · 503 lines · 250 tokens per session scan A b6ff6fac7c3f
neuron-nki-mxfp8-matmul-config-tuning is a skill published in the GitHub repository aws-neuron/neuron-agentic-development (72 stars, last pushed yesterday), licensed Apache-2.0. It adds 250 tokens to every session and 8,740 once invoked, about $0.0010 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-12-01.
neuron-nki-mxfp8-matmul-config-tuning compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| neuron-nki-mxfp8-matmul-config-tuningaws-neuron/neuron-agentic-development | Skill | 72 | yesterday | Apache-2.0 | A | 250 | Claude Code |
| spark-environment-setupwshobson/agents | Skill | 43k | yesterday | MIT | A | 76 | Claude Code |
| spark-memory-thermal-opswshobson/agents | Skill | 43k | yesterday | MIT | A | 59 | Claude Code |
| spark-training-gotchaswshobson/agents | Skill | 43k | yesterday | MIT | A | 63 | Claude Code |
| inference-serving-llama-cppdavila7/claude-code-templates | Skill | 35k | yesterday | MIT | A | 80 | Claude Code, Codex |
| supercomputertrycua/cua | Skill | 33k | today | MIT | A | 0 | Claude Code, Codex |
| amc-run-rtsp-calibrationNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 59 | Claude Code, Codex |