x5-environment-setup
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
编排 X5 工具链环境探测和经确认的安装;当用户希望准备 OE Mapper、Plugin、Runtime 或板端 Python 环境时使用。先只读探测,再生成安装计划,只有明确授权后才交给 x5-environment-install;不安装 HAT。
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-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
- d-robotics-pack-installerSkill
The file
Files
X5 环境准备
目标与边界
把“环境准备”拆成事实探测和有审批的安装两个阶段。此兼容入口不把命令缺失自动解释为允许下载、安装、升级或替换共享 Runtime。
输入合同
- 目标工作流:PTQ、QAT、Runtime、Python API 或诊断。
- 发布包、容器、SDK、离线制品或板端连接信息(如已知)。
- 目标环境范围、可接受副作用、回滚要求和授权状态。
前置检查
- 先读取 X5 Pack 的兼容矩阵和风险策略。
- 确认目标是 X5;出现 X3、S 系列或 HAT 环境时停止混用。
- 默认调用
x5-environment-probe,不直接运行安装命令。
执行步骤
- 运行只读探测并生成
environment.json。 - 若状态为
ready,直接交接目标工作流。 - 若状态为
degraded,说明哪些能力可用、哪些仅缺可选工具。 - 若状态为
blocked,生成安装计划:制品来源、哈希、安装位置、空间、权限、副作用、验证和回滚。 - 只有用户明确确认计划后,交接
x5-environment-install;安装后必须重新 probe。
产物与完成标准
environment.json来自真实探测,不是根据手册推断。- 安装计划可审阅,包含来源与回滚;未授权时没有环境写入。
- 最终状态为
ready、degraded或带明确缺失项的blocked。
风险与确认
- probe 为低风险。
- 用户级安装为中风险;系统包、共享容器、Runtime 替换为高风险。
- HAT 包和 HAT Docker 环境不属于当前安装计划。
失败与交接
同一安装方案最多尝试两次。第二次失败后保存日志、包版本和回滚状态,交接 x5-model-diagnostics 或保持 blocked。
按需参考
.drobotics/platforms/x5/policies/compatibility.md.drobotics/docs/offline-artifact-delivery.md
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.

