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 D-Robotics/moss --skill rdk-npu-inferencegit clone --depth 1 https://github.com/D-Robotics/mossWrote 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/d-robotics/moss/rdk-npu-inference)<a href="https://agentmods.dev/skills/d-robotics/moss/rdk-npu-inference"><img src="https://agentmods.dev/badge/skills/d-robotics/moss/rdk-npu-inference/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/d-robotics/moss/rdk-npu-inference"><img src="https://agentmods.dev/badge/skills/d-robotics/moss/rdk-npu-inference.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.00048 | $0.00627 |
| Opus 5.5 | $0.00019 | $0.00251 |
| Sonnet 5.5 | $0.00010 | $0.00125 |
| Haiku 4.5 | $0.00005 | $0.00063 |
Grade A, and why
rdk-npu-inference 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 yesterday.
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.
What it actually says
RDK NPU inference via device tools
Load and verify a model
device_exec: hrt_model_exec model_info --model_file /path/to/model.bin
Success shows Load model to DDR cost Xms plus per-model info. The model builder version in the output
identifies the toolchain that compiled it — a mismatch with the running runtime means a version-skew, not
a runtime failure.
Benchmark latency and FPS
device_exec: hrt_model_exec perf --model_file /path/to/model.bin --thread_num 2
Runs 200 frames, then prints Average latency is: X ms and Frame rate is: Y FPS. Record both as evidence.
Run inference on an input
device_exec: hrt_model_exec infer --model_file /path/to/model.bin --input_bin_path /path/to/input.bin
Board-shipped test models
| Board path | What it is |
|---|---|
/app/multimedia_samples/chip_base_test/.../HBDK3_MODEL_2K/x5/*.hbm |
BPU self-test (2K resolution) |
/app/multimedia_samples/sunrise_camera/.../model_zoom/mobilenetv2_224x224_nv12.bin |
MobileNetV2 classification |
/app/multimedia_samples/sunrise_camera/.../model_zoom/yolov5s_672x672_nv12.bin |
YOLOv5s detection |
/opt/hobot/model/x5/basic/*.bin |
TROS node models |
Real baselines (RDK X5, 2026-11)
| Model | Latency | FPS | Source |
|---|---|---|---|
| MobileNetV1 224x224 (OE-compiled) | 1.58 ms | 1247 | cloud→board deploy |
| MobileNetV2 224x224 (preinstalled) | 1.6-1.8 ms | 520-600 | sunrise_camera |
| HBDK3 2K test model | 44 ms | 45 | chip_base_test |
Rules
- A
golden result ERRORafterbpu0 test sucessin the chip_base_test means a missing reference file, not a BPU failure. - One heavy NPU process at a time; GPU/NPU contention yields intermittent depth/conversion failures.
- Background a long NPU run safely:
nohup CMD > log 2>&1 < /dev/null & echo $! > pid.
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.
- yesterday First seen · 54 lines · 48 tokens per session scan A 942400d38c0f
rdk-npu-inference is a skill published in the GitHub repository D-Robotics/moss (143 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 627 once invoked, about $0.0002 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-11-08.
rdk-npu-inference compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rdk-npu-inferenceD-Robotics/moss | Skill | 143 | yesterday | MIT | A | 48 | Claude Code, Codex |
| spark-environment-setupwshobson/agents | Skill | 42k | yesterday | MIT | A | 76 | Claude Code |
| spark-memory-thermal-opswshobson/agents | Skill | 42k | yesterday | MIT | A | 59 | Claude Code |
| spark-training-gotchaswshobson/agents | Skill | 42k | yesterday | MIT | A | 63 | Claude Code |
| inference-serving-llama-cppdavila7/claude-code-templates | Skill | 33k | today | MIT | A | 80 | Claude Code, Codex |
| amc-run-rtsp-calibrationNVIDIA/skills | Skill | 3.9k | 2d ago | Apache-2.0 | A | 59 | Claude Code, Codex |
| deepstream-generate-pipelineNVIDIA/skills | Skill | 3.9k | 2d ago | Apache-2.0 | A | 108 | Claude Code |