← 返回 Skills 市场
72
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install container-gaming
功能描述
Container-based gaming setup on Linux — Podman, Distrobox, Flatpak gaming, Wine/Proton containers, Sunshine streaming
使用说明 (SKILL.md)
Container Gaming Manager
Manage container-based gaming on Linux — Podman, Distrobox, Flatpak gaming, Wine/Proton, and game streaming with Sunshine.
When to Use
- Setting up gaming in containers (Podman/Distrobox)
- Managing Flatpak game installations
- Wine/Proton configuration and troubleshooting
- Sunshine/Moonlight streaming setup
- Lutris runner management
- Game compatibility and performance issues
Container Gaming Overview
┌─────────────────────────────────────┐
│ Sunshine (Streaming) │
├─────────────────────────────────────┤
│ Gamescope (Compositor) │
├──────┬──────┬───────────┬───────────┤
│Steam │Flatpak│ Lutris │ Bottles │
├──────┴──────┴───────────┴───────────┤
│ Proton / Wine / Native │
├─────────────────────────────────────┤
│ Podman / Distrobox / Toolbox │
├─────────────────────────────────────┤
│ Bazzite / Fedora Atomic │
└─────────────────────────────────────┘
Commands Reference
Podman Gaming
# List gaming containers
podman ps -a --filter name=game
# Run a Windows game in Wine container
podman run --rm -it \
--device /dev/dri \
-e DISPLAY=:0 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ~/Games:/games \
docker.io/bottles:latest
# Pull common gaming images
podman pull docker.io/library/ubuntu:latest
podman pull docker.io/bottleshq/bottles:latest
Distrobox (Windows-like gaming in containers)
# Install Distrobox
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sudo sh
# Create gaming container (Ubuntu)
distrobox create --name gaming-ubuntu --image ubuntu:latest
# Enter container
distrobox enter gaming-ubuntu
# Install gaming tools inside container
sudo apt install wine lutris steam
# Export Steam to host
distrobox export --app steam --extra-flags "gamescope -W 1280 -H 800 -f"
# List containers
distrobox list
# Remove container
distrobox rm gaming-ubuntu
Toolbox (Fedora-native)
# Create gaming toolbox
toolbox create -c gaming
# Enter
toolbox enter gaming
# Install tools
sudo dnf install steam lutris wine
Flatpak Gaming
# Popular gaming Flatpaks
flatpak install flathub com.valvesoftware.Steam
flatpak install flathub net.lutris.Lutris
flatpak install flathub com.usebottles.bottles
flatpak install flathub org.prismlauncher.PrismLauncher
flatpak install flathub com.heroicgameslauncher.hgl
flatpak install flathub io.github.Foldex.Exodus
flatpak install flathub com.obsproject.Studio
# Update gaming Flatpaks
flatpak update com.valvesoftware.Steam net.lutris.Lutris com.usebottles.bottles
# Check runtime versions
flatpak info --runtime com.valvesoftware.Steam
# Override permissions for game
flatpak override --user --device=dri com.valvesoftware.Steam
flatpak override --user --socket=wayland com.valvesoftware.Steam
Bottles (Wine Manager)
# Install Bottles
flatpak install flathub com.usebottles.bottles
# Bottles config directory
ls ~/.local/share/bottles/
# Create custom bottle
# (Done through Bottles GUI — usually at ~/.local/share/bottles/bottles/)
Proton / Wine
# Installed Proton versions
ls ~/.steam/root/compatibilitytools.d/
ls ~/.local/share/Steam/compatibilitytools.d/
# Proton logs
cat ~/.steam/root/logs/proton* 2>/dev/null | tail -30
# Protontricks (install Windows deps for games)
protontricks \x3Cappid> corefonts d3dcompiler_47 dxvk
protontricks --list-apps 2>/dev/null | head -20
# Wine version check
wine --version 2>/dev/null
Lutris
# Lutris version
lutris --version
# List installed games
lutris --list-games
# Lutris runners
ls ~/.local/share/lutris/runners/
ls ~/.local/share/lutris/runners/wine/
# Install Lutris runner
lutris --list-runners | grep -i wine
# Lutris config
cat ~/.config/lutris/lutris.conf 2>/dev/null
Heroic Games Launcher (Epic/GOG)
# Install
flatpak install flathub com.heroicgameslauncher.hgl
# Heroic config
ls ~/.config/heroic/ 2>/dev/null
ls ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/ 2>/dev/null
Sunshine (Game Streaming)
# Install Sunshine
flatpak install flathub dev.lizardbyte.app.Sunshine
# Sunshine config location
cat ~/.config/sunshine/config.conf 2>/dev/null
cat ~/.config/sunshine/apps.json 2>/dev/null
# Start Sunshine
systemctl --user start sunshine 2>/dev/null
# Sunshine logs
journalctl --user -u sunshine --since "1 hour ago" 2>/dev/null | tail -20
# Check port
ss -tlnp | grep -E '47989|47990|48010'
# Web UI
# http://localhost:47990
# Tailscale (expose to remote)
tailscale serve --bg 47989 2>/dev/null
tailscale serve --bg 47990 2>/dev/null
MangoHud (Performance Overlay)
# Enable MangoHud globally
export MANGOHUD=1
# Per-game config
mkdir -p ~/.config/MangoHud
cat > ~/.config/MangoHud/game-name.conf \x3C\x3C 'EOF'
full
fps
cpu_temp
gpu_temp
vram
ram
frame_timing
EOF
# Gamescope + MangoHud
gamescope -W 1280 -H 800 -f -- mangohud %command%
vkBasalt (Post-processing)
# Enable
export VKBASALT_ENABLE=1
# Config
cat ~/.config/vkBasalt/vkBasalt.conf 2>/dev/null
# Effects: cas (sharpen), fxaa, smaa, dls
Common Tasks
Set up a new game via Flatpak
flatpak search "game name"
flatpak install flathub \x3Capp-id>
flatpak override --user --device=dri --socket=wayland \x3Capp-id>
Fix game performance issues
- Enable MangoHud:
MANGOHUD=1 %command% - Check GPU freq:
cat /sys/class/drm/card0/device/pp_dpm_sclk - Check thermal:
cat /sys/class/thermal/thermal_zone*/temp - Try Proton Experimental: set in Steam > Compatibility
- Check VRAM: games with 4GB+ VRAM may struggle on Steam Deck
Stream a game to another device
- Install Sunshine (Flatpak)
- Configure in Web UI (localhost:47990)
- On client: install Moonlight
- Connect using Tailscale IP or local IP
Troubleshooting
| Problem | Fix |
|---|---|
| Game won't launch | Check Proton version, try different runner |
| Black screen | Gamescope res, HDR toggle, Wayland vs X11 |
| Stuttering | VRAM, thermal, MangoHud to diagnose |
| Audio issues | systemctl --user restart wireplumber pipewire |
| Sunshine no video | Check GPU access, Sunshine permissions |
| Flatpak crash | flatpak repair, check permissions |
| Wine missing DLL | protontricks \x3Cappid> \x3Cdll_name> |
| Controller not working | Steam Input, evtest, kernel modules |
安全使用建议
This skill appears to do what it says (container-based gaming on Linux), but follow these cautions before running commands from its instructions: 1) Don’t blindly run curl … | sudo sh — instead download the script, inspect it, and run it only if you trust the source (or use your distro’s package manager). 2) Be cautious when exposing Sunshine ports remotely (the tailscale serve examples expose streaming ports); verify you want these ports reachable and that authentication is configured. 3) Podman/docker image pulls and running containers can run untrusted code — prefer official/trusted images and inspect Dockerfiles where possible. 4) Flatpak overrides (device/socket) grant apps hardware/desktop access — apply minimally and understand privacy implications. 5) Run potentially risky commands as an unprivileged user when possible and back up config files before making changes. If you want a higher confidence assessment, provide the exact GitHub repo URLs referenced for installers and the specific container images you plan to pull so those artifacts can be reviewed.
功能分析
Type: OpenClaw Skill
Name: container-gaming
Version: 1.0.0
The SKILL.md file contains high-risk instructions, most notably a command to download and execute a shell script from a remote URL with root privileges (`curl | sudo sh`) to install Distrobox from raw.githubusercontent.com. It also includes commands to expose local network ports to the internet using `tailscale serve` for game streaming and performs broad Flatpak permission overrides. While these actions are consistent with the stated goal of setting up containerized gaming and remote streaming, the reliance on unverified remote execution and network tunneling tools poses a significant security risk.
能力评估
Purpose & Capability
Name/description (container gaming with Podman, Distrobox, Flatpak, Wine/Proton, Sunshine) align with the declared anyBins (podman, flatpak, distrobox) and the SKILL.md commands (podman pulls, flatpak installs, distrobox usage, Sunshine streaming). No unrelated credentials or surprising capabilities are requested.
Instruction Scope
Instructions stick to setup, troubleshooting, and runtime commands for container gaming (reading configs under ~/.config, Steam/Lutris paths, /sys and /proc sensor reads, journalctl, systemctl). These file reads and commands are appropriate for diagnosing game/performance issues. Note: the SKILL.md also includes commands that expose services (tailscale serve) and uses a curl|sudo sh installer — operationally useful but require careful review by the user.
Install Mechanism
The skill is instruction-only (no install spec), but it recommends running an installer via curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sudo sh. Piping remote scripts to sh (especially with sudo) is high-risk because arbitrary code from the URL would be executed as root. Other install instructions reference flatpak and podman pulls (expected), but the curl|sh pattern is the primary install-time concern.
Credentials
The skill declares no required environment variables or secrets. It shows examples of exporting runtime flags (MANGOHUD, VKBASALT) and setting DISPLAY in container runs, which are normal for this domain. No unrelated credentials or secret access is requested.
Persistence & Privilege
always:false (default) and no install-time persistence requested. The skill does not request elevated platform privileges or to modify other skills. Note: autonomous invocation is allowed by platform default; that is expected and not by itself a red flag for this skill.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install container-gaming - 安装完成后,直接呼叫该 Skill 的名称或使用
/container-gaming触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of container-gaming: easily manage Linux gaming using containers and streaming tools.
- Supports Podman, Distrobox, and Toolbox for gaming container management
- Flatpak installation and configuration for major Linux gaming apps
- Quick guides for Wine/Proton/Bottles, Lutris, and Heroic Games Launcher
- Sunshine streaming setup, troubleshooting, and remote access instructions
- Performance tools overview (MangoHud, vkBasalt) and common fixes for gaming issues
元数据
常见问题
Container Gaming — Podman, Distrobox, Flatpak, Sunshine 是什么?
Container-based gaming setup on Linux — Podman, Distrobox, Flatpak gaming, Wine/Proton containers, Sunshine streaming. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 72 次。
如何安装 Container Gaming — Podman, Distrobox, Flatpak, Sunshine?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install container-gaming」即可一键安装,无需额外配置。
Container Gaming — Podman, Distrobox, Flatpak, Sunshine 是免费的吗?
是的,Container Gaming — Podman, Distrobox, Flatpak, Sunshine 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Container Gaming — Podman, Distrobox, Flatpak, Sunshine 支持哪些平台?
Container Gaming — Podman, Distrobox, Flatpak, Sunshine 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux)。
谁开发了 Container Gaming — Podman, Distrobox, Flatpak, Sunshine?
由 13(@silverod)开发并维护,当前版本 v1.0.0。
推荐 Skills