Logo Rosclaw

Rosclaw

Tổ chức
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.

Tổng quan

Nhà phát hànhros-claw
Kho mãrosclaw
Tên kỹ năngrosclaw
Sao
230
Bản fork
32
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được ros-claw công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Rosclaw trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ros-claw/rosclaw/tree/main/.agents/skills/rosclaw
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Rosclaw trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Rosclaw ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Rosclaw với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Rosclaw làm được gì?

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.

Vì sao nên dùng Rosclaw trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Rosclaw là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Rosclaw trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ros-claw/rosclaw/tree/main/.agents/skills/rosclaw. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Rosclaw?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Rosclaw với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Rosclaw với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Rosclaw có miễn phí không?

Có. Kỹ năng này được ros-claw phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