Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

glr-adapter-builder

БесплатноЗапускает вложенные скриптыНе проверен

Build or refactor a GameLearningRuntime adapter, runtime bridge, trainable environment, knowledge research manifest, or reward configuration. Use when an…

loonghaoот loonghao941 установка в других каталогах

Об этом скилле

GLR adapter builder

Build the smallest truthful adapter that exposes game semantics through GLR. Keep Game Adapter != RL Algorithm: the runtime side never imports PPO, IMPALA, BC, TorchRL, or a learner policy.

Resolve bundled files portably

This skill is distributed both from a repository checkout and from a plugin installation. Resolve the skill root as the directory containing this SKILL.md; all scripts/, assets/, and references/ paths below are relative to that root. Do not hard-code a repository-relative .agents/skills path or a user-profile installation path. When a command is run from the project root, set $skillRoot to that resolved directory and pass the absolute path to the same script from the installed skill root.

Start with explicit boundaries

Before editing, state:

  • authorized runtime and test boundary;
  • whether start means physical reset or truthful attach;
  • observation, action, mask, reward, terminal, and truncation ownership;
  • transport and exact target-binding requirements;
  • which evidence may be published.

Never add arbitrary reflection, script execution, generic click/call endpoints, anti-cheat bypasses, credential capture, or unrestricted process discovery.

Scaffold the adapter lane

Read downstream-quality.md before creating or refactoring any downstream Python training project. Packaging, standard logging, optional error aggregation, and offline regression gates apply to the project's trainers and utilities as well as its adapter. The scaffold emits this contract as QUALITY.md; run vx run package-check before delivery.

Read module-boundaries.md before splitting or moving training code. The scaffold includes it as ARCHITECTURE.md. Enforce dependency direction and independent testing; one wheel may own several modules.

For a trained-stage handoff, read user-releases.md. The scaffold emits USER_RELEASE.md. Require a bundled inference runtime and installed-app tests; a source package or wheel alone is not a user installer.

For upgrades, read framework-migration.md before editing dependencies or persistent state. The scaffold emits FRAMEWORK_MIGRATION.md and MIGRATIONS.md for code, configuration, dataset, run-store, and checkpoint migration with consistent backups and verified rollback.

The scaffold is a standalone project boundary and emits glr-project.toml. For a single-game repository, put that manifest at the intended repository root; do not hide the only Python environment inside a disposable adapter scaffold. Multiple reusable adapters may be packages beneath one project, but their layout must not determine root discovery. Generated entries use find_project(). Keep dependency manifests/locks and a setup command with the project, ignore virtual environments and config/*.local.toml, and verify a fresh synthetic clone/setup/doctor/train/reproduce cycle before retiring a previous environment. TOML support in source is not evidence that an older installed GLR supports it.

Read multi-engine.md for Unity Mono/IL2CPP, Unreal, Godot and reusable external input/capture boundaries. An engine label selects a development lane; it is never proof of a working runtime provider.

Run the deterministic scaffold once. Choose a generic public environment ID and Python package name; do not put a game account, host, PID, HWND, local path, or secret in either value.

For a Unity or Unreal project with source access, create an engine-plugin lane:

# Set $skillRoot to the directory containing this SKILL.md before running.
vx python "$skillRoot/scripts/scaffold_adapter.py" `
  --output adapters/example_adapter `
  --package example_adapter `
  --environment-id example.environment-v1 `
  --engine unity `
  --access source

For an authorized binary-only runtime, create a truthful external-attach lane:

vx python "$skillRoot/scripts/scaffold_adapter.py" `
  --output adapters/example_external `
  --package example_external `
  --environment-id example.external-v1 `
  --engine unreal `
  --access external

For an authorized Unity Mono/Il2Cpp or Unreal runtime that permits third-party mods, read loader-plugins.md completely, verify one compatible upstream release, and create a loader-plugin lane:

vx python "$skillRoot/scripts/scaffold_adapter.py" `
  --output adapters/example_loader `
  --package example_loader `
  --environment-id example.loader-v1 `
  --engine unity `
  --access loader `
  --loader bepinex `
  --loader-version v5.4.23.5

Use --loader bepinex-il2cpp for a Unity Il2Cpp runtime on BepInEx 6, and --engine unreal --loader ue4ss --loader-version v3.0.1 for the UE4SS template. Release numbers are examples, not universal compatibility claims; refresh them from official upstream sources

Полный SKILL.md на ClawHub

Установить glr-adapter-builder в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл glr-adapter-builder?

Build or refactor a GameLearningRuntime adapter, runtime bridge, trainable environment, knowledge research manifest, or reward configuration. Use when an agent must turn an authorized game runtime into a reusable GLR environment for RL, BC, IMPALA, evaluation, or offline collection while preserving privacy, provenance, action fencing, and learner-neutral contracts.

Как установить скилл glr-adapter-builder?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл glr-adapter-builder запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить glr-adapter-builder с