Skip to content

s&box Game Engine CLI

Lets an agent edit s&box game scenes, prefabs, configs and C# code via a command-line tool

Stars
58,084
Licence
Apache-2.0
Files
1 file

What it does

Once installed, the agent can operate a command-line tool for the s&box game engine, a Source 2 engine from Facepunch Studios. It can create and edit game project files such as scenes, prefabs, materials and input configs, generate C# component and UI code, check projects for broken asset references or duplicate IDs, and query what objects and assets a scene uses. Most of this works directly on the project's JSON files without opening the engine.

Great for

  • Game developers building s&box projects who want an agent to scaffold components and scenes
  • Technical creators automating repetitive scene edits, such as bulk-changing objects that share a tag
  • Teams wanting a project validation step that catches broken asset references before running the game

Skip it if

  • Users who do not have s&box or a game project; the commands are specific to that engine and its file formats
  • Projects where scenes are edited by hand in the editor at the same time, since direct file edits can conflict with open editor state or be overwritten (the file itself does not say how this is handled)

Try asking

  • “Create a new s&box project called MyGame and add the facepunch.libsdf package”
  • “Generate a networked player C# component with RPC stubs for Fire and TakeDamage”
  • “Find all objects tagged tower in my scene and move them 100 units up”
  • “Validate my project for broken asset references and duplicate GUIDs”
Step-by-step guide: how to use s&box Game Engine CLIInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    skills.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip skills.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip skills.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Always pass --json so the agent gets machine-readable output, as the skill itself recommends
  • Pass --project explicitly or run from inside the project folder so the tool finds the .sbproj file
  • Back up or version-control your project before letting an agent run bulk-modify or remove commands

What's inside

  • SKILL.md

Redistributed unmodified from HKUDS/CLI-Anything under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.