360 Secure SkillHub
360 安全技能中心

Unitree Hermes Colab

核心功能:构建或审阅带安全门限的Google Colab工作流,安装Hermes Agent,克隆指定Unitree机器人仓库,生成只读分析产物并设安全审查关卡。典型场景:仿真运行手册生成、日志分诊、贡献规划、遥操作预检等。输入为配置参数及可选模型密钥,输出为Markdown报告、JSON审查文件等,严格禁止实机控制,记录环境版本保障可复现。

zack-dev-cm
zack-dev-cm
热度 23.84
最近更新 2026-06-06 14:11:28
分类:开发依赖:代码执行 / 读写文件 / 第三方 API / MCP 服务 / 内部调用大模型应用场景:代码生成 / 代码审查 / 自动化脚本 / DevOps ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add unitree-hermes-colab
Metadata
name
unitree-hermes-colab
description
Build or review a safety-gated Google Colab workflow that installs Hermes Agent and uses it for read-only Unitree Robotics repository analysis, simulation runbooks, log triage, and contribution planning. Use for Unitree, Hermes Agent, Colab, robot-safety, or Codex-skill tasks; do not use for live robot control.
metadata
{"openclaw":{"homepage":"https://github.com/zack-dev-cm/unitree-g1-colab-ik","skillKey":"unitree-hermes-colab","requires":{"bins":["git"],"anyBins":["python3","python"]},"envVars":[{"name":"OPENAI_API_KEY","required":false,"description":"Optional model provider key for Hermes Agent runs."},{"name":"OPENROUTER_API_KEY","required":false,"description":"Optional model provider key for Hermes Agent runs."},{"name":"NOUS_API_KEY","required":false,"description":"Optional Nous provider key for Hermes Agent runs."}]}}

Unitree Hermes Colab

Goal

Create or review a Colab notebook that makes Hermes Agent useful for Unitree work without pretending Colab is a safe robot-control host. The notebook should install or check Hermes, clone selected Unitree repositories, generate read-only artifacts, and show clear pass/fail review gates.

Hard Boundaries

  • Do not execute robot-control commands from Colab.
  • Do not publish DDS, ROS, motor, sport-mode, or low-level commands.
  • Do not SSH, SCP, tunnel, or scan Unitree robot LAN addresses such as 192.168.123.0/24.
  • Do not claim physical hardware validation unless the user provided external evidence.
  • Put risky local-host commands in quoted runbooks for a human to review and run on the correct machine.
  • Hermes one-shot execution must be opt-in. It is acceptable to install Hermes and prepare prompts by default.

Build Workflow

  1. Keep one configuration block near the top of the notebook or runner: INSTALL_HERMES, RUN_HERMES_AGENT, CLONE_UNITREE_REPOS, PROVIDER, MODEL, and output directory.
  2. Record runtime versions: Python, platform, GPU/CUDA when present, Hermes CLI status, and cloned repo commit SHAs.
  3. Clone only important Unitree repositories by default: unitreerobotics/xr_teleoperate, unitree_sdk2_python, and unitree_mujoco.
  4. Write a local AGENTS.md safety file before any optional Hermes run.
  5. Generate these use cases at minimum: simulation runbook, teleoperation preflight checklist, log triage, contribution scouting, and IK evidence review.
  6. Render user-facing outputs as a report: cards, repository map, flow visualization, review gates, references, and saved artifacts.
  7. Save unitree-hermes-report.md, unitree-hermes-review.json, AGENTS.md, and a flow visualization.

Output Standards

  • Do not leak meta-instructions like "Notebook organization" into the report. Use user-facing labels such as "Review gates", "Runtime", "Use cases", and "References".
  • Keep references limited to important sources: Hermes Agent, Hermes docs, Unitree repositories, and Codex skills/subagents when the artifact includes a Codex skill.
  • Include a critical usefulness score. Good default framing: high value for setup review and log triage, low value for live robot control.
  • Mark skipped Hermes execution clearly when no provider key is present or RUN_HERMES_AGENT is false.

Validation

Run the project checks when working in this repo:

python3 -m py_compile src/unitree_colab_ik/hermes_lab.py src/unitree_colab_ik/hermes_cli.py notebooks/run_unitree_hermes_agent_lab.py
python3 -m json.tool notebooks/unitree_hermes_agent_lab.ipynb >/dev/null
python3 -m compileall -q src tests
python3 skill/unitree-hermes-colab/scripts/check_lab_artifacts.py <path-to-unitree-hermes-review.json>

Run tests if pytest is available:

python3 -m pytest tests/test_hermes_lab.py

Subagent Review

Use Codex subagents only when the user explicitly asks for parallel/subagent review. Keep them read-heavy. Good split:

  • safety reviewer: checks no robot-control execution path exists
  • notebook reviewer: checks clean-runtime reproducibility and visible outputs
  • contribution reviewer: checks whether the Unitree/Hermes use cases are genuinely useful and small enough to publish

The main agent should wait for summaries and integrate findings. Avoid parallel write-heavy edits unless the user explicitly requests that.