Aigames
Skill by brianclan
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/brianclan/aigamesWhat This Skill Does
The Aigames skill by brianclan streamlines the process of creating, configuring, and publishing HTML5 web games to the brianclan/aigames repository. This automation tool serves as an end-to-end bridge between AI-generated game code and the live platform at www.thenext.games. It handles the structural requirements—generating the index.html file, creating the mandatory configuration file (config.json) that ties game rewards to the creator's EVM wallet address, and organizing the assets, including preview thumbnails. By automating the GitHub interaction, this skill allows users to focus on game design while the agent manages the technical deployment workflow.
Installation
To integrate this skill into your environment, run the following command in your terminal or OpenClaw interface: clawhub install openclaw/skills/skills/brianclan/aigames
Ensure that you have your GitHub Personal Access Token (classic) configured if you intend to use the automated pull request method, with the 'repo' scope permissions enabled.
Use Cases
This skill is ideal for rapid prototyping and publishing of hyper-casual, touch-friendly web games. It is perfect for developers looking to showcase interactive projects, users wanting to monetize mini-games via integrated wallet rewards, or creators who want to quickly push content to the thenext.games ecosystem without manually managing Git branch hierarchies or complex directory structures.
Example Prompts
- "Create a simple snake game for mobile that is single-file, and then help me upload it to the brianclan/aigames repo using my wallet address 0x066d8E0fc217cF15c1754a3dfA2B322213CEC9C6."
- "I have a folder called 'retro_block_breaker' ready. Can you help me create the config.json and preview.png so I can push this to GitHub?"
- "My last game submission failed, can you check the requirements for the repository structure and help me fix the pathing?"
Tips & Limitations
To ensure success, always provide a clear, mobile-optimized HTML structure. Remember that the game title in your config.json determines your final URL (e.g., 'My Game' becomes 'my-game'). If you are a first-time contributor, the agent will guide you through creating a classic GitHub token. Note that the game must be self-contained; external dependencies should be minimized to ensure the game loads correctly within the platform's preview window. Always verify that your wallet address is an valid EVM format to avoid issues with reward distribution. If automated uploads fail, the agent will provide instructions for manual drag-and-drop via the browser interface.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-brianclan-aigames": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api