Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/aws-neuron/neuron-agentic-developmentnpx agentmods add skills/aws-neuron/neuron-agentic-development/neuron-nki-profilingWrote 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-profiling)<a href="https://agentmods.dev/skills/aws-neuron/neuron-agentic-development/neuron-nki-profiling"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-nki-profiling/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-profiling"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-nki-profiling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00068 | $0.04515 |
| Opus 5.5 | $0.00027 | $0.01806 |
| Sonnet 5.5 | $0.00014 | $0.00903 |
| Haiku 4.5 | $0.00007 | $0.00451 |
Grade A, and why
neuron-nki-profiling 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 — 399 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Profiling NKI Kernels
This skill provides a complete workflow for profiling NKI kernel execution on Trainium/Inferentia hardware using Neuron profiling tools.
Quick Start
Minimal workflow to profile a kernel:
# 1. Run the kernel with runtime inspection on; the runtime writes every NEFF it loads under ./output
NEURON_RT_INSPECT_ENABLE=1 NEURON_RT_INSPECT_DEVICE_PROFILE=1 NEURON_RT_INSPECT_OUTPUT_DIR=./output \
python my_kernel.py
# 2. Find the NKI kernel NEFF. On torch-neuronx's native "neuron" device a script that runs only
# the kernel on the device leaves one neff_*.neff (see "Step 2: Execute Kernel")
NEFF_PATH=$(find ./output -name 'neff_*.neff' | head -1)
# On the torch-xla device, skip the XLA-generated NEFFs instead:
# NEFF_PATH=$(python3 scripts/identify-neffs.py ./output my_kernel_func_name)
# 3. Capture profile with neuron-explorer, then take the NTFF it wrote (its name depends on the flags, see Step 4)
neuron-explorer capture -n $NEFF_PATH -s profile.ntff --profile-nth-exec=2 --enable-dge-notifs
NTFF_PATH=$(ls -t *.ntff | head -1)
# 4. View results with neuron-explorer
neuron-explorer view --output-format summary-json -n $NEFF_PATH -s $NTFF_PATH
The workflow generates two key artifacts:
- NEFF file: Compiled kernel binary, generated during execution
- NTFF file: Execution trace captured by neuron-explorer
Where outputs go (the shared project-root contract)
$NEURON_PROJECT_ROOT names the PROJECT directory this analysis belongs to; everything this
skill generates lands under <root>/agent_artifacts/, and it defaults to the cwd, so an ordinary
interactive run needs no extra input. It is the SAME input the rest of this family takes — the
parallelism-planner and hardware-entitlement skills accept it as --project-root, the
vllm-neuron profiling skill writes its profiles under it — which is what lets one run's plan,
per-operator floor, profile and ingested parquet sit in a single evidence trail instead of four
unrelated directories.
What ships with it
2 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.
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 Changed · +34 lines 19b56cd9d7ee
- 1mo ago Changed · +18 lines 0a43a1e40791
- 3mo ago First seen · 347 lines · 68 tokens per session scan A 8804fdea3ad7
neuron-nki-profiling is a skill published in the GitHub repository aws-neuron/neuron-agentic-development (72 stars, last pushed yesterday), licensed Apache-2.0. It adds 68 tokens to every session and 4,515 once invoked, about $0.0003 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.
neuron-nki-profiling compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| neuron-nki-profilingaws-neuron/neuron-agentic-development | Skill | 72 | yesterday | Apache-2.0 | A | 68 | Claude Code |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 37k | yesterday | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 35k | yesterday | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.9k | yesterday | Apache-2.0 | A | 205 | Claude Code |