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-framework-profiling-vllm-neurongit 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-framework-profiling-vllm-neuron)<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.
<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>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.00188 | $0.10313 |
| Opus 5.5 | $0.00075 | $0.04125 |
| Sonnet 5.5 | $0.00038 | $0.02063 |
| Haiku 4.5 | $0.00019 | $0.01031 |
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.
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 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 standaloneneuron-explorer capture -n <neff>/neuron-profilereplay 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 livenc_exec_runningwindow. Do not build "serving-overhead" or "device-floor" conclusions on a replay number.
What ships with it
23 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/capture_checks.py 16 KB runs code
- references/decode_isolation.py 8.0 KB runs code
- references/failure_handback.example.json 4.8 KB
- references/failure_handback.md 6.1 KB
- references/failure_record.py 4.9 KB runs code
- references/gemma4_walkthrough.md 5.8 KB
- references/manifest.example.json 2.0 KB
- references/offline_capture.md 5.8 KB
- references/profile_config.py 19 KB runs code
- references/profile_measurements.py 3.6 KB runs code
- references/profile_run.py 55 KB runs code
- references/profiler_adapter.py 2.3 KB runs code
- references/profiling_attempts.md 16 KB
- references/reduced_and_full_model.md 6.1 KB
- references/run_bench.sh 2.5 KB runs code
- references/run_profile_decode.sh 2.7 KB runs code
- references/run_profile_prefill.sh 2.0 KB runs code
- references/run_profile.sh 3.2 KB runs code
- references/run_spec.example.json 1.8 KB
- references/safe_serve.py 270 B runs code
- references/serve_log.py 7.3 KB runs code
- references/serve_profiling.md 46 KB
- references/traps.md 20 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.
- today Changed · +118 lines · +14 tokens per session c410a6f92e6c
- 1mo ago First seen · 487 lines · 174 tokens per session scan B 3e0da23ec7ee
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.
neuron-framework-profiling-vllm-neuron compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| neuron-framework-profiling-vllm-neuronaws-neuron/neuron-agentic-development | Skill | 72 | yesterday | Apache-2.0 | B | 188 | Claude Code, Codex |
| gke-compute-classesgoogle/skills | Skill | 25k | yesterday | Apache-2.0 | A | 83 | Claude Code, Codex |
| jetson-diagnosticNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 30 | Claude Code, Codex |
| holoscan-install-wheelNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 34 | Claude Code, Codex |
| offensive-z-waveSnailSploit/Claude-Red | Skill | 12k | 14d ago | MIT | A | 113 | Claude Code, Codex |
| hsb-flashNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | B | 94 | Claude Code |
| jetson-validate-imageNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | B | 50 | Claude Code, Codex |