openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Godot Game Claw Bridge

Godot 4.x Project Generator CLI. Create 2D/3D games with 80+ CLI commands: projects, scenes, scripts, levels, UI (menu/HUD/dialog/inventory), game components...

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.5.0

统计:⭐ 1 · 285 · 1 current installs · 1 all-time installs

1

安装量(当前) 1

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:dashiming/godot-bridge

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill's code and instructions match the stated purpose (a Node-based CLI that scaffolds Godot projects), but there are a few minor mismatches and operational details you should be aware of before installing.

目的

The name/description (Godot project generator) align with the included CLI implementation: the JS creates project folders, scenes, scripts, assets, and components as described. The skill only declares node as a required binary which matches the CLI being a Node script. Note: SKILL.md and commands include an 'open' step that likely invokes the Godot editor, but the registry metadata does not declare a dependency on a 'godot' binary — a minor mi…

说明范围

SKILL.md instructs the agent to run local CLI commands (init, scene, script, component, open, etc.) and to generate files inside the current working directory. The runtime instructions do not request unrelated files, secrets, or external endpoints. The generated 'save' component persists to 'user://save.dat' (a Godot user save path) which writes to disk — expected for a scaffolding tool but worth noting if you run it in a sensitive directory.

安装机制

No install spec is provided (instruction-only from registry perspective), but the package includes an executable Node script (clawbridge.js). That is not necessarily malicious, but it means the CLI code is bundled and will run locally; there are no external downloads or URL-based installers in the manifest, which reduces supply-chain risk. Review the full script before executing on a machine you care about.

证书

The skill requests no environment variables or credentials and the code shown does not read secrets or external config paths. This is proportionate for a local project generator. The script does import child_process.execSync (used for shell operations in Node) — acceptable for invoking local tools (e.g., opening the Godot editor) but worth auditing because execSync can run arbitrary commands if fed untrusted input.

持久

The skill does not request permanent/always-on privileges (always:false) and does not modify other skills or global agent configuration. It writes files into the current working directory (expected for a scaffolding CLI) but does not appear to try to persist beyond the generated project files.

clawbridge.js:727

Shell command execution detected (child_process).

综合结论

This skill appears to do what it says: generate Godot 4.x projects with scenes, scripts, and components. Before installing/running it: (1) Inspect the entire clawbridge.js file for any unexpected execSync calls or commands (especially around the 'open' command) because child_process can execute shell commands. (2) Run it in a disposable directory (not your home or a repo with secrets) so generated files and any save files are isolated. (3) If …

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Godot Game Claw Bridge」。简介:Godot 4.x Project Generator CLI. Create 2D/3D games with 80+ CLI commands: proj…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/dashiming/godot-bridge/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: godot-bridge
description: "Godot 4.x Project Generator CLI. Create 2D/3D games with 80+ CLI commands: projects, scenes, scripts, levels, UI (menu/HUD/dialog/inventory), game components (health/inventory/save/input/dialogue/quest), physics (rigid/kinematic/area/joint), particles, animations, materials, and export to HTML5/Windows/macOS/Linux/Android/iOS. Perfect for AI-driven game development, rapid prototyping, and automated workflows."
metadata:
  openclaw:
    emoji: 🎮
    requires:
      bins: ["node"]
---

# Godot Bridge - Project Generator CLI v3.0

Generate complete Godot 4.x projects with scenes, scripts, and game components.

## Quick Start

```bash
# Create project
clawbridge init MyGame

# Enter project
cd MyGame

# Add components
clawbridge component health --type health
clawbridge component inventory --type inventory

# Add objects
clawbridge label "Score: 0" --x 50 --y 30
clawbridge box --x 200 --y 150
clawbridge camera --x 640 --y 360

# Open in Godot
clawbridge open
```

## Commands

### Project
```bash
clawbridge init MyGame              # Basic 2D project
clawbridge init MyGame --3d        # 3D project
clawbridge init MyGame --template rpg   # RPG template
```

### Generate
```bash
clawbridge scene Main       # Generate scene
clawbridge script Player    # Generate script
clawbridge level Level1     # Generate level
```

### Game Components
```bash
# Health System
clawbridge component health --type health

# Inventory System
clawbridge component inventory --type inventory

# Save/Load System
clawbridge component save_system --type save

# Input System
clawbridge component input_system --type input

# Dialogue System
clawbridge component dialogue --type dialogue

# Quest System
clawbridge component quest --type quest
```

### Objects (add to scene)
```bash
clawbridge label "Hello" --x 100 --y 50
clawbridge button "Click" --x 200
clawbridge box --x 100 --y 100
clawbridge sphere --x 200
clawbridge camera --x 640 --y 360
clawbridge light --x 100
clawbridge particles --amount 50
clawbridge character
```

## Generated Project Structure

```
MyGame/
├── project.godot
├── icon.svg
├── scenes/
│   └── main.tscn
├── scripts/
│   ├── main.gd
│   ├── game_manager.gd
│   └── [your components]
├── levels/
├── assets/
└── prefabs/
```

## Game Components

### Health System
- `take_damage(amount)` - Apply damage
- `heal(amount)` - Heal entity
- `is_alive()` - Check if alive
- Signals: `health_changed`, `died`

### Inventory System
- `add_item(name)` - Add item
- `remove_item(name)` - Remove item
- `has_item(name)` - Check item
- `get_item_count(name)` - Get quantity

### Save/Load System
- `save_game()` - Save to disk
- `load_game()` - Load from disk
- Auto-saves player stats and current level

### Input System
- `get_direction()` - Get left/right input (-1 to 1)
- `is_jump_pressed()` - Check jump

### Dialogue System
- `show(lines)` - Start dialogue with array of strings
- `next()` - Advance to next line
- Signals: `line_displayed`, `dialogue_ended`

### Quest System
- `start_quest(name, target)` - Start quest
- `update_quest(name, progress)` - Update progress
- `complete_quest(name)` - Complete quest
- Signals: `quest_started`, `quest_completed`

## Options

| Option | Description |
|--------|-------------|
| --type | Component type |
| --template | Project template |
| --x, --y | Position coordinates |
| --3d | Create 3D project |

## Example: Complete RPG

```bash
# Create RPG project
clawbridge init MyRPG --template rpg

# Add game systems
clawbridge component health --type health
clawbridge component inventory --type inventory
clawbridge component quest --type quest
clawbridge component save_system --type save
clawbridge component dialogue --type dialogue

# Add UI
clawbridge label "HP: 100" --x 20 --y 20
clawbridge label "Gold: 0" --x 20 --y 50

# Open in Godot
clawbridge open
```

## License

MIT