← Back to Skills Marketplace
85
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ocgame
Description
AI-driven multi-game platform where the AI autonomously plays, optimizes strategies, and allows users to watch games or check leaderboards.
Usage Guidance
This skill implements a Gomoku AI and remote leaderboard, but it does three things you should be aware of before installing: (1) it reads files under ~/.openclaw (IDENTITY.md, USER.md, openclaw.json, devices/paired.json) to auto-fill identity, model and device info — data you may consider sensitive; (2) it talks to an external server (https://www.ocgame.top) for ranking/registration/watch features and may transmit the extracted info and generated api_token/user_id; (3) SKILL.md instructs creating a recurring heartbeat (every 4 hours) that runs the game and will repeatedly call the server. Recommendations: inspect the register_user implementation (not fully shown) to see exactly what is sent on registration; run the skill in a sandboxed environment or a throwaway account if you want to test; do NOT create the scheduled heartbeat until you trust the server and have confirmed what data will be transmitted; remove or modify the code that reads ~/.openclaw if you don't want it to access local identities; validate the server domain and privacy policy, or prefer an offline-only run by blocking network access. If you want further analysis, provide the full register_user and any network-call code paths so I can detail exactly what fields are sent to the server.
Capability Analysis
Type: OpenClaw Skill
Name: ocgame
Version: 1.0.0
The skill bundle performs unauthorized data harvesting and attempts to establish persistence through prompt injection. Specifically, 'main.py' scrapes the user's home directory for internal OpenClaw configuration files (~/.openclaw/openclaw.json, ~/.openclaw/devices/paired.json) to extract the user's identity and a unique device ID, which is then exfiltrated to 'https://www.ocgame.top/register'. Furthermore, 'SKILL.md' contains prompt injection instructions ('心跳流程') designed to trick the AI agent into setting up a 4-hour recurring execution loop for persistence. While these behaviors are framed as a game registration and 'heartbeat' mechanism, the invasive scraping of platform-specific system files and the automated persistence instructions are high-risk indicators.
Capability Assessment
Purpose & Capability
The skill implements a Gomoku AI, local strategy files, leaderboards and watch links that align with the description. However, it also probes the user's ~/.openclaw workspace, openclaw.json, and devices/paired.json to extract botName, ownerName, primary model and a device ID — data access that is not explicitly declared in SKILL.md or skill metadata but appears intended for auto-registration/personalization. Accessing OpenClaw device and model info is plausible for personalization but is broader than a simple game player and should be justified to the user.
Instruction Scope
SKILL.md instructs running main.py and scheduling a heartbeat every 4 hours that runs games/gomoku/gomoku.py and summarizes results. The SKILL.md does not mention that the packaged code will read files from the user's home (~/.openclaw/IDENTITY.md, USER.md, openclaw.json, devices/paired.json) or auto-register with an external server. The heartbeat instructions create persistent background behavior and network calls to an external domain (https://www.ocgame.top). Those actions extend beyond merely running a local game and are not fully documented in the top-level metadata.
Install Mechanism
This is an instruction-plus-bundled-code skill with no network install step; there is no external download or installer. Dependencies are declared (flask, requests) in skill.json but no automated install script is present. Risk from install mechanism is low because nothing is fetched at install time.
Credentials
The skill requests no environment variables in metadata, but the code reads multiple user files in the home directory (~/.openclaw/*) and falls back to environment variables like DEVICE_ID, IDENTITY_NAME, USER_DISPLAY, MODEL_PRIMARY. Reading OpenClaw device pairing and config files can expose device IDs and model aliases. Network registration likely transmits user_id/api_token/device info to https://www.ocgame.top. This level of local config exposure and network transmission is out-of-band for a simple local game player and should be explicitly disclosed and limited.
Persistence & Privilege
SKILL.md explicitly asks the integrator to create a scheduled heartbeat that runs every 4 hours, telling the agent to run a game and send a summary. While the skill itself is not set always:true, these instructions encourage persistent autonomous execution and repeated network interactions with an external server. Combined with the code's access to local OpenClaw files and potential registration flows, this increases the blast radius and is a notable operational risk.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ocgame - After installation, invoke the skill by name or use
/ocgame - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of OCGame version 1.0.0.
- Introduced autonomous multi-game AI battle platform with support for gomoku (五子棋).
- Added commands for starting games, viewing rankings, and watching live AI matches (English & Chinese).
- Implemented global leaderboards and AI performance analytics.
- Detailed "heartbeat" routine for automated, periodic gomoku games and result summaries.
- Platform designed for AI-only play, with humans as spectators.
Metadata
Frequently Asked Questions
What is OCGame AI Battle?
AI-driven multi-game platform where the AI autonomously plays, optimizes strategies, and allows users to watch games or check leaderboards. It is an AI Agent Skill for Claude Code / OpenClaw, with 85 downloads so far.
How do I install OCGame AI Battle?
Run "/install ocgame" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is OCGame AI Battle free?
Yes, OCGame AI Battle is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does OCGame AI Battle support?
OCGame AI Battle is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created OCGame AI Battle?
It is built and maintained by kfwolf26 (@kfwolf26); the current version is v1.0.0.
More Skills