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-parallelism-plannergit 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-parallelism-planner)<a href="https://agentmods.dev/skills/aws-neuron/neuron-agentic-development/neuron-parallelism-planner"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-parallelism-planner/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-parallelism-planner"><img src="https://agentmods.dev/badge/skills/aws-neuron/neuron-agentic-development/neuron-parallelism-planner.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.00114 | $0.09869 |
| Opus 5.5 | $0.00046 | $0.03948 |
| Sonnet 5.5 | $0.00023 | $0.01974 |
| Haiku 4.5 | $0.00011 | $0.00987 |
Grade A, and why
neuron-parallelism-planner 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 — 624 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Neuron Parallelism Planner
Overview
Turns a model (HuggingFace config.json) + hardware spec into a parallelism and
context-bucket recommendation, using an analytic hardware-entitlement model — a
theoretical lower bound that picks where to point the first on-hardware sweep. The engine
(scripts/planner/, see references/design.md) is a three-layer
pipeline: aggregate the model into per-(class, layer-type) segments → shard each by
its TP/CP/DP/EP divisor → attach the ordered component-body activation graph cut → cost it
as a per-component roofline step time, then sweep the config × context-bucket grid and
select under a serving objective.
There is one public planner command. It reads serving from the run-spec and dispatches
automatically: "colocated" selects the global sharding planner, while
"disaggregated" plans both DI roles: the prefill server and the component-aware decode
server.
The aggregation is validated against a meta-device FLOP-counter oracle (a shape-exact
torch module run on the meta device — no accelerator). Projection/FFN/router/lm-head
FLOP and weight counts are ground-truthed, while raw prefill SDPA is compared separately
with the analytic causal active-pair count (validate_oracle.py).
When to use
Use this skill to answer, before touching hardware:
- What TP/CP/DP (and EP, for MoE) should I serve this model with, and at what batch size?
- What decode ITL, prefill TTFT, throughput, and per-device HBM should I expect?
- Will TP=N replicate the KV cache? How much prefix-cache headroom is left?
- Which single-node colocated config meets my prefill-TTFT and decode-ITL SLAs at once?
- What speedup can speculative decoding give, given a specific draft model?
Quick start
Run it from your PROJECT directory (where the harness already is) with the skill's scripts/
on PYTHONPATH — do NOT cd into the skill: generated artifacts are written under the project
root, and the scripts refuse to write inside the skill package rather than pollute it.
What ships with it
39 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/collectives-data.md 4.5 KB
- references/collectives.schema.json 5.0 KB
- references/design.md 66 KB
- references/methodology.md 13 KB
- references/oracle-construction.md 14 KB
- references/parallelism-cost-model.md 10 KB
- references/tp-feasibility-and-kv-replication.md 4.7 KB
- references/trn2_collectives_lnc2.json 23 KB
- references/trn2_constants_empirical_collectives.json 893 B
- references/trn2_constants.json 2.4 KB
- references/trn2_runtime_constraints.json 1.0 KB
- references/trn3_collectives_lnc1.json 7.6 KB
- references/trn3_collectives_lnc2.json 20 KB
- references/trn3_constants_empirical_collectives.json 1.4 KB
- references/trn3_constants_lnc2_empirical_collectives.json 1.1 KB
- references/trn3_constants_lnc2.json 2.8 KB
- references/trn3_constants.json 2.8 KB
- samples/granite4-8b-walkthrough.md 33 KB
- scripts/entitlement_counter.py 20 KB runs code
- scripts/entitlement_formulas.py 108 KB runs code
- scripts/oracle_model.py 16 KB runs code
- scripts/planner/__init__.py 1.6 KB runs code
- scripts/planner/__main__.py 25 KB runs code
- scripts/planner/activation.py 21 KB runs code
- scripts/planner/build.py 22 KB runs code
- scripts/planner/component_plan.py 71 KB runs code
- scripts/planner/cost.py 53 KB runs code
- scripts/planner/emit.py 4.9 KB runs code
- scripts/planner/expert_dispatch.py 38 KB runs code
- scripts/planner/plan.py 40 KB runs code
- scripts/planner/prefill_plan.py 19 KB runs code
- scripts/planner/result.py 38 KB runs code
- scripts/planner/routes.py 90 KB runs code
- scripts/planner/segments.py 9.5 KB runs code
- scripts/planner/shard.py 29 KB runs code
- scripts/planner/visualize.py 13 KB runs code
- scripts/planner/vllm_memory.py 21 KB runs code
- scripts/test_entitlement_counter.py 9.8 KB runs code
- scripts/validate_oracle.py 10 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.
- today Changed · +288 lines · -114 tokens per session f3d165ad8010
- 1mo ago First seen · 336 lines · 228 tokens per session scan A 816363456cbf
neuron-parallelism-planner is a skill published in the GitHub repository aws-neuron/neuron-agentic-development (72 stars, last pushed yesterday), licensed Apache-2.0. It adds 114 tokens to every session and 9,869 once invoked, about $0.0005 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-10-20.
neuron-parallelism-planner compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| neuron-parallelism-planneraws-neuron/neuron-agentic-development | Skill | 72 | yesterday | Apache-2.0 | A | 114 | 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 |