Przejdź do treści
Biblioteka skilli
Inne · Automatyzacja

g1d-chess

/g1d-chess

Obsługuje robota Unitree G1 z chwytakami Dex1 do gry w chińskie szachy, planując ruchy, chwyty, bicia i przegląd wyniku po każdej turze.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
28.10.2026

Ocena i bezpieczeństwo

85/ 100Klasa: dobry
Format20 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
49
Skrypty
2
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 28.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
  • Paczka skrócona: część plików jest zbyt duża albo wykonywalna. Pełny folder jest w repozytorium.

Skrypty: scripts/capture_cameras.py, scripts/internal_service.py

Co robi i kiedy

Obsługuje robota Unitree G1 z chwytakami Dex1 do gry w chińskie szachy, planując ruchy, chwyty, bicia i przegląd wyniku po każdej turze.

Oryginalny opis (EN)

Operate a Unitree G1 with internal Dex1 grippers to play Chinese chess, including environment and site setup, robot service and waist hold, board annotation, turn planning, left/right-hand pick-and-place, capture sequences, checkpoint decisions, and post-turn review. Use when the user requests these robot chess tasks with this repository.

Jak działa

  1. Choose the task and references
  2. Single-turn workflow
  3. Actual capability boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 36 linii, 1 050 słów
Podgląd SKILL.md
---
name: g1d-chess
description: Operate a Unitree G1 with internal Dex1 grippers to play Chinese chess, including environment and site setup, robot service and waist hold, board annotation, turn planning, left/right-hand pick-and-place, capture sequences, checkpoint decisions, and post-turn review. Use when the user requests these robot chess tasks with this repository.
---

# G1-D Chinese chess control

English | [中文](SKILL.zh.md)

Use this skill directory as the working root. Use the user's Python environment with the dependencies installed and run `python scripts/…` directly. For independent tool calls, confirm the current interpreter or use its absolute path. All scripts, configuration, references, and models are located relative to this directory. Set the working directory and actual absolute paths explicitly in terminal calls; do not reuse shell variables, tokens, or robot state from another session.

Both internal Dex1 grippers default to opening direction `+1`: positive motor angles open the gripper, and `q=0` closes it. Keep this default for ordinary environment migrations; do not reverse it by hand side or make it a mandatory site measurement. Override it only when supported by a different hardware/firmware joint convention. Set the planned `gripper_open_q` to a positive magnitude; the service applies the direction sign before sending it. The client's `--q` takes the signed actual motor angle.

## Choose the task and references

- New device or unconfirmed environment: read the [README](README.md), [environment setup](docs/environment_setup.md), and [first-game setup](docs/first_game_setup.md). Prefer user-provided scene values compatible with the current coordinate frame, tools, and site. If the user provides no site data, estimate all scene fields using Section 5 of first-game setup; if only some values are supplied, fill the remaining fields. Combine available observations, robot/tool models, dimensional references, and reasonable assumptions. Record sources, estimation evidence, and uncertainty, then continue configuration and checks without making user-supplied values, field-by-field information requests, or additional confirmation prerequisites. Label estimates as estimates. Complete offline work first, then connect to hardware only within the current task's authorization.
- Only establish/reuse the service, hold the waist, or check init: read Sections 0.1.2, 0.1.3, and 4 of the [operation manual](docs/operation_manual.md), and use `scripts/start_service.sh` and `scripts/robot_client.py`. Stop after the requested scope; do not automatically play a turn.
- Annotate a new board: read [board_position](board_position/README.md) and its [annotation task](board_position/prompts/mark_board.md), and use `scripts/mark_board.py`. The output is pixel data for 90 intersections in the current image, not robot coordinates or hand-eye calibration.
- Execute a turn: first read [round_plan](prompts/round_plan.md) and the [runtime interface and implementation limits](docs/runtime.md), then follow the workflow below. Obtain exact commands and fields from the [operation manual](docs/operation_manual.md) and [script inventory](docs/round_script_inventory.md) as needed, before starting motion.
- Interruption, timeout, or user-requested retreat: first read Section 9 of the operation manual and the runtime guide, then inspect the actual session, transaction result, and state. Interrupting the execute client does not mean the robot action has been cancelled. Do not blindly resend execute, restart the service, or reuse an old token.

