Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

iwsdk-grab

/iwsdk-grab

Sprawdza chwytanie obiektów IWSDK z bliska przez emulowane kontrolery lub dłonie, w tym szczypnięcie.

Licencja
MIT
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 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ść35 / 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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Sprawdza chwytanie obiektów IWSDK z bliska przez emulowane kontrolery lub dłonie, w tym szczypnięcie.

Argumenty

/iwsdk-grab (use the current request)
Oryginalny opis (EN)

Use emulated XR controllers or hands to verify proximity grabbing for OneHandGrabbable and TwoHandsGrabbable objects. Use for pick up, move, release, or regression-test requests involving near-hand grab with the squeeze button or a hand pinch.

Jak działa

  1. Execute the requested path
  2. Hand pinch grab
  3. Evidence and stopping
Sekcje z nagłówków SKILL.md, w oryginale · 70 linii, 435 słów
Podgląd SKILL.md
---
name: iwsdk-grab
description: Use emulated XR controllers or hands to verify proximity grabbing for OneHandGrabbable and TwoHandsGrabbable objects. Use for pick up, move, release, or regression-test requests involving near-hand grab with the squeeze button or a hand pinch.
argument-hint: '(use the current request)'
---

# IWSDK Proximity Grab

Use this workflow only for `OneHandGrabbable` or `TwoHandsGrabbable`. A
`DistanceGrabbable` uses the ray/trigger path instead.

## Execute the requested path

1. Check XR session state and enter XR only when inactive.
2. Find the named live entity and query its components and transform. If it is
   absent, list nearby grabbable matches once and stop with the evidence.
3. Confirm it has `OneHandGrabbable` or `TwoHandsGrabbable`. Do not guess the
   interaction type from its name.
4. Animate the requested controller to the object. Default to the right
   controller only when the user did not choose a hand.
5. Press and hold squeeze/grip button index `1`:

   ```json
   {"device":"controller-right","buttons":[{"index":1,"value":1}]}
   ```

6. Query the entity for `Grabbed` or another requested observable state. If the
   grab did not qualify, make one focused correction to controller position and
   retry once.
7. If movement was requested, animate the held controller to the destination.
8. Release squeeze with index `1`, value `0`, then query the final transform or
   state. Move the controller away only when overlap would interfere with the
   result.

Do not use trigger index `0`, `xr select`, or teleport-style device mutation for
proximity grab. Do not edit source merely to make an existing named entity easier
to locate; report missing runtime identity when that is the actual defect.

## Hand pinch grab

When the user asks for hands or a pinch, grab with the emulated hand instead of
squeeze. This needs `grabbing.useHandPinchForGrab`, which is on unless the project
manifest sets it to `false`.
Switch input once, then grab and carry in one sequence, by the entity's name
from `xr list-targets`:

```bash
npx @iwsdk/cli xr set-input-mode --input-json '{"mode":"hand"}'
npx @iwsdk/cli xr run-sequence --input-json '{"device":"hand-right","steps":[{"target":"Requested Name","approach":{"distance":0.06},"pinch":{"value":1,"at":"arrival"}},{"position":{"x":0.3,"y":1,"z":-1.2},"depart":{"distance":0.08}}]}' --timeout 45000
```

While the hand holds something, a step `position` is where the object's base
goes. Query `Grabbed` while held, then let go and query the final transform:

```bash
npx @iwsdk/cli xr run-sequence --input-json '{"device":"hand-right","steps":[{"pinch":0,"duration":0.15}]}'
```

The sequence result lists the select events the application saw; a missing
`selectstart` means the pinch never reached the object.

## Evidence and stopping

Prefer measured ECS state over screenshots. Capture one runtime image only when
the user requested visual evidence or placement must be judged. Batch related
queries and avoid repeating session, hierarchy, or transform discovery after a
successful read.

When the request names an artifact path, save it directly with
`npx @iwsdk/cli browser screenshot --output-file <path>`. A screenshot returned only
to model context does not satisfy a requested file deliverable.

Stop once the requested grab/move/release path and final state are proven. Leave
the controller released and the XR session in the state the user requested.

Wersje

RepozytoriumWynikLicencja
Ta strona · natrajexplore/packetfall_meta100MIT
big-black-ballz/meta-vr-hackathon100MIT

Migawka bazy z 13.11.2026 · wersja paczki 96bb0eb9f18d (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

  • 100iwsdk-ray
    Sprawdza kliknięcia promieniem, wybory w panelach UIKit i chwytanie z dystansu przez emulowane kontrolery XR w IWSDK.
  • 100iwsdk-ray
    Sprawdza kliknięcia promieniem, wybory w panelach UIKit i chwytanie z dystansu przez emulowane kontrolery XR w IWSDK.
  • 100iwsdk-physics
    Dodaje lub naprawia w IWSDK symulację brył sztywnych, kształty kolizji, siły i chwytanie z fizyką, w tym strojenie grawitacji.
  • 100react-grab
    Automatycznie przetwarza elementy UI zaznaczone w przeglądarce przez React Grab, bez ręcznego kopiowania i wklejania do agenta.
  • 100iwsdk-ui
    Buduje lub zmienia interfejsy UIKitML w IWSDK, czyli panele przestrzenne i HUD, z podglądem i sprawdzeniem w działaniu.
  • 100hz-iwsdk-webxr
    Buduje doświadczenia WebXR dla Meta VR i Horizon OS w Immersive Web SDK: architektura ECS, integracja z Three.js i interfejs przestrzenny dla Quest Browser.

Uwagi i zgłoszenia

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