rdk-command-manual
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Command-manual lookup for RDK-specific commands (hrut_somstatus, hrut_boardid, hrut_socuid, hrut_ps, rdkos_info, rdk-miniboot-update, rdk-backup, srpi-config, devmem) plus the Linux command appendix (apt/dmesg/ip/scp/tar...) as documented by D-Robotics. Use whenever the user asks what a command does, its syntax/options/flags, or which boards it applies to — the command is the anchor, not the symptom. Answer with exact syntax, per-board differences (X3 vs X5 vs Ultra vs S100/S100P/S600), and the official doc source. 触发词:hrut_somstatus 怎么读、hrut_boardid 选项含义、hrut_socuid、hrut_ps、rdkos_info -d 输出什么、rdk-miniboot-update 怎么用、rdk-backup 备份、srpi-config 有哪些菜单、devmem 读写寄存器、这条命令哪块板能用、命令语法/选项/适用板型。Routing — a command threw an error and you need symptom-based triage → rdk-board-knowledge; peripheral (camera/GPIO/I2C/UART/PWM) driver setup → rdk-peripheral-cookbook; locate a GitHub repo/source → rdk-source-map; locate an official doc-site chapter/URL → rdk-doc-finder; pure hardware/pinout facts → rdk-hardware.
- Deletes or force-pushes
- Installs packages
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- D-Robotics/rdk-device-skillsedited, first seen Oct 15, 2026
- D-Robotics/rdk-skillsedited, first seen Oct 9, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- D-Robotics/rdk-skills★ 599% same
- D-Robotics/rdk-device-skills★ 499% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository59 other files it gives its agents.
- bsp-bootloader-buildSkill
- bsp-deb-buildSkill
- bsp-env-setupSkill
- bsp-image-buildSkill
- bsp-kernel-buildSkill
- bsp-rootfs-customSkill
- bsp-source-syncSkill
- bsp-s-seriesSkill
- hmct-workflowSkill
- horizon-routerSkill
- ucpSkill
- x5-accuracy-diagnosticsSkill
- x5-board-monitorSkill
- x5-bpu-python-apiSkill
- x5-calibration-data-prepareSkill
- x5-consistency-diagnosticsSkill
- x5-environment-installSkill
- x5-environment-probeSkill
- x5-environment-setupSkill
- x5-model-diagnosticsSkill
- x5-model-preflightSkill
- x5-performance-diagnosticsSkill
- x5-ptq-compileSkill
- x5-ptq-config-authoringSkill
- x5-ptq-deploySkill
- x5-qat-adaptationSkill
- x5-qat-compileSkill
- x5-qat-deploySkill
- x5-qat-trainingSkill
- x5-routerSkill
- x5-runtime-cpp-inferSkill
- x5-runtime-deploySkill
- x5-runtime-perf-evalSkill
- rdk-accessoriesSkill
- rdk-board-delegateSkill
- rdk-board-knowledgeSkill
- rdk-camera-setupSkill
- rdk-diagnosticSkill
- rdk-docs-referenceSkill
- rdk-ecosystemSkill
- rdk-embodied-lerobotSkill
- rdk-gpio-40pinSkill
- rdk-hardwareSkill
- rdk-headless-modeSkill
- rdk-llm-deploymentSkill
- rdk-log-forensicsSkill
- rdk-memory-auditSkill
- rdk-model-benchmarkSkill
- rdk-model-deploySkill
- rdk-model-zooSkill
- rdk-multimediaSkill
- rdk-network-remoteSkill
- rdk-peripheral-cookbookSkill
- rdk-source-mapSkill
- rdk-system-configSkill
- rdk-system-maintainSkill
- rdk-tros-setupSkill
- rdk-vision-pipelineSkill
- d-robotics-pack-installerSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 43
Give the official doc URL: when the user wants to read more (URL pattern in the reference header).
- Very specific: line 48
If the intent is "the command errored, what's wrong" → stop and route to rdk-board-knowledge (symptom triage).
- Distinctive: line 95
When answering from this skill, follow these rules — never fabricate facts, commands, or file paths:
- Distinctive: line 98
No fabrication when tools are missing: If a script or reference doesn't exist, say "not found" — don't invent from memory.
- Very specific: line 99
Preserve null/false/empty on failure: If a probe returns null or false, report that — don't substitute a plausible value.
- Very specific: line 100
No substitution off-platform: If off_platform: true, say "probe didn't run on an RDK board" — don't guess what it would have returned.
- Distinctive: line 102
Acknowledge sandbox limits: If you can't run a command, say so — don't pretend you did.
- Very specific: line 103
Read-only boundary: Never modify the system — no dd, mkfs, rm -rf, apt install, reboot, or GPIO output without explicit user confirmation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RDK Command Manual (RDK-specific commands + Linux command index)
This is the command-as-anchor lookup. The user already knows the command name (or a fragment) and wants its exact syntax, options, typical use, which boards it applies to, and the official source. If instead they have an error/symptom and don't know which command to run, that is rdk-board-knowledge, not this skill.
Sources: D-Robotics official docs. RDK-specific commands come from
rdk_docdocs/09_Appendix/rdk-command-manual/(X-series, category label9.1 RDK专属命令用法) andrdk_s_doc/rdk_doc docs_s/09_Appendix/rdk-command-manual/(S-series).srpi-configlives in02_System_configuration/02_srpi-config.md. The Linux appendix is09_Appendix/linux-command-manual/(label9.2 Linux命令用法). Every fact below was re-verified against these files onmain.
The one thing that matters most
The same command name can behave differently per board. hrut_boardid on X3 has g/s/G/S/c/C sub-options; on X5 it only prints (-h is the sole flag); on S-series it just emits 0x6A84-style output. hrut_somstatus adds a multi-rail voltage block on S-series that X-series never shows. Never recite a command's behavior without first pinning the board. When unsure, tell the user to run which <cmd> or <cmd> -h on the actual board, then explain from the matching doc.
Board → command-availability cheat-sheet
Confirm the board family first, then read the row. "Same" means the command exists with the same core behavior; differences are called out.
| Command | X3 | X5 | Ultra | S100 / S100P / S600 | sudo? |
hrut_somstatus | yes | yes | yes | yes (+ voltage rails, policy-clustered freq, bpu0: ratio only) | yes |
hrut_boardid | g/s/G/S/c/C + 32-bit bitfield | print-only (-h) | print-only | prints 0x6A84 encoded | varies |
hrut_socuid | yes | yes | yes | yes | doc shows sudo on X3 |
hrut_ps | yes | yes | yes | yes | no |
rdkos_info | yes (has [ION Memory Size]) | yes | yes | yes (no ION line; board id 0x6A84) | yes |
rdk-miniboot-update | yes | yes | yes | not in S appendix → use OTA flow | yes |
rdk-backup | yes | yes | yes | not in S appendix | yes |
srpi-config | yes | yes | NOT Ultra | S100 documented (VNC still being adapted) | yes |
devmem | yes | yes | yes | yes (identical) | depends on address |
BPU profiling / monitoring commands (
hrut_bpuprofile,hrut_smi,bputop,cat /sys/devices/system/bpu/bpu0/ratio, etc.) carry per-board and risk-tier nuances and are maintained in rdk-board-knowledge (references/diagnostic-commands.md), not here. Don't duplicate them.
Workflows
Workflow 1 — Answer "what does command X do / what are its options?"
- Pin the board family (X3 / X5 / Ultra / S-series). If the user didn't say, ask, or tell them to run
which <cmd>/<cmd> -h. - Open the matching row in the cheat-sheet, then the full entry in rdk-commands.md for exact syntax, every option, typical usage, and the source path.
- Call out per-board differences explicitly — e.g. "on X5
hrut_boardidonly prints, theg/sset is X3-only." - Give the official doc URL when the user wants to read more (URL pattern in the reference header).
Workflow 2 — Answer "which command checks temperature / status / board id on this board?"
- Map the intent to the command: temperature/freq/BPU-load →
hrut_somstatus; full system snapshot for a bug report →rdkos_info; board id →hrut_boardid; SoC UID →hrut_socuid; rich process info →hrut_ps. - If the intent is "the command errored, what's wrong" → stop and route to
rdk-board-knowledge(symptom triage). This skill explains what a command is, not why it failed. - For collecting evidence before filing an issue, recommend
sudo rdkos_info -d(300 log lines) — it bundles hardware model, CPU/BPU status, memory, OS/kernel/miniboot versions.
Workflow 3 — Answer "how do I update miniboot / back up the system?"
- X-series:
sudo rdk-miniboot-update(latest) or-f <file>; preview the default image withrdk-miniboot-update -l. Back up withsudo rdk-backup [dir]— must be online first, producesrdk-<datetime>.img. - S-series:
rdk-miniboot-update/rdk-backupare not in the S appendix. Route miniboot updates to the OTA flow (rdk_doc docs_s/07_Advanced_development/02_linux_development/06_OTA/02_ota_miniboot.md) and full flashing toxburn. See the source note in rdk-commands.md.
Workflow 4 — Answer "what's in srpi-config / how do I configure Wi-Fi/SSH/interfaces?"
- Reject Ultra immediately:
srpi-configis documented only for X3, X5, X3 Module — not RDK Ultra. - Map the request to a menu (full menu tree in rdk-commands.md): Wi-Fi/password/hostname/login → System Options; SSH/VNC/40-pin bus → Interface Options; overclock/ION memory → Performance Options; locale/timezone → Localisation; expand filesystem/boot order → Advanced.
- 40-pin peripheral bus: interfaces on the same row share pins — only one can be active at a time. X5 adds PWM. For deeper driver/devicetree setup, hand off to
rdk-peripheral-cookbook. - S100 also has
srpi-configbut a leaner Interface menu (VNC being adapted; peripheral config points toconfig.txt).
Workflow 5 — Answer Linux-appendix command questions
The appendix (apt / dmesg / dpkg / dpkg-deb / find / grep / ifconfig / ip / mount / netstat / nohup / ps / route / rsync / scp / ssh / tar / top / zip) is generic Linux usage that D-Robotics bundled for beginners. Index back to the official page (linux-commands.md) or explain from standard man semantics. Do not invent RDK-specific behavior for these. If the user's real problem is an RDK-board symptom (APT key failure, TROS package not found), that's rdk-board-knowledge.
Worked examples
Example 1 — "hrut_boardid 在我的 X5 上为什么没有 g/s 这些选项?"
"Because the g/s/G/S/c/C sub-options are X3-only. On X5 hrut_boardid is print-only — its only flag is -h, and it just prints the current boardid. The full 32-bit bitfield (DDR vendor/type/freq/capacity/SOM type/base-board) you may have seen is the X3 definition. On S-series it instead prints a 0x6A84-style code (chip id / power design / board revision)." Point to the hrut_boardid entry in references/rdk-commands.md.
Example 2 — "rdkos_info -d 和默认输出有什么区别?"
"-d is detailed mode: it appends the latest 300 lines of system log, vs the default -s simple mode which shows 30. -b collects no logs at all. The body is the same: [Hardware Model], [CPU And BPU Status], memory, [RDK OS Version], [RDK Kernel Version], [RDK Miniboot Version]. On X-series you also get [ION Memory Size]; on S-series the board id shows as 0x6A84 and there's no ION line. Run sudo rdkos_info -d and paste the output — it's the single best snapshot for a bug report."
Example 3 — "S100 上怎么更新 miniboot?"
"rdk-miniboot-update is documented for X-series; it's not in the S-series command appendix. On S100, update miniboot through the OTA flow (docs_s/07_Advanced_development/.../06_OTA/02_ota_miniboot.md), and do full-image flashing with xburn. Don't assume the X-series rdk-miniboot-update -f path exists unchanged on S100 — verify with which rdk-miniboot-update on the board first."
Example 4 — "srpi-config 里在哪开 SSH 和 40pin 的 I2C?"
"Both are under Interface Options. SSH is a direct enable/disable (on by default). For I2C use Peripheral bus config — it edits the devicetree bus status and takes effect after reboot. Note interfaces sharing a pin row are mutually exclusive (only one active); X5 adds PWM to that table. Heads-up: srpi-config is X3/X5/X3-Module only — not Ultra. For driver-level peripheral bring-up, use rdk-peripheral-cookbook."
Common pitfalls
| ❌ Don't | ✅ Do |
| Recite a command's options without pinning the board | Confirm X3/X5/Ultra/S first; behaviors differ |
Claim hrut_boardid g works on X5 | X5 is print-only; g/s/G/S/c/C is X3-only |
Assume rdk-miniboot-update/rdk-backup exist on S-series | Not in S appendix → OTA flow + xburn |
Offer srpi-config to an Ultra user | Documented for X3/X5/X3 Module only, not Ultra |
Invent RDK-specific flags for apt/scp/tar | Treat appendix Linux commands as standard man |
| Triage an error message here | Route command errors/symptoms to rdk-board-knowledge |
Re-document hrut_bpuprofile/hrut_smi | They live in rdk-board-knowledge's diagnostic-commands.md |
Anti-hallucination guardrails
When answering from this skill, follow these rules — never fabricate facts, commands, or file paths:
- Report only observed data. Quote what scripts/commands actually return, not what you remember. If the probe says
board_id: X5, answer for X5 — even if the user insists it's an S100. - No fabrication when tools are missing. If a script or reference doesn't exist, say "not found" — don't invent from memory. Route to the appropriate skill or doc instead.
- Preserve null/false/empty on failure. If a probe returns
nullorfalse, report that — don't substitute a plausible value. Empty output is data, not an error to "fix". - No substitution off-platform. If
off_platform: true, say "probe didn't run on an RDK board" — don't guess what it would have returned. Ask for on-board logs. - No hand-editing JSON. Scripts emit structured JSON; never hand-craft output. If the contract says
{ok,off_platform,reason,fields}, that's what goes to the user. - Acknowledge sandbox limits. If you can't run a command, say so — don't pretend you did. Offer the command for the user to run.
- Read-only boundary. Never modify the system — no
dd,mkfs,rm -rf,apt install,reboot, or GPIO output without explicit user confirmation.
Reference map
| Read this | When |
| rdk-commands.md | Any RDK-specific command — full syntax, every option, per-board differences, srpi-config menu tree, flashing/OTA pointers, source paths |
| linux-commands.md | A command from the Linux appendix (apt/dmesg/ip/scp/tar...) — index + official URL pattern |
scripts/cmd_lookup.py | Deterministic "command → one-liner + per-board availability + source" lookup so you don't drift |
rdk-board-knowledge → diagnostic-commands.md | BPU profiling/monitoring commands and command-error symptom triage |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

