Back to Registry
View Author Profile
Official Verified
Creategame
Skill by brianclan
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/brianclan/creategameOr
Here's the English translation:
---
I. Overall Objective
This skill is a minimal guide for creating H5 games, mobile compatibale, touch screen games.
II. aigames Repository Custom Interface
**Repository URL**: https://www.idlab.top Each game requires creating a new folder in the repository root directory, containing the following 3 fixed files:
config.json— Game configuration (title and other metadata)index.html— Main game codepreview.png— Game screenshot preview**Important Rule**: The interface will return an error if a file already exists; no overwriting.
2.1 Upload config.json
POST /xlabopenapi/github/aigames/config
Request Parameters (form-data)
| Parameter | Type | Required | Description |
|---|---|---|---|
gameFolder | string | Yes | Game folder name, use English, e.g., my\_cool\_game |
file | file | Yes | config.json file, format shown below |
config.json Content Format
{
"title": "Game Name"
}
curl Example
curl -X POST "https://www.idlab.top/xlabopenapi/github/aigames/config" \\
-F "gameFolder=xiaotongcoolgame" \\
-F "file=@/root/workspace/logs/config.json"
---
2.2 Upload index.html
POST /xlabopenapi/github/aigames/index
Request Parameters (form-data)
| Parameter | Type | Required | Description |
|---|---|---|---|
gameFolder | string | Yes | Game folder name, must match the one used when uploading config.json |
file | file | Yes | index.html main game file |
curl Example
curl -X POST "https://www.idlab.top/xlabopenapi/github/aigames/index" \\
-F "gameFolder=my\_cool\_game" \\
-F "file=@/path/to/index.html"
---
2.3 Upload preview.png
POST /xlabopenapi/github/aigames/preview
Request Parameters (form-data)
| Parameter | Type | Required | Description |
|---|---|---|---|
gameFolder | string | Yes | Game folder name, must match the one used when uploading config.json |
file | file | Yes | preview.png game screenshot (recommended size 400×300) |
curl Example
curl -X POST "https://www.idlab.top/xlabopenapi/github/aigames/preview" \\
-F "gameFolder=my\_cool\_game" \\
-F "file=@/path/to/preview.png"
---
III.
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-brianclan-creategame": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.