neuron-framework-profiling-vllm-neuron

neuron-framework-profiling-vllm-neuron is a skill for Claude Code, Codex from aws-neuron/neuron-agentic-development. It costs 188 tokens per session (10,313 once invoked), scanned B, original, Apache-2.0.

A profiling guide for vLLM Neuron models running on AWS Trainium hardware. Profiling records device and system traces so you can inspect what happens during model serving.

In plain words
What is it for?
Use it to capture performance traces, record software versions, and diagnose whether a vLLM Neuron profiling run succeeded.
Why use it?
It provides a defined way to capture traces from a live server or an offline benchmark, while checking that the requested trace files were actually produced.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to capture performance traces, record software versions, and diagnose whether a vLLM Neuron profiling run succeeded.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws-neuron/neuron-agentic-development/neuron-framework-profiling-vllm-neuron
Install

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.

Any agent
npx skills add aws-neuron/neuron-agentic-development --skill neuron-framework-profiling-vllm-neuron
Clone the repo
git clone --depth 1 https://github.com/aws-neuron/neuron-agentic-development

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for neuron-framework-profiling-vllm-neuron

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-framework-profiling-vllm-neuron/github.svg)](https://agentmods.dev/skills/aws-neuron/neuron-agentic-development/neuron-framework-profiling-vllm-neuron)
Your own site
<a href="https://agentmods.dev/skills/aws-neuron/neuron-agentic-development/neuron-framework-profiling-vllm-neuron"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-framework-profiling-vllm-neuron/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.

agentmods 80×15 button for neuron-framework-profiling-vllm-neuron

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws-neuron/neuron-agentic-development/neuron-framework-profiling-vllm-neuron"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-framework-profiling-vllm-neuron.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,313 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00188 $0.10313
Opus 5.5 $0.00075 $0.04125
Sonnet 5.5 $0.00038 $0.02063
Haiku 4.5 $0.00019 $0.01031

Measured today against content hash c410a6f92e6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

neuron-framework-profiling-vllm-neuron scanned grade B with 2 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.

The scan reads SKILL.md. This mod also ships 13 executable files (references/capture_checks.py, references/decode_isolation.py, references/failure_record.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

**System debs** (via `sudo apt install ./dep/apt/aws-neuronx-*.deb`):

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:8000/start_profile
skills/neuron-framework-profiling-vllm-neuron/SKILL.md · 605 lines

How it starts

The opening of the file, as written. The whole thing — 605 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Profiling vllm-neuron Models

Use this skill on its own or with a campaign controller. The serve-based and offline methods below can be used directly; the bundled driver is a convenience for automating prefill/decode captures. A controller, campaign grant and attempt ID are not prerequisites.

Use the installed vLLM Neuron profiling interface. Record package versions for reproducibility; a different version number or unfamiliar private API is not a reason to reject profiling. To inspect configuration compatibility without loading a model:

python3 references/profile_run.py --run-spec run_spec.json --check-capabilities <run_name>

This prints a diagnostic without changing existing run files. During a normal capture, the driver saves the same diagnostic in capabilities.json. Missing version metadata, unfamiliar interfaces and an unavailable probe produce warnings; the installed server validates its configuration. Successful diagnostics or HTTP responses do not establish capture success: check the requested traces. The driver records new nonempty trace files in capture.json and fails when a requested, recognized Neuron trace is missing. Inspect unfamiliar profiler formats with the tools supplied by that profiler.

Keep requested and observed weight, compute and KV precision separate. auto and import-time FP8 banners are not runtime observations. Optionally supply --runtime-config <raw-runtime-observation.json> containing effective_config from the runtime, rather than a copy of requested settings. precision.json records checkpoint metadata and available observations; without runtime evidence, actual precision remains unknown and trace collection can still proceed. If an attempt ID is supplied, it must match in the run specification and runtime observations.

measurement.json saves benchmark results and return code before profiler stop/cleanup. cleanup.json records teardown separately; cleanup cannot erase results or make them pass. The driver refuses an existing runfile: reconcile/resume the native child and existing output. Use safe_serve.py status --runfile <path> --json for live|terminal|unverified process state and separate cleanup receipt. Do not infer gains from process state.

Failures are classified, then re-raised. Every failed run writes failure.json (status, failure: {class, message, command}, payload with the OOM stage and a verbatim log excerpt, artifacts, next_actions) before exiting non-zero; see references/failure_handback.md. After the server is ready, the driver also reads the engine's effective values back from the serve log into effective_serve.json, and refuses to measure (config_clamped) when they differ from serve_config, including when the KV cache caps concurrency below the workload's. serve_config keys the driver can't launch with are rejected before launch (config_invalid); gpu_memory_utilization and hf_overrides are supported keys.

When used with a campaign controller: preserve its granted baseline/configuration and allowed tuning axes. Hardware results also report observed_config.devices: the sorted /dev/neuronN device IDs the run could access, equal to grant.resources.devices (device IDs, not the logical NeuronCore IDs in NEURON_VISIBLE_DEVICES), plus observed_config.external_reservation_id from the grant; the controller rejects a measured result without them. Propagate attempt_id in the run spec or pass --attempt-id <task.attempt_id>. Submit observed runtime_config.json as a PRIMARY_MEASURED runtime_config artifact when the campaign requires it. Preserve raw evidence; the controller normalizes aliases and validates witnessed defaults. A user-required precision mismatch remains a blocker, and scalar token limits and bucket lists remain distinct. Diagnose tooling problems before changing serving source or the campaign's baseline.

Read device time from the LIVE system trace (nc_exec_running), not from an isolated NEFF replay. A standalone neuron-explorer capture -n <neff> / neuron-profile replay undercounts real multi-rank collective traffic (measured: ~12.9 ms replay vs ~18 ms live for the same TP=16 graph). Use the isolated replay only for per-op structure; quote per-request device time from the live nc_exec_running window. Do not build "serving-overhead" or "device-floor" conclusions on a replay number.

Read the full file on GitHub · 605 lines

Changes

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.

  1. today Changed · +118 lines · +14 tokens per session c410a6f92e6c
  2. 1mo ago First seen · 487 lines · 174 tokens per session scan B 3e0da23ec7ee

Subscribe to this mod's changes

neuron-framework-profiling-vllm-neuron is a skill published in the GitHub repository aws-neuron/neuron-agentic-development (72 stars, last pushed yesterday), licensed Apache-2.0. It adds 188 tokens to every session and 10,313 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-20.

Related

neuron-framework-profiling-vllm-neuron compared with skills from other repositories

neuron-framework-profiling-vllm-neuron next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neuron-framework-profiling-vllm-neuronaws-neuron/neuron-agentic-developmentSkill72yesterdayApache-2.0B188Claude Code, Codex
gke-compute-classesgoogle/skillsSkill25kyesterdayApache-2.0A83Claude Code, Codex
jetson-diagnosticNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code, Codex
holoscan-install-wheelNVIDIA/skillsSkill4.2ktodayApache-2.0A34Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k14d agoMITA113Claude Code, Codex
hsb-flashNVIDIA/skillsSkill4.2ktodayApache-2.0B94Claude Code
jetson-validate-imageNVIDIA/skillsSkill4.2ktodayApache-2.0B50Claude Code, Codex