Command Palette

Search for a command to run...

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

GameClaw

БесплатноБез исполняемых скриптовНе проверен

Install, update, and launch GameClaw terminal games. Use when a user asks which GameClaw games exist, wants to download or update a GameClaw game binary…

arcobalneoот arcobalneo1 248 установок в других каталогах

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

GameClaw

GameClaw ships terminal games as single-file binaries for macOS, Linux and Windows. This skill is for the agent who owns the player's machine. Its job is:

  1. look up which games exist right now (this file does not list them);
  2. install a game bundle correctly;
  3. update an installed game without touching saves;
  4. fix GitHub download problems before concluding anything is missing.

Gameplay itself is deliberately out of scope here — every binary teaches its own new / actions / act / recap loop via help.

Consent boundary

This skill never changes the player's system silently. Before editing /etc/hosts, a shell profile, PATH, or any global configuration: explain what will change, get explicit approval, take a backup, and state how to revert it. Prefer user-scope and reversible changes; never run sudo on your own initiative.

  • Repo: https://github.com/Arcobalneo/gameclaw
  • Releases: https://github.com/Arcobalneo/gameclaw/releases/latest

1. Discover the current games

This skill does not keep a game list, a count, or a table of ids. Those go stale. This file is the only distribution entrypoint (ClawHub and other registries should publish this copy, not a second list). Look the games up, in this order, every time the player asks what exists:

  1. Latest release — what can actually be downloaded, plus the release notes: https://github.com/Arcobalneo/gameclaw/releases/latest
  2. Catalog — machine-readable ids, names and asset names. Releases do not attach a catalog file; read main: https://raw.githubusercontent.com/Arcobalneo/gameclaw/main/catalog/games.json Use games[].id, name, englishName, tagline, platforms and release_assets. If main lists an id the latest release does not ship, say it is not downloadable yet.
  3. READMEs, only as a supplement if the two sources above fail: https://github.com/Arcobalneo/gameclaw/blob/main/README.md and README.zh-CN.md beside it. If they disagree with the release or the catalog, say so. Downloads follow the release. Ids follow the catalog.
gh release view --repo Arcobalneo/gameclaw --json tagName,name,body,assets
curl -fsSL https://raw.githubusercontent.com/Arcobalneo/gameclaw/main/catalog/games.json

Show the player a numbered list built from that response. Never invent an id, and never answer "which games exist" from memory of this file.

Asset naming is always:

<game-id>-<platform>.tar.gz    # macOS, Linux
<game-id>-<platform>.zip       # Windows

Each archive extracts to <game-id>-<platform>/ and contains the binary, README.md, LICENSE and SHA256SUMS.

2. Detect the platform

uname -s   # Darwin -> darwin, Linux -> linux
uname -m   # arm64 / aarch64 -> arm64, x86_64 -> x64
$env:OS                     # Windows_NT
$env:PROCESSOR_ARCHITECTURE # AMD64 -> x64, ARM64 -> arm64

Mapping:

Host Platform label
macOS Apple Silicon darwin-arm64
macOS Intel darwin-x64
Linux x64 linux-x64
Linux arm64 linux-arm64
Windows x64 windows-x64

If the host does not match one of these, say so plainly. Never invent an asset.

3. Install location

Keep all GameClaw binaries in one directory so updates are predictable:

# macOS / Linux
BIN="${XDG_DATA_HOME:-$HOME/.local/share}/gameclaw/bin"
mkdir -p "$BIN"
# Windows
$Bin = Join-Path $env:LOCALAPPDATA 'GameClaw\bin'
New-Item -ItemType Directory -Force -Path $Bin | Out-Null

Saves are not stored next to the binary. They live in ~/.gameclaw/<game-id>/ (or %USERPROFILE%\.gameclaw\<game-id>\), so replacing a binary never deletes a run.

4. Install a game

Set three variables first:

GAME=<game-id>                 # id from catalog/games.json, present on the latest release
PLATFORM=darwin-arm64          # from step 2
ASSET="$GAME-$PLATFORM.tar.gz"

Download the latest release asset (always the newest tag):

TMP="$(mktemp -d)"

# Preferred: GitHub CLI
gh release download --repo Arcobalneo/gameclaw \
  --pattern "$ASSET" --dir "$TMP" --clobber

# Fallback: curl (works without gh)
curl -fL -o "$TMP/$ASSET" \
  "https://github.com/Arcobalneo/gameclaw/releases/latest/download/$ASSET"

tar -xzf "$TMP/$ASSET" -C "$TMP"

Verify the checksum before installing:

EXPECTED=$(awk '{print $1}' "$TMP/$GAME-$PLATFORM/SHA256SUMS")
ACTUAL=$(shasum -a 256 "$TMP/$GAME-$PLATFORM/$GAME" | awk '{print $1}')
[ "$EXPECTED" = "$ACTUAL" ] || { echo "CHECKSUM MISMATCH"; exit 1; }

Install atomically, keeping the previous binary for rollback:

install -m 755 "$TMP/$GAME-$PLATFORM/$GAME" "$BIN/$GAME.new"
[ -f "$BIN/$GAME" ] && mv "$BIN/$GAME" "$BIN/$GAME.previous"
mv "$BIN/$GAME.new" "$BIN/$GAME"
rm -rf "$TMP"
"$BIN/$GAME" --version

Windows equivalent:

$Game = '<game-id>'            # from the catalog, not from memory
$Platform = 'windows-x64'
Полный SKILL.md на ClawHub

Установить GameClaw в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл GameClaw?

Install, update, and launch GameClaw terminal games. Use when a user asks which GameClaw games exist, wants to download or update a GameClaw game binary, needs the correct macOS/Linux/Windows asset, or hits a GitHub network failure while fetching game bundles. Look up the live game list from the latest GitHub Release and catalog/games.json; this skill does not contain that list.

Как установить скилл GameClaw?

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

Скилл GameClaw запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить GameClaw с