d-robotics-pack-installer
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Install a D-Robotics workspace-integrated Skill Pack (such as OE-Skills-X5 or OE-Skills-S) into a local development project — clone the pack repo, run its setup.sh with a confirmed project root, and verify the installed workspace (.drobotics/ or .horizon/). Use when the user asks to install, initialize, or set up a D-Robotics pack/toolchain for a project ("install D-Robotics OE-Skills-X5", "装一下 OE 工具链", "setup this repo for RDK X5 tool chain work"). 触发词:install OE-Skills、装 OE、setup X5 workspace、初始化 .drobotics、安装 D-Robotics pack、OE 工具链环境搭建. Do not use for installing a single flat skill (npx skills add / pack install.sh) or for editing skill content — those follow the flat-pack flow.
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-command-manualSkill
- 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
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Use when the user asks to install / initialize / set up a workspace-integrated D-Robotics pack into a project:
- Distinctive: line 31
Do not use when:
- Very specific: line 39
Locate the component: Read every components.d/*.yml in the Hub repo.
- Very specific: line 44
Always ask the user to confirm the exact PROJECT_ROOT before any write.
- Very specific: line 50
If the clone fails (network/proxy/credentials), report the exact error and stop — do not fabricate results.
- Very specific: line 52
Follow the pack's own setup instructions: If the clone contains agent-setup.md, read and follow it.
- Very specific: line 56
Before executing, tell the user what it will write (typically a .drobotics/ or .horizon/ workspace plus routing rules injected into …
- Distinctive: line 58
Verify the install: Check the pack's declared artifacts exist, e.g.
- Distinctive: line 67
Clean up: Remove the temporary clone.
≈ “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
D-Robotics Pack Installer
Purpose
The Hub catalog hosts two kinds of packs. Flat packs (e.g. RDK Device Skills) install skill-by-skill via npx skills add or the pack's install.sh. Workspace-integrated packs (OE Tool Chain X5, OE Tool Chain S) cannot be installed that way — their skills depend on shared workspace resources (docs/, platforms/, scripts/, skill-index.json) laid down by the pack's setup.sh. This skill is the Hub's first-class installer for those workspace packs: it locates the pack registration, runs the documented install flow, and verifies the result.
When to use
Use when the user asks to install / initialize / set up a workspace-integrated D-Robotics pack into a project:
- "Install D-Robotics OE-Skills-X5 into this project"
- "帮我把 OE 工具链装到这个项目"
- "Setup this repo for RDK X5 tool chain work"
- "装一下 OE-Skills-S(S 系列工具链)"
Do not use when:
- The request is a single flat skill install (
npx skills add d-robotics/rdk-skills --skill rdk-diagnostic, packinstall.sh) — hand off to the flat pack flow. - The user only asks what a pack contains or how it works — read
components.d/*.ymland answer without installing. - The target pack has no
install_type: workspacein its registration — then it is a flat pack.
Instructions
- Locate the component. Read every
components.d/*.ymlin the Hub repo. Match the user's intent against the componentnameanddescription. Confirm the matched component declaresinstall_type: workspace; otherwise stop and explain it is a flat pack. Collect:repo,install_script(defaultsetup.sh), andinstall_instructionsif present. - Confirm the project root. Determine the candidate
PROJECT_ROOT:- A directory containing
CLAUDE.mdorAGENTS.mdin the user's current working tree, else - The user's current working directory.
Always ask the user to confirm the exact
PROJECT_ROOTbefore any write. Do not proceed unconfirmed.
- A directory containing
- Clone the pack. Shallow-clone to a disposable directory, never into the project:
If the clone fails (network/proxy/credentials), report the exact error and stop — do not fabricate results.git clone --depth 1 https://github.com/<repo>.git <tmp>/<repo> - Follow the pack's own setup instructions. If the clone contains
agent-setup.md, read and follow it. Otherwise run the declared install script:
Before executing, tell the user what it will write (typically abash <tmp>/<repo>/<install_script> <PROJECT_ROOT>.drobotics/or.horizon/workspace plus routing rules injected intoCLAUDE.md/AGENTS.md) and get a final go-ahead. - Verify the install. Check the pack's declared artifacts exist, e.g. for OE-Skills-X5:
Report which checks passed and failed. On failure, show the failing command and its output, retry at most once, then stop and report.test -f <PROJECT_ROOT>/.drobotics/X5.md test -f <PROJECT_ROOT>/.drobotics/VERSION test -f <PROJECT_ROOT>/.drobotics/skill-index.json test -f <PROJECT_ROOT>/.drobotics/skills/x5-router/SKILL.md - Clean up. Remove the temporary clone. Tell the user to restart the agent session so the newly installed skills load.
Safety
- Never run
setup.sh(or any write) before the user confirmsPROJECT_ROOT. This is a hard gate. - Show what will be modified (
.drobotics/files,CLAUDE.md/AGENTS.mdrouting injection) and get a second confirmation before executing. - The installer itself is read-only apart from the clone (temporary dir) and the pack's own install script. No
sudo, no edits to files outside the confirmed project root. - Repeated installs are expected to be safe (the packs' setup scripts are documented as idempotent for routing injection), but verify before re-running.
- Network failures are terminal for this flow: report and stop.
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.

