Install
openclaw skills install cocos-cli-game-devCreate, build, and modify Cocos game projects. Use this skill when the user asks to start a new Cocos game (2D/3D) or make changes to an existing one. It enforces strict usage of the Cocos CLI and Cocos MCP server instead of manual file editing.
openclaw skills install cocos-cli-game-devThis skill defines the standard operating procedure for creating and developing games using the Cocos engine. It strictly enforces the use of the Cocos CLI and the Cocos MCP (Model Context Protocol) server for game logic and scene modifications.
cocos --help using the exec tool.cocos create --help to identify the correct flags for templates.cocos create <project_name> <template_flags> to generate the project structure.cocos start-mcp-server using the exec tool.background: true in your exec tool call.edit/write) to manually hack scene files (.scene, .prefab, etc.) or engine configurations unless the MCP server lacks a specific capability and the user explicitly authorizes a manual override.cocos build --platform web-mobile). Use cocos build --help to confirm the exact parameter syntax before building.cocos start-mcp-server fails, check if the port is already in use and try specifying an alternative port (e.g., --port)..learnings/ERRORS.md file. Include the command, the exact error output, and any context. This helps the agent learn and avoid repeating the mistake.