piyushbuildsai/skilldotmd-library/openclaw
Claude Code and agent skill by piyushbuildsai/skilldotmd-library
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Use this skill when working with the OpenClaw game engine or its Lua scripting systems. Triggers when modifying engine source code, Lua scripts, or asset configurations.
Install
npx vskill@latest install piyushbuildsai/skilldotmd-library/openclawSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as piyushbuildsai/skilldotmd-library/openclaw.
OpenClaw
What this is
OpenClaw is an open-source, cross-platform re-implementation of the engine used in the 1997 platformer game "Claw". It is written in C++ and leverages SDL2 to ensure compatibility with modern operating systems while introducing advanced features like Lua scripting for object logic.
Installation
Key concepts
- REZ Archive: The engine uses a virtual file system to read assets from original
.REZcontainers. You do not need to extract these files; the engine accesses them directly via internal paths. - Lua Logic: Unlike the original game, OpenClaw uses Lua for level logic and object behaviors. This allows for runtime modification of enemy AI and interactive elements.
- WAP Maps: Level layouts are stored in
.WAPfiles, which define tile layers, object placement, and logic triggers. - SDL2 Rendering: The engine utilizes SDL2 for hardware-accelerated rendering, allowing for windowed modes and modern resolution scaling.
Correct usage patterns
- Lua Scripting for Objects:
When defining a new object behavior in a Lua script: ``lua -- Example: A custom health pickup script function OnTouch(player, object) if player:GetHealth() < 100 then player:AddHealth(10) object:Destroy() PlaySound("GAME_GETHEALTH") end end ``
- Configuring the Engine:
Adjusting settings via config.xml: ``xml <config> <video width="800" height="600" fullscreen="false" vsync="true" /> <game path="./CLAW.REZ" /> </config> ``
Common mistakes to avoid
- Case Sensitivity: Linux builds are case-sensitive. Ensure that asset paths requested in code match the case inside the
.REZfile (e.g.,IMAGES/LEVEL1.PCXvsimages/level1.pcx). - Missing Original Assets: OpenClaw is an engine only. It will fail to launch without the original
CLAW.REZfile from the 1997 retail game. - Lua Syntax: Ensure scripts follow the specific Lua version embedded (typically Lua 5.3). Avoid using platform-specific OS calls within Lua scripts to maintain cross-platform compatibility.
File and folder conventions
/src: Contains the C++ source code for the engine core and rendering logic./scripts: Directory for Lua-based object behaviors and level logic./assets: Location for external configuration files and non-REZ media.config.xml: The primary configuration file for engine behavior and asset paths.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggenerated/openclaw/SKILL.md
Popularity
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/piyushbuildsai/skilldotmd-library/openclaw)