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-autoportgit 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-autoport)<a href="https://agentmods.dev/skills/aws-neuron/neuron-agentic-development/neuron-framework-autoport"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-framework-autoport/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-autoport"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-framework-autoport.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.00094 | $0.02196 |
| Opus 5.5 | $0.00038 | $0.00878 |
| Sonnet 5.5 | $0.00019 | $0.00439 |
| Haiku 4.5 | $0.00009 | $0.00220 |
Grade D, and why
neuron-framework-autoport scanned grade D 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 1mo 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.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
- **Do not run any code** — no compilation, inference, or validation (no Trainium hardware available) Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
2. Delete compiled model: `rm -rf agent_artifacts/data/compiled_model && rm -rf /var/tmp/neuron-compile-cache` How it starts
The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Model Porting
Overview
This document provides the agent direct instructions on how to port a model from pytorch and running on NVIDIA GPU to pytorch/Neuron running on Trainium. The agent will be expected to follow these steps below.
Pay attention to the success criteria, do not stop, or declare that you are done until you meet the complete success criteria
Dry-run
When the user specifies dry-run:
- Skip the "Resolve Dependencies" step
- Run these commands to activate the venv and resolve source paths:
export PATH=<pathToVenv>/bin:$PATH NXDI_SRC=$(python3 -c "import neuronx_distributed_inference; print(neuronx_distributed_inference.__path__[0])") NXD_SRC=$(python3 -c "import neuronx_distributed; print(neuronx_distributed.__path__[0])") TRANSFORMERS_SRC=$(python3 -c "import transformers; print(transformers.__path__[0])") - Do not run any code — no compilation, inference, or validation (no Trainium hardware available)
Before You Start
Set User Invocation Directory
USER_INVOCATION_DIR="$(pwd)"
Resolve Dependencies
Follow references/setup_flow.md. It handles venv validation, install consent, and exit code recovery. Do not proceed until it completes successfully.
After success, retain the 3 resolved paths from the script output for use throughout the workflow:
| Variable | Description |
|---|---|
${NXDI_SRC} |
Path to NeuronX Distributed Inference source |
${NXD_SRC} |
Path to NeuronX Distributed source |
${TRANSFORMERS_SRC} |
Path to HuggingFace Transformers source |
Read Project Guidelines
READ references/systemPrompts/systemPrompt.md in this skill directory. It contains prerequisites (including version checks), project guidelines, tool documentation, debugging support, codebase navigation, and hardware context. Run all prerequisite checks and follow all guidelines throughout the workflow.
Porting Parameters
Extract these six required parameters from the user's request before starting:
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.
- assets/example_gptoss_usage.py 31 KB runs code
- assets/example_phi3_usage.py 12 KB runs code
- assets/example_phimoe_usage.py 6.8 KB runs code
- assets/example_validation_config.json 774 B
- assets/test_gptoss_inference.py 1.0 KB runs code
- assets/test_phi3_inference.py 1.0 KB runs code
- assets/test_phimoe_inference.py 1.1 KB runs code
- references/knowledge_base/Category1_Porting_Config_Compilation_Issues.md 30 KB
- references/knowledge_base/Category1_Scripts_Compilation_Config_Summary.md 21 KB
- references/knowledge_base/Category2_Scripts_Sharding_Memory_Weights_Summary.md 28 KB
- references/knowledge_base/Category2_Sharding_Memory_Issues.md 35 KB
- references/knowledge_base/Category3_Accuracy_Debugging_Analysis.md 45 KB
- references/knowledge_base/Category3_Scripts_Accuracy_Debugging_Summary.md 28 KB
- references/knowledge_base/compilation_errors_and_fixes.md 12 KB
- references/knowledge_base/COMPREHENSIVE_LLAMA3_NEURONX_GUIDE.md 37 KB
- references/knowledge_base/ERRORS_AND_FIXES.md 7.1 KB
- references/knowledge_base/ExecutionOutOfBounds_Error_Fix.md 26 KB
- references/knowledge_base/EXISTING_MODEL_ARCHITECTURES.md 18 KB
- references/knowledge_base/genericmoe_port_session.md 14 KB
- references/knowledge_base/genericmoe_v14_analysis.md 5.1 KB
- references/knowledge_base/genericmoe_v15_layernorm_fix.md 6.3 KB
- references/knowledge_base/genericmoe_v16_complete_layernorm_fix.md 6.6 KB
- references/knowledge_base/genericmoe_v16_final_success_summary.md 11 KB
- references/knowledge_base/GPTOSS_FAILURE_ANALYSIS_HONEST.md 5.7 KB
- references/knowledge_base/GPTOSS_FINAL_SUCCESS_REPORT.md 6.1 KB
- references/knowledge_base/IMPLEMENTATION_SUCCESS_FINAL.md 7.6 KB
- references/knowledge_base/INFERENCE_IMPLEMENTATION_SUMMARY.md 6.4 KB
- references/knowledge_base/INFERENCE_TROUBLESHOOTING_GUIDE.md 10 KB
- references/knowledge_base/issues_analysis_and_improved_prompts.md 9.9 KB
- references/knowledge_base/keyerror_fix_detailed_explanation.md 6.9 KB
- references/knowledge_base/layernorm_vs_rmsnorm_analysis.md 14 KB
- references/knowledge_base/llama3_neuronx_implementation_summary.md 15 KB
- references/knowledge_base/longrope_investigation_v13.md 6.8 KB
- references/knowledge_base/model_architectures.md 7.1 KB
- references/knowledge_base/MODEL_IMPLEMENTATION_GUIDE.md 22 KB
- references/knowledge_base/MODULAR_FLOW_COMPILATION_SUMMARY.md 5.1 KB
- references/knowledge_base/MoE_Port_Master_Summary.md 20 KB
- references/knowledge_base/NEURONX_PORTING_GUIDE.md 70 KB
- references/knowledge_base/NOVEL_NEURONX_PORTING_PATTERNS.md 36 KB
- references/knowledge_base/OVERRIDING_FORWARD_GUIDANCE.md 16 KB
- references/knowledge_base/porting_exercise.md 26 KB
- references/knowledge_base/PORTING_SLIDING_WINDOW.md 26 KB
- references/knowledge_base/ROOT_CAUSE_REPEATED_OUTPUTS.md 11 KB
- references/knowledge_base/successful_run.md 572 KB
- references/knowledge_base/TEXT_TO_VIDEO_MODEL_PORTING.md 52 KB
- references/knowledge_base/TRACE_PORT.md 16 KB
- references/knowledge_base/TROUBLESHOOTING.md 12 KB
- references/knowledge_base/WEIGHT_SHARDING_FIXES_SUMMARY.md 5.3 KB
- references/setup_flow.md 1.8 KB
- references/systemPrompts/systemPrompt.md 7.2 KB
- scripts/envSetup/check_env.py 5.9 KB runs code
- scripts/envSetup/requirements-al2023.txt 207 B
- scripts/envSetup/requirements.txt 151 B
- scripts/model_compiler.py 28 KB runs code
- scripts/run_inference.py 29 KB runs code
- scripts/setup_autoport.sh 16 KB runs code
- scripts/setup_dry_run.sh 704 B runs code
- scripts/validate_model.py 6.1 KB runs code
- scripts/validator/__init__.py 1.6 KB runs code
- scripts/validator/accuracy.py 22 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.
- 1mo ago First seen · 130 lines · 94 tokens per session scan D 34bb0f548ce5
neuron-framework-autoport is a skill published in the GitHub repository aws-neuron/neuron-agentic-development (63 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 94 tokens to every session and 2,196 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it D with 2 findings (unrestricted tool access, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
spark-environment-setup
Set up a working ML training/inference environment on NVIDIA DGX Spark (GB10, aarch64, CUDA 13). Use when installing PyTorch/Unsloth/TRL/vLLM on DGX Spark, hitting libcudart or wheel-ABI errors on aarch64, or choosing between NGC containers and bare pip installs.
spark-memory-thermal-ops
Manage unified memory and thermals during long-running ML jobs on NVIDIA DGX Spark. Use when planning memory headroom for a training run on GB10, when a job OOMs on unified memory, or when monitoring temperature and power during multi-hour training.
spark-training-gotchas
Preflight and diagnose the ten known failure modes for ML training on NVIDIA DGX Spark. Use when a training run on DGX Spark fails to start, OOMs below the 128GB limit, slows down mid-run, or before any multi-hour training job on GB10.
llama-cpp
Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.
amc-run-rtsp-calibration
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.
deepstream-generate-pipeline
Build DeepStream GStreamer pipelines interactively. Use when the user asks about pipelines for video/image inference, detection, tracking, or streaming — including natural phrases like 'pipeline to infer on image', 'run inference on video', 'detect objects in stream', 'save inference output', 'deepstream pipeline'…