Logo Disassembling A Brick By Twist Lever

Disassembling A Brick By Twist Lever

Tổ chức
runtime-si
disassembling-a-brick-by-twist-lever

Removes a seated LEGO or DUPLO brick with a parallel gripper and no force sensor - ICL's disassembly twist (grip, seat the grip, rotate 14 deg about one bottom edge so the stud rows let go one at a time, lift 15 mm with the twist kept), the edge being the one under a finger, commanded in small steps and read back so tracking lag (or joint effort) tells a brick that holds from one that lets go; with a straight pull and a wiggle (alternate small levers about both edges) as strategies and fallbacks, a regrasp after a slip, and the wrist depth camera reading the seat and its neighbouring cells before and after. Use when a brick must come off a baseplate or another brick at a cell known from the stud grid (computing-brick-pose-from-stud-grid's seat).

Tổng quan

Nhà phát hànhruntime-si
Kho mãRoboSkillHub
Tên kỹ năngdisassembling-a-brick-by-twist-lever
Sao
242
Bản fork
27
Tệp đi kèm
2
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ộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được runtime-si 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 Disassembling A Brick By Twist Lever 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/runtime-si/RoboSkillHub/tree/main/skills/disassembling-a-brick-by-twist-lever
  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/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/disassembling-a-brick-by-twist-lever .claude/skills/disassembling-a-brick-by-twist-lever
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 Disassembling A Brick By Twist Lever 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 Disassembling A Brick By Twist Lever 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 Disassembling A Brick By Twist Lever 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.

disassembling-a-brick-by-twist-lever

Take a seated brick off its studs with a parallel gripper and no force sensor: pry it about one bottom edge so the far stud row lets go before the near one, then lift. A straight pull is the fallback, a wiggle the option for bricks that hold; the wrist depth camera decides whether the brick came off.

How it composes

  • Before it: the seat. seat_position is the world centre of the brick's bottom face (the top of the plate or brick under it, without studs) and seat_yaw_deg its row heading: computing-brick-pose-from-stud-grid's seat_position / seat_yaw_deg / brick_studs / system outputs plug in directly (layer 1 is a brick on the plate). Refine the seat from a wrist close-up first if the plate calibration is a few millimetres off.
  • After it: removed holds the brick at the clearance height. In the twin the brick then hung turned in the fingertips (38-40 deg, its centre 5-10 mm off the tool centre): measure the held brick again (registering-held-objects / perceiving-objects) before pressing-a-brick-onto-studs places it. stuck / slipped leave the brick on the seat with the jaws open over it: retry with strategy: wiggle, a deeper grasp_depth, or pin the structure with the other arm (holding-steady-while-other-arm-acts). neighbour_lifted still holds what came off: put it back or re-perceive the build.

