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/aws-neuron/neuron-agentic-development/neuron-nki-docsnpx skills add aws-neuron/neuron-agentic-development --skill neuron-nki-docsgit clone --depth 1 https://github.com/aws-neuron/neuron-agentic-developmentWhat 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.00084 | $0.02060 |
| Opus 5 | $0.00042 | $0.01030 |
| Sonnet 5 | $0.00017 | $0.00412 |
| Haiku 4.5 | $0.00008 | $0.00206 |
Grade A, and why
neuron-nki-docs 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 2d 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 — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Research $ARGUMENTS thoroughly:
- Find relevant files through provided indices using Glob and Grep
- Read and analyze document and code
- Summarize findings with specific file references
NKI Documentation Lookup
This skill provides comprehensive access to NKI (Neuron Kernel Interface) documentation for AWS Trainium/Inferentia kernel development. Use this skill to answer questions about NKI APIs, tutorials, hardware architecture, error codes, and optimization techniques.
Query Type Routing
Route queries to the appropriate documentation based on the query pattern:
| Query Pattern | Start With | Then Read |
|---|---|---|
nl.* or nisa.* or API name |
references/indices/symbol-lookup.md |
Linked API doc |
| "how to [task]" | references/indices/task-routing.md |
Linked tutorial |
| "NCC_*" or error code | references/debugging/error-codes-index.md |
Specific error doc |
| gen2/gen3/gen4/trn1/trn2/trn3 | references/architecture/ |
Specific arch doc |
| optimize/profile/performance | references/optimization/ |
Relevant guide |
| browse/list all docs | references/indices/hierarchical-toc.md |
Navigate tree |
Search Strategy
- Start with indices - Use the index files in
references/indices/to find the exact documentation needed - Follow links - Read the linked documentation file for full details
- Cross-reference - For complex topics, combine information from multiple sources
Index Files
indices/symbol-lookup.md- Alphabetical API function index with direct linksindices/task-routing.md- Task-oriented guide ("I want to...")indices/hierarchical-toc.md- Complete documentation tree structure
Directory Guide
| Directory | Contents |
|---|---|
references/architecture/ |
Hardware architecture guides for Trainium/Inferentia generations |
references/debugging/ |
Error codes index and individual error documentation |
references/downloads/ |
Valid Python kernel examples (deprecated patterns excluded) |
references/indices/ |
Navigation aids and lookup tables |
references/optimization/ |
Performance tuning, profiling, migration guides |
references/programming/ |
Core NKI concepts, tutorials, and API reference |
references/programming/api/ |
Detailed API documentation by category |
references/programming/tutorials/ |
Step-by-step kernel implementation tutorials |
references/reference/ |
FAQ and release notes |
What ships with it
60 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/architecture/nki_arch_guides.md 1.5 KB
- references/architecture/trainium_inferentia2_arch.md 81 KB
- references/architecture/trainium2_arch.md 42 KB
- references/architecture/trainium3_arch.md 34 KB
- references/debugging/error-codes-index.md 7.2 KB
- references/debugging/error-codes/EARG001.md 1.2 KB
- references/debugging/error-codes/EBVF030.md 874 B
- references/debugging/error-codes/EHCA005.md 1.8 KB
- references/debugging/error-codes/EOOM001.md 2.3 KB
- references/debugging/error-codes/EOOM002.md 2.3 KB
- references/debugging/error-codes/ESFH002.md 1.1 KB
- references/debugging/error-codes/ESPP004.md 1.1 KB
- references/debugging/error-codes/ESPP047.md 1.1 KB
- references/debugging/error-codes/EUOC002.md 749 B
- references/debugging/error-codes/EVRF001.md 749 B
- references/debugging/error-codes/EVRF004.md 910 B
- references/debugging/error-codes/EVRF005.md 1.4 KB
- references/debugging/error-codes/EVRF006.md 407 B
- references/debugging/error-codes/EVRF007.md 874 B
- references/debugging/error-codes/EVRF009.md 2.1 KB
- references/debugging/error-codes/EVRF010.md 1.1 KB
- references/debugging/error-codes/EVRF011.md 1.1 KB
- references/debugging/error-codes/EVRF013.md 706 B
- references/debugging/error-codes/EVRF015.md 1.8 KB
- references/debugging/error-codes/EVRF016.md 2.0 KB
- references/debugging/error-codes/EVRF017.md 919 B
- references/debugging/error-codes/EVRF018.md 899 B
- references/debugging/error-codes/EVRF019.md 1.5 KB
- references/debugging/error-codes/EVRF022.md 933 B
- references/debugging/error-codes/EVRF024.md 1.8 KB
- references/debugging/error-codes/EVRF031.md 1.6 KB
- references/debugging/error-codes/EXSP001.md 2.1 KB
- references/debugging/error-codes/EXTP004.md 874 B
- references/downloads/average_pool2d_jax.py 1.1 KB runs code
- references/downloads/average_pool2d_nki_kernels.py 3.0 KB runs code
- references/downloads/average_pool2d_torch.py 985 B runs code
- references/downloads/mamba_nki_kernels.py 17 KB runs code
- references/downloads/mamba_torch.py 4.0 KB runs code
- references/downloads/matrix_multiplication_nki_kernels.py 20 KB runs code
- references/downloads/matrix_multiplication_torch.py 2.0 KB runs code
- references/downloads/spmd_multiple_nc_tensor_addition_jax.py 883 B runs code
- references/downloads/spmd_multiple_nc_tensor_addition_nki_kernels.py 2.1 KB runs code
- references/downloads/spmd_multiple_nc_tensor_addition_torch.py 898 B runs code
- references/downloads/spmd_tensor_addition_jax.py 836 B runs code
- references/downloads/spmd_tensor_addition_nki_kernels.py 2.9 KB runs code
- references/downloads/spmd_tensor_addition_torch.py 851 B runs code
- references/downloads/tensor_addition_nki_kernels.py 2.8 KB runs code
- references/downloads/test_nki_isa_local_gather.py 3.3 KB runs code
- references/downloads/transpose2d_jax.py 728 B runs code
- references/downloads/transpose2d_nki_kernels.py 2.7 KB runs code
- references/downloads/transpose2d_torch.py 937 B runs code
- references/indices/hierarchical-toc.md 11 KB
- references/indices/symbol-lookup.md 44 KB
- references/indices/task-routing.md 13 KB
- references/optimization/deep-dives-overview.md 1.3 KB
- references/optimization/mxfp-matmul.md 40 KB
- references/optimization/nki_perf_guide.md 49 KB
- references/optimization/nki-beta-versions.md 3.2 KB
- references/optimization/use-neuron-profile.md 52 KB
- references/programming/api/api-nki-collectives.md 22 KB
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.
- 2d ago First seen · 196 lines · 84 tokens per session scan A e4b9f68c9664
neuron-nki-docs is a skill published in the GitHub repository aws-neuron/neuron-agentic-development (56 stars, last pushed 14d ago), licensed Apache-2.0. It adds 84 tokens to every session and 2,060 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
add-macos-statusbar
Add a macOS menu bar status indicator for NanoClaw. Shows a bolt icon with a green/red dot indicating whether NanoClaw is running, with Start, Stop, and Restart controls. macOS only.
cli-anything-3mf
3MF mesh geometry editor — detect and resize cylindrical holes, repair meshes, compare 3D printing files. Works with BambuStudio and PrusaSlicer 3MF files.
platform-port
Guide porting FastLED to new MCU platforms, including int.h types, clockless drivers, SPI implementations, and platform detection. Use when adding support for a new microcontroller family or board.
doca-compress
Use this skill for hands-on DOCA Compress programming on a BlueField DPU, ConnectX NIC, or host with DOCA — enabling compress-deflate, decompress-deflate, decompress-lz4-stream, or decompress-lz4-block tasks on a docacompress context (the hardware supports DEFLATE both directions plus LZ4 decompress; LZ4 encode is NOT…
pcbway
PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…
anta-validation
Validate Arista EOS network state with structured pass/fail verdicts using ANTA. Use for "is this switch healthy", "did my change break anything", "verify BGP/interfaces/hardware are correct", "run a health check on this device". Read-only. A test for a feature the device does not run reports notapplicable — never a…