Robotwin

From nssmd/RoboRSI · View interactive version

Robotwin is an AI agent skill from the GitHub repository nssmd/RoboRSI. ReKep-style semantic keypoint proposer. For a named object: SAM-mask it, extract DINOv2 patch features inside the mask, k-means(cosine) cluster into K groups. Returns K cluster-centroid pixels. Each centroid lands on an anatomically meaningful sub-region (head vs handle, strike face vs claw, bottle

How to use this skill

Skill file

propose_keypoints · ReKep semantic keypoints

This skill IS the real ReKep keypoint-proposal implementation — DINOv2

patch-feature extraction + k-means(cosine) clustering live in policy.py

(module-level propose_semantic_keypoints(), DINOv2 model singleton). It

is NOT a thin wrapper. SAM grounding reuses detect from the

detect_object perception core (imported at module level — safe, since

detect_object.policy pulls in no sim/rollout code). rollout_runtime is

imported lazily inside dispatch_runtime only, avoiding circular imports.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.