The motion

  1. Look before. Aim the wrist camera straight down at the seat from 0.20 m (then 0.25 m, then with the hand's own rotation), IK-preview and clearance-gate each view, and read depth at points on the brick's top between its studs and at the stud centres of the cells around it. A seat that reads half a brick height low has no brick: missed, nothing gripped.
  2. Grasp (computing-brick-pose-from-stud-grid's grasp): top-down, the jaws across the short side (close_axis), the fingertips grasp_depth under the top (DUPLO 13 mm, LEGO 5 mm, 6 mm for 1-wide), from robot.grasp_frame where served (rotation, then the flipped one) after an IK preview of the grasp and of its hover 4 cm up. Hover, turn the jaws onto the faces if they are more than 2 deg off (finishing on the last joint where the arm's solver leaves the wrist roll free), descend in fine steps folding in what the hand misses by in the plane, close (robot.set_grip to the brick's width less 2 mm, else robot.close_gripper), and press 1 mm down to seat the grip (ICL descends 2.8 mm into its grab pose with its own tool). The open jaws stopping 3 mm over the grasp, or closing past the brick's width, is missed.
  3. strategy: lever (ICL's disassembly twist): rotate the hand about the brick's bottom edge under one finger (pivot_side; auto tries the edge whose whole motion passes the IK preview first) by twist_deg (14, ICL's Twist_Deg) in twist_step_deg (2 deg) fine steps, then lift lift_height (15 mm, ICL's mode 5) keeping the tilt, along the brick's own tilted axis (lift_along: brick; vertical is ICL's world-z lift, which stalled in the twin, see the constants). straight: lift lift_height straight up in quarter-stud-height steps. wiggle: lever about each edge in turn to half of wiggle_deg and back, then to all of it and back, then lift straight.
  4. Feel it (no force sensor): every fine step is read back. A step is loaded when the hand stands lag_threshold further behind its command than in free motion (half a step by default), or where the observation carries joint efforts, when one jumps over max(0.5 N.m, 4 sigma) (detecting-contact-from-joint-effort's test). Held is loaded and advancing less than half the step, or the tilt reading 4 deg short; three held steps in a row stop the strategy (stuck if it was the last). A load that clears is a release - the studs letting go - but only once the jaws are known to still hold the brick: a fingertip slide clears the load the same way.
  5. After a strategy: rise to the clearance, level the hand, read the jaws. Empty jaws are slipped (regrasp and the next strategy, unless regrasp_on_slip: false). Otherwise look again: the seat more than half a brick height low is removed; more than 1.5 low means the brick under it came too, and a neighbouring cell moving more than max(half a stud height, 2 mm) between the two looks is neighbour_lifted; the brick still reading on its seat is slipped.
  6. Fallbacks: fallbacks (default straight after a lever or wiggle) run after stuck, slipped or a refused step, from the grasp. When every strategy has failed the jaws open over the seat and the hand rises.

Inputs

  • seat_position (required), seat_yaw_deg (0), brick_studs ([2, 2]).
  • system: duplo (default; 16 mm pitch, 9.4 mm studs 4.5 mm high, 19.2 mm bricks) or lego (8 mm, 4.8 mm, 1.7 mm, 9.6 mm); stud_pitch, stud_height, stud_diameter, brick_height override it.
  • strategy (lever, straight, wiggle), fallbacks (a list or a comma-separated string; "" for none), pivot_side (auto, +, -: the edge under the finger on the jaws' +y / -y side), close_axis (short, long, x, y), twist_deg, twist_step_deg, wiggle_deg (defaults to twist_deg), lift_height, lift_along, approach_height, grasp_depth, seat_press, grip_squeeze.
  • tip_reach or hand.tip_reach_m: how far the closed fingertips reach past the tool centre; else robot.describe_gripper's finger.reach_m (10.2 mm on a YAM linear_4310, for example); with neither, hand_geometry_unknown.
  • lag_threshold: default half a step, the twin's; on a real YAM set it from a free-air run (its free lag is millimetres).
  • regrasp_on_slip (true), verify (true), compare_before (true), camera, check_reach, reach_tolerance, yaw_tolerance_deg, roll_limits, arm_id (passed only when nonzero). The fine-move knobs (tolerance, max_steps) are passed only to connectors that take them.

Outputs

route, detail, strategy (the last tried), attempts, attempt_log, pivot_side (+x/-x/+y/-y in brick axes, both for wiggle), twist_deg (the tilt read back), peak_lag (the largest lag over the free baseline, m), releases / release_count (where loads cleared with the brick still held: strategy, tilt, height of the hand over its start), seat_lag (how far the 1 mm grip press stood short), holding, top_height_change (the seat's depth reading after, minus the brick's top), neighbour_change, samples, verified_by (wrist_depth or empty).

Simulation check

Run on a YAM station twin (left arm, linear_4310 fingers, the real station's wrist D405 pose and intrinsics) with a fixed 4 x 4 DUPLO baseplate and a free 2 x 2 DUPLO brick (31.8 x 31.8 x 19.2 mm, 8 g, friction 0.8) seated on its four central studs, layer 1. The skill got the true seat (or one 2 mm off), system: duplo, no fallbacks unless said; ground truth (the brick's box and which studs still hold) was read by the harness after each trial, never by the skill.

How the stud clutch is approximated. The twin has no interference fit, so the clutch is an added force, not contact:

  • Each of the brick's four sockets is held by a constant downward force of F newtons (the per-stud force in the table) applied at the socket's bottom centre, every physics substep, while that point has risen less than 4.5 mm (the DUPLO stud height) over its seated height. Once it has risen past that, the stud lets go for good. The force is the same at 0.1 mm and at 4.4 mm of rise, and there is none after.
  • So a straight pull has to beat 4F at once; a lever lifts the far row out first (in the harness it lets go at about 11 deg about the near bottom edge) while the near row rises 0.7-1.7 mm, and the lift then pulls 2F.
  • The plate's studs render 4.5 mm high (what the wrist depth reads) but collide only 1.5 mm high, the brick's walls 0.1 mm and its tube 0.3 mm off them: with rigid 4.5 mm studs the far wall's inner corner jams on the far studs at about 5 deg, where a real wall flexes.

Lever against straight pull (two runs of 8 trials: the current script, and one before the baseline-creep guard and the slip wording, with the same routing):

force per stud (total)leverstraight pullwiggle
1.5 N (6 N)removed 1/1removed 1/1-
2.5 N (10 N)removed 4/4 (2 of them with the seat 2 mm off)slipped 2/2removed 1/1
4.0 N (16 N)slipped 1/1slipped 1/1stuck 1/1
6.0 N (24 N)slipped 2/2 (one with the straight fallback, slipped too)slipped 1/1stuck 1/1
  • The route agreed with the harness's ground truth in 16 of 16 trials: every removed had all four studs released and the brick in the hand, every slipped / stuck left it seated (within 0.9 mm and 1.2 deg).
  • The lever removed the brick up to 2.5 N a stud, where the straight pull already slipped (its studs rose 0.4-2.2 mm before the fingertips slid off). At 4 N the lever brought the far row to 4.39 mm of the 4.5 mm and the grip slid; at 6 N, 3.7-3.9 mm.
  • Every lever and straight-pull failure was the fingertips sliding off the brick. The wiggle stalled (stuck) at 4 and 6 N with all four studs still engaged after 3.4-4.1 mm of rise: its alternate levers walk both rows up without letting either out.
  • On success the load cleared with the tilt at 14 deg, 7-11 mm into the lift; the peak lag over free motion was 2.7-3.7 mm. A straight pull at 1.5 N lifted the brick without a load that cleared (its lag never fell back under the threshold before the clearance).
  • The wrist depth read the empty seat 19.2 mm under the brick's top over 10-12 points every time, and the neighbouring cells within 0.12 mm.
  • After removed the brick hung 38-40 deg turned in the fingertips, its centre 5-10 mm off the tool centre.
  • An earlier version that stopped on lag alone (no progress test) called both a lever and a straight pull at 2.5 N stuck on 0.9-1.3 mm of lag.

Limits

  • The clutch is not a real clutch. The twin's stud force is a constant per stud over its engagement (see above), not a measured interference fit, and real LEGO/DUPLO walls flex where the twin's are rigid with low studs. Which strategy wins on real bricks, and at what force, is not established here.
  • The grip is the limit. Every lever and straight-pull failure in the twin was the fingertips sliding, never the arm running out of force; on a real YAM the same is likely (small tapered fingertips, 13 mm into a DUPLO wall). Rubber pads or a deeper grasp may help (not tested); a 1-wide LEGO brick may not take a lever at all.
  • Lag on a real YAM is millimetres in free air (detecting-contact-from-joint-effort measured 5.4 mm): the default threshold is the twin's 0.56 mm; pass lag_threshold from a free-air run, or rely on joint efforts where the connector reports them.
  • Releases are the hand's, not the bricks'. A release is a load that cleared while the jaws still hold something; what came off is decided only by the wrist depth after.
  • The brick turns in the jaws after a lever: re-measure before placing it.
  • neighbour_lifted only sees cells beside the brick (and the one under it): a structure that rocked and settled back elsewhere is not checked.
  • Not run on a real YAM.

The constants, and why

  • TWIST_DEG = 14: ICL's Twist_Deg (config/user_config.json). TWIST_STEP_DEG = 2: under a millimetre of tool travel per step on a DUPLO grasp, so a load is read before the grip is loaded much (ICL also twists in increments, incremental_deg).
  • LIFT_HEIGHT = 0.015: ICL's mode 5. ICL lifts along world z; in the twin a vertical lift of a DUPLO brick levered 14 deg stalled within 3 mm (lag 4.3 mm, the near wall driven into the near studs), hence lift_along: brick.
  • SEAT_PRESS = 0.001: a parallel grip slides along the brick under ICL's 2.8 mm.
  • GRASP_DEPTH, APPROACH_HEIGHT = 0.04, GRIP_SQUEEZE = 0.002: computing-brick-pose-from-stud-grid's and the press skill's.
  • FEEL_STEP_FRACTION = 0.25, LAG_FRACTION = 0.5, FINE_TOLERANCE = 0.0003, FINE_MAX_STEPS = 90: the press skill's.
  • STALL_STEPS = 3, STALL_PROGRESS = 0.5: a load alone is not a stall: in the twin a 5 N pull stood the hand 0.75-0.95 mm behind its command while it kept advancing a full step; an earlier version that stopped on lag alone called a brick that would have come off stuck.
  • BASE_CREEP_FRACTION = 0.5: without it a load that builds a few tenths of a millimetre per step is folded into the free-motion baseline and never read (found by the unit tests' clutch).
  • ROT_STALL_DEG = 4: a servo calls a rotation arrived within 3 deg.
  • GONE_FRACTION = 0.5, BELOW_FRACTION = 1.5, RING_CHANGE_FRACTION = 0.5, MIN_RING_CHANGE = 0.002, INNER_FRACTION = 0.25: half a brick height separates "brick there" from "plate there"; a neighbour moving half a stud height (or 2 mm, above depth noise at 20 cm) is real; the seat's centre points avoid sight lines grazing the empty seat's rim.
  • HOLD_MARGIN = 0.001: the twin's empty jaws close to the width less the squeeze.
  • VIEW_RANGES, MIN_VIEW_CLEARANCE, the depth window and limits: refining-target-from-wrist-closeup's, via the press skill.

Provenance

Adapted from ICL's Robotic_Lego_Manipulation (MIT; Liu, Sun, Liu, arXiv:2309.02354): the disassembly pick of lego_task_planning_node.cpp (modes 1-5: offset pre-grab, descent into the grab pose, the twist of Twist_Deg about the tool's disassemble frame, the 15 mm lift with the twist kept), Lego::calc_brick_grab_pose, and Twist_Deg from config/user_config.json. ICL's custom end-of-arm tool sits on the brick and pivots about a fixed tool frame on a compliant industrial arm, with the brick's pose from its own bookkeeping. Here a parallel gripper grasps across the brick, the pivot is the bottom edge under a finger, contact is tracking lag or joint effort, the result is read from wrist depth, and the straight pull, wiggle, regrasp and neighbour check are added. The script's header lists the changes; LICENSE.icl is the upstream licence.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

Kỹ năng AI Disassembling A Brick By Twist Lever làm được gì?

Removes a seated LEGO or DUPLO brick with a parallel gripper and no force sensor - ICL's disassembly twist (grip, seat the grip, rotate 14 deg about one bottom edge so the stud rows let go one at a time, lift 15 mm with the twist kept), the edge being the one under a finger, commanded in small steps and read back so tracking lag (or joint effort) tells a brick that holds from one that lets go; with a straight pull and a wiggle (alternate small levers about both edges) as strategies and fallbacks, a regrasp after a slip, and the wrist depth camera reading the seat and its neighbouring cells...

Vì sao nên dùng Disassembling A Brick By Twist Lever 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. Disassembling A Brick By Twist Lever 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 Disassembling A Brick By Twist Lever trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/runtime-si/RoboSkillHub/tree/main/skills/disassembling-a-brick-by-twist-lever. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Disassembling A Brick By Twist Lever?

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 Disassembling A Brick By Twist Lever 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 Disassembling A Brick By Twist Lever 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 Disassembling A Brick By Twist Lever có miễn phí không?

Có. Kỹ năng này được runtime-si 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 👇