reference-motion
БесплатноБез исполняемых скриптовНе проверенLoad, classify, interpolate, validate, and safely inspect MyoSuite fixed, randomized, and tracked reference motions.
от lza6★ 19 звёзд на GitHubОб этом скилле
MyoSuite reference motion
Use this route when a task involves reference trajectories, motion playback,
fixed/random/track targets, interpolation, initialization states, reference
logs, or examine_reference diagnostics.
Route the request
- Core task IDs, reset/step, and action/observation contracts:
environments. - Window/offscreen rendering and MuJoCo camera behavior:
simulation-rendering. - JAX parity or accelerated MJX reference handling:
mjx-acceleration. - Long-running policy training or learner configuration:
training-integration.
Read the API reference for the data contract,
workflows for bounded recipes, and
troubleshooting before diagnosing malformed
files or out-of-range times. The bundled
scripts/reference_motion_smoke.py is a safe in-memory check and does not need
original repository data.
Fast path
- Choose NumPy
ReferenceMotionfor a normal CPU environment. - Supply either a dict or a
.npz/.pkl/.picklepath containingtimeand the relevantrobot,robot_vel, andobjectarrays. - Let the class infer
FIXED(one frame),RANDOM(two low/high frames), orTRACK(more than two frames). - Call
get_init(), thenget_reference(time)at bounded times; callreset()before replaying a trajectory from its beginning. - Use
--render nonefor CLI playback in headless verification. Rendering is a separate route, not a prerequisite for checking interpolation.
import numpy as np
from myosuite.logger.reference_motion import ReferenceMotion
reference = {
"time": np.array([0.0, 1.0, 2.0]),
"robot": np.zeros((3, 2)),
"robot_vel": np.zeros((3, 2)),
"object": np.zeros((3, 7)),
}
motion = ReferenceMotion(reference)
robot_init, object_init = motion.get_init()
frame = motion.get_reference(0.5) # linearly interpolated TRACK frame
Validate dimensions and time bounds before coupling a motion to a task. Keep reference arrays and returned structures copied when storing them beyond one simulation step.
Verification boundary
Core NumPy reference handling and bounded synthetic fixed/random/track behavior
are suitable for CPU verification. JAX parity, large .npz corpora, and full
playback remain optional or data-dependent; never claim they pass from a CPU
import alone. The source-native candidate is the reference-motion test family,
run only when its data and optional dependencies are available.
Установить reference-motion в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл reference-motion?
Load, classify, interpolate, validate, and safely inspect MyoSuite fixed, randomized, and tracked reference motions.
Как установить скилл reference-motion?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reference-motion запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic