Rosclaw 标志

Rosclaw

组织
ros-claw
rosclaw

Use when operating, validating, or changing ROSClaw physical-AI runtime workflows, especially CLI smoke tests, Practice evidence loops, body/runtime checks, MCP integration, MuJoCo sandbox verification, and safe ROS or hardware boundaries.

概览

发布者ros-claw
代码仓库rosclaw
技能名称rosclaw
星标数
230
复刻数
32
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 ros-claw 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Rosclaw AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ros-claw/rosclaw/tree/main/.agents/skills/rosclaw
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ros-claw/rosclaw.git /tmp/rosclaw
mkdir -p .claude/skills
cp -r /tmp/rosclaw/.agents/skills/rosclaw .claude/skills/rosclaw
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Rosclaw,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Rosclaw。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Rosclaw 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

ROSClaw Agent Skill

Use this exact launcher for every ROSClaw CLI command: .venv/bin/python -m rosclaw.entrypoint. Do not replace it with a different rosclaw found on PATH.

Safety

  • Treat ROSClaw as physical-AI infrastructure. Do not publish ROS topics, actuate hardware, run real robot skills, or mutate a live workspace directly, even when a user asks for that specific action.
  • Prefer dry-run, read-only, mock, fixture, simulation, or temp-workspace commands for validation.
  • Use a temporary ROSCLAW_HOME for CLI smoke tests that write persistent state.
  • Prefer --json for machine checks, then validate the JSON parses.
  • The only Agent-side action entry is MCP request_action, backed by rosclawd. Never instantiate a local Runtime or register a hardware driver/executor from the Agent process.
  • REAL actions require an immutable body snapshot, a daemon-issued capability- and action-intent-bound permit, and a registered verified REAL executor. Refuse direct ROS, DDS, serial, CAN, SDK, or motor commands.

Capability First (Skill Runtime 2.0)

Before solving a system, robot, environment, device, perception, navigation or manipulation task ad-hoc:

  1. Call MCP resolve_capability(intent) (or .venv/bin/python -m rosclaw.entrypoint skill search "<intent>").
  2. Prefer an applicable verified capability/skill over hand-rolled commands.
  3. Use generic tools only when no capability exists, the capability is incompatible, or it failed after its recovery path.

Never guess skill names: state the goal ("帮我安装 ROS2") and let the resolver pick the implementation. Host-domain skills execute only through typed HostOps plans with plan-hash approval — never improvise sudo apt install ... / curl ... | bash in a shell. When the sandboxed shell refuses a host mutation, treat it as a signal to call resolve_capability first, not as a prompt to work around the sandbox. Sudo authentication is a local-TTY operator step; never ask for, accept, or log a sudo password.

First Checks

bash
.venv/bin/python -m rosclaw.entrypoint doctor --json
.venv/bin/python -m rosclaw.entrypoint status capabilities
.venv/bin/python -m rosclaw.entrypoint daemon status --json
.venv/bin/python -m rosclaw.entrypoint demo list
.venv/bin/python -m rosclaw.entrypoint demo run ur5e-reach
.venv/bin/python -m rosclaw.entrypoint explain latest
.venv/bin/python -m rosclaw.entrypoint agent doctor universal --project-root .
.venv/bin/python -m rosclaw.entrypoint agent test universal --project-root . --quick --mcp-probe

For daemon status, require running and ledger.integrity_verified to be true; require ledger.write_failed, recovery.required, and emergency_stop_latched to be false. Production REAL work also requires supervision_state=ARMED, privilege_separated=true, and .venv/bin/python -m rosclaw.entrypoint daemon security-check --json with boundary_ready=true, daemon_uid_pinned=true, and ledger_state_private=true; same-UID development proves only process separation. Read an existing durable result with .venv/bin/python -m rosclaw.entrypoint daemon action-status <ACTION_ID> --json and .venv/bin/python -m rosclaw.entrypoint daemon receipt <ACTION_ID> --json. Do not use daemon acknowledge-recovery as Agent automation: it is an operator incident-review command and does not clear E-stop or prove physical state.

Robot Integration Workflow

Robot Integration installation/configuration is a CLI lifecycle around the MCP runtime. It is not an additional MCP tool surface.

bash
.venv/bin/python -m rosclaw.entrypoint robot discover --json
.venv/bin/python -m rosclaw.entrypoint robot install realsense --json
.venv/bin/python -m rosclaw.entrypoint robot verify realsense --stage contract --json
  • robot install verifies and installs the signed contract. Pass --install-adapter only when the operator explicitly authorizes dependency installation in the selected Python environment.
  • Bind a discovered device with robot configure only when an exact model and stable serial are available. --allow-offline creates configuration, never hardware evidence.
  • A read-only hardware check requires a configured instance and canonical rosclawd receipt. Treat local success as candidate evidence; never promote product support or claim physical success from CLI text alone.
  • Do not call the vendor SDK directly. Runtime device access stays behind MCP request_action and the daemon boundary.

Capability App Workflow