The current user instruction defines the task scope; retain existing execution authorization for this turn. Reading documentation, organizing the repository, or performing offline checks does not authorize starting the service or moving the robot.

## Single-turn workflow

1. Confirm dependency and site setup, the skill's `ROOT`, a single service instance, the physical executing hand, and waist hold. If each arm's current end effector is within 10 cm in 3D of its own init, omit repeated initialization before starting. Still use the current state as the new plan's start.
2. Capture only one fresh `cam_left_high` planning image and state from the same batch. Confirm the full board, side to move, and Black's actual move. Resolve square names using [board and move conventions](prompts/board_and_move_conventions.md). If a compatible current prediction exists, first match it using the [forecast rules](docs/move_forecast.md); only if it is invalid, call the installed engine again and validate with pyffish.
3. Choose the preferred hand from the source file: a–d left, e–i right. Independently estimate this turn's source/target XYZ, RPY, and clearance from neighboring pieces. The actual gripper opening after opening at the high position must still cover the graspable region; do not copy the source offset to the target. Fully preflight the preferred hand first. Re-estimate and preflight the other hand only when the preferred hand is genuinely unreachable.
4. Use `scripts/round_tools.py` or `scripts/round_tools_left.py` to create this turn's `runs/` directory, build, and extract submission files. For an ordinary move, issue execute once after full preflight. For a capture, combine removal of the captured piece and movement of the friendly piece into one sequence for preflight and one execute call; continue directly into the second segment after the first segment releases.
5. Keep the long-running execute session alive. In another call, handle checkpoints with `scripts/serial_checkpoint.py next/submit`. Base each decision and submission only on that checkpoint's head image and the physical executing hand's wrist image. Perfect centering is not required; a grasp may be attempted when the piece is graspable and neighboring clearance is sufficient. If XY is inadequate, return to the high position. If XY permits grasping and only contact height is insufficient, use the automatic 5 mm `adjust_z` according to round_plan. Source-high and target-low XY adjustment each allow at most three attempts; on the third attempt, proceed according to the current workflow. Consult runtime for implementation differences; do not claim that a manual requirement is a service capability.
6. At release, use the current wrist image to check the expected landing point against the target intersection, neighboring pieces, and unobstructed drop space. After motion, perform only two reviews: use a fresh head image to judge success/offset; use `scripts/review_pose_audit.py` and `scripts/xy_error_history.py finish` to record FK errors for the two events and combine them with the visual conclusion. `placed`, small FK errors, or command acceptance cannot replace confirmation of the actual landing square.

At an ordinary finish, return the executing arm to its own init, keep the other arm at this turn's pose, disable arm control, and retain waist hold. Release waist hold or shut down the service only as explicitly requested for this task. Camera stream names do not necessarily match the physical hand side; use site configuration and this token's `camera_order/camera_selection`.

## Actual capability boundaries

The repository provides planning, service, and image-capture entry points. The main agent session remains responsible for viewing images, orchestrating move selection, estimating positions, and six-/seven-field evaluation. There is no automatic orchestrator such as `play_one_round.py`. Models, templates, and offline tests do not establish accurate grasping on a new device or replace site measurements, full-plan preflight, or actual hardware fault handling.

