This skill enables bulk operations on Godot nodes, streamlining property updates, renaming, deletion, and creation for faster scene editing.
npx playbooks add skill hhhh124hhhh/godot-mcp --skill godot-batch-operations
本技能为Godot开发者提供高效的批量节点操作能力,支持一次性对多个节点执行相同操作,大幅提升开发效率。
一次性更新多个节点的相同属性,支持位置、旋转、缩放、可见性等所有节点属性。
按照命名规则批量重命名节点,支持前缀、后缀、序号等多种命名模式。
根据条件批量删除节点,支持按类型、名称模式、层级关系等筛选条件。
基于模板批量创建节点,支持数组式批量生成和自动命名。
# 更新所有以 "Enemy" 开头的节点的位置
claude godot update_node_property --node_path="/root/MainScene/Enemy*" \
--property="position" --value="{\"x\": 100, \"y\": 200}"
# 将所有 "Item_" 开头的节点重命名为 "Collectible_001", "Collectible_002" 等
claude godot batch_rename_nodes --parent_path="/root/MainScene" \
--pattern="Item_*" --new_pattern="Collectible_##"
# 批量更新多个属性
claude godot batch_update_properties --node_paths='[
"/root/MainScene/Player",
"/root/MainScene/Enemy1",
"/root/MainScene/Enemy2"
]' \
--properties='{
"modulate": "Color(1, 0, 0, 1)",
"process_mode": "Node.PROCESS_MODE_INHERIT"
}'
# 删除所有隐藏的节点
claude godot batch_delete_nodes --parent_path="/root/MainScene" \
--condition="node.visible == false"
本技能与以下 Godot MCP 工具深度集成:
update_node_property - 更新单个节点属性get_node_properties - 获取节点属性list_nodes - 列出子节点create_node - 创建节点(批量创建时使用)claude godot --help 查看所有可用工具Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.