bash
.venv/bin/python -m rosclaw.entrypoint app list
.venv/bin/python -m rosclaw.entrypoint app validate realsense-inspect --json
  • Apps call named Capabilities only. They do not install drivers, issue permits, arm rosclawd, or authorize direct hardware access.
  • Run SHADOW first with app run <APP> --body <BODY> --mode SHADOW --json. Treat a local success as component evidence, never an independent hardware or Agent verification claim.

Practice Evidence Loop

Use fixture-based Practice workflows before touching real robots:

bash
TMP=$(mktemp -d /tmp/rosclaw-practice.XXXXXX)
export ROSCLAW_HOME="$TMP/home"
.venv/bin/python -m rosclaw.entrypoint practice record --fixture tests/fixtures/practice/rh56_minimal_loop.json --out "$TMP/practice" --json
.venv/bin/python -m rosclaw.entrypoint practice verify practice_rh56_minimal_loop --data-root "$TMP/practice" --strict --json
.venv/bin/python -m rosclaw.entrypoint practice distill practice_rh56_minimal_loop --data-root "$TMP/practice" --json

MCP Contract

  • Expected P0 tools: get_robot_state, list_skills, query_memory, validate_trajectory, sandbox_run, practice_query, emergency_stop, get_body_profile, get_body_state, list_body_capabilities, query_body, validate_body_action, get_calibration_status, get_runtime_status, request_action, get_action_status, cancel_action, get_product_status, list_product_demos, run_product_demo, get_execution_receipt, explain_execution.
  • run_product_demo executes an official MuJoCo path and persists an integrity-checked ExecutionReceipt; it never commands real hardware.
  • Use get_execution_receipt and explain_execution instead of inferring success from text output.
  • sandbox_run is simulation-only. If no physics state is available, treat the result as degraded rather than live.
  • validate_trajectory can approve a plan, but it does not authorize direct hardware execution.
  • request_action sends an unapproved envelope to rosclawd; only the daemon may turn a matching server-issued permit into authorization.
  • cancel_action never claims that active physical motion stopped. Use emergency_stop and the certified hardware E-stop when motion may be active.

LeRobot Bridge Workflow

Operator setup

These are operator workflows. Do not install dependencies unless explicitly requested.

bash
.venv/bin/python -m rosclaw.entrypoint setup lerobot --reference-policy rh56
.venv/bin/python -m rosclaw.entrypoint lerobot doctor --json

Read-only Agent discovery

Use MCP tools:

  1. get_product_status
  2. get_runtime_status
  3. get_body_profile
  4. get_body_state
  5. get_calibration_status
  6. list_body_capabilities

SHADOW request

Submit through request_action with execution mode SHADOW. Poll with get_action_status. Read the final result with get_execution_receipt. Explain it with explain_execution.

REAL request

Submit the exact requested action through request_action. The Agent does not issue or approve a Permit. If rosclawd reports AUTHORIZATION_REQUIRED, stop and explain the missing authorization. Never fall back to shell, serial, CAN, ROS topic, MCP driver, or vendor SDK execution.

Dataset workflow

For non-physical data operations, use the ROSClaw CLI:

bash
.venv/bin/python -m rosclaw.entrypoint practice verify <PRACTICE_ID> --strict --json
.venv/bin/python -m rosclaw.entrypoint practice export   --practice-id <PRACTICE_ID>   --format lerobot   --profile physical   --output <OUTPUT_DIR>   --json

Unsupported requests

Training, DAgger, reward models, Hub publishing, arbitrary-policy robot mapping, CAN RH56 execution, open-loop chunks, and unattended execution are outside LeRobot Bridge v1.0.1.

Decision table

User intentAgent should doAgent must not do
"Is LeRobot installed?"get_product_status + get_runtime_statusimport lerobot
"Can I use the RH56 now?"body/profile/state/calibration/capability toolsopen the serial port
"Preview what it would do"request_action(SHADOW)run rollout execute directly
"Do the real OK gesture"request_action(REAL), wait for rosclawdself-issue a Permit
"Try it without authorization"refuse and explain AUTHORIZATION_REQUIREDswitch to serial commands
"Did it succeed?"get_action_status + receipt + explain_executionguess success from text
"Export data for training"practice verify / exporttrain automatically
"Control RH56 with any VLA"explain v1.0.1 supports only the reference contractguess mapping by action_dim
"Control RH56 over CAN"explain CAN is fail-closed unsupportedreuse RS485 mapping on CAN

常见问题

Rosclaw AI 技能有什么作用?

Use when operating, validating, or changing ROSClaw physical-AI runtime workflows, especially CLI smoke tests, Practice evidence loops, body/runtime checks, MCP integration, MuJoCo sandbox verification, and safe ROS or hardware boundaries.

为什么在 TypingMind 中使用 Rosclaw?

因为您只需安装一次,就能搭配任何模型使用。Rosclaw 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Rosclaw?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ros-claw/rosclaw/tree/main/.agents/skills/rosclaw。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Rosclaw?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Rosclaw 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Rosclaw 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Rosclaw AI 技能免费吗?

是的。ros-claw 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