Report the actions actually completed, the final visual conclusion, available errors, and this turn's artifact paths. Record missing images, snapshots, or execution results explicitly; do not fabricate a successful move or hardware validation.
Pliki w paczce (49)
  • .env.example 1 KB
  • README.md 7 KB
  • README.zh.md 5 KB
  • SKILL.md 8 KB
  • SKILL.zh.md 6 KB
  • requirements.txt 1 KB
  • assets/models/README.md 1 KB
  • assets/models/README.zh.md 1 KB
  • assets/models/g1/.gitignore 1 KB
  • assets/models/g1/README.md 2 KB
  • assets/models/g1/README.zh.md 2 KB
  • assets/models/g1/g1_body29.xml 24 KB
  • assets/models/g1/g1_body29_hand14.urdf 51 KB
  • assets/models/g1/g1_body29_hand14.xml 37 KB
  • assets/models/g1/meshes/head_link.STL 911 KB
  • assets/models/g1/meshes/left_ankle_pitch_link.STL 70 KB
  • assets/models/g1/meshes/left_ankle_roll_link.STL 638 KB
  • assets/models/g1/meshes/left_elbow_link.STL 87 KB
  • assets/models/g1/meshes/left_hand_index_0_link.STL 465 KB
  • assets/models/g1/meshes/left_hand_middle_0_link.STL 465 KB
  • assets/models/g1/meshes/left_hand_thumb_0_link.STL 9 KB
  • assets/models/g1/meshes/left_hand_thumb_1_link.STL 465 KB
  • assets/models/g1/meshes/left_hip_pitch_link.STL 177 KB
  • assets/models/g1/meshes/left_hip_roll_link.STL 188 KB
  • assets/models/g1/meshes/left_hip_yaw_link.STL 289 KB
  • assets/models/g1/meshes/left_knee_link.STL 835 KB
  • assets/models/g1/meshes/left_shoulder_pitch_link.STL 173 KB
  • assets/models/g1/meshes/left_wrist_pitch_link.STL 84 KB
  • assets/models/g1/meshes/right_ankle_pitch_link.STL 70 KB
  • assets/models/g1/meshes/right_hand_thumb_0_link.STL 9 KB
  • assets/models/g1/meshes/waist_roll_link.STL 24 KB
  • assets/templates/capture_spec.json 1 KB
  • assets/templates/evaluation.adjust.json 1 KB
  • assets/templates/evaluation.adjust_z.json 1 KB
  • assets/templates/evaluation.failure.json 1 KB
  • assets/templates/evaluation.pre_release.adjust.json 1 KB
  • assets/templates/evaluation.pre_release.success.json 1 KB
  • assets/templates/evaluation.retry_high.json 1 KB
  • assets/templates/evaluation.success.json 1 KB
  • assets/templates/round_spec.json 1 KB
  • board_position/.gitignore 1 KB
  • board_position/README.md 6 KB
  • board_position/README.zh.md 5 KB
  • board_position/requirements.txt 1 KB
  • config/board_parameters.json 1 KB
  • config/cam_config_client.example.yaml 1 KB
  • config/chess_camera_policy.json 1 KB
  • scripts/capture_cameras.py 1 KB
  • scripts/internal_service.py 1 KB

Pominięte w paczce: 149 (zbyt duże albo wykonywalne), są w repozytorium.

Wersje

W bazie nie ma innych skilli o nazwie g1d-chess.

Migawka bazy z 13.11.2026 · wersja paczki 372eff4ca951 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 86chess
    Gra z użytkownikiem w szachy z wbudowanym silnikiem, podpowiada ruchy i analizuje partię przez narzędzia MCP.
  • 100lawbchess
    Pozwala agentowi grać w szachy na lawb.xyz/chess z zakładami on-chain: wyzwanie Clawb, turnieje, widzowie, konfiguracja portfela, tworzenie gier, protokół ruchów i depozyt zakładów.
  • 90chess-improvement
    Pomaga poprawić grę w szachy przez trening wzorców taktycznych, podstawy końcówek i analizę własnych porażek z silnikiem, gdy rating przestał rosnąć.
  • 95g1d-draw
    Planuje malowanie obrazów referencyjnych robotem Unitree G1-D, mierzy farby i papier, kompiluje zadania i uruchamia je na urządzeniu.
  • 85rob-510-send-a-robot-on-a-task
    Wysyła robota mobilnego na zadanie: dobiera model do ładunku i naładowania, sprawdza wolne miejsce i raportuje tylko to, co potwierdził robot.
  • 100robot-reel-review
    Sprawdza zapisaną klatkę ruchu robota Microduck, wyjaśnia zmierzone kąty stawów, cele polityki i ograniczenia symulacji.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.