cocos-skills

Automate Cocos Creator scene, node, component, and asset tasks via CLI.

10|2|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/wanghaisheng/OpenAgenticGame-Studios --skill cocos-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cocos-skills
Source: https://github.com/wanghaisheng/OpenAgenticGame-Studios/tree/main/refenrece/skills/cocos-skills
Command: npx skills add https://github.com/wanghaisheng/OpenAgenticGame-Studios --skill cocos-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates repetitive tasks in Cocos Creator game development, streamlining workflows and reducing manual effort.

Core Features & Use Cases

  • Scene Management: Open, save, and query scene structures.
  • Node & Component Operations: Create, modify, and bind nodes and components programmatically.
  • Resource Handling: Import, create, and manage game assets.
  • Use Case: Quickly create 100 prefabs from a data file, or automatically update a specific property across all UI elements in your game.

Quick Start

Use the cocos-skills tool to open the scene 'db://assets/scenes/Main.scene'.

Frequently Asked Questions about cocos-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate scene manipulation in Cocos Creator?

Automate Cocos Creator scenes via CLI by opening, saving, and querying scene structures. It leverages HTTP-based editor control for real-time modifications during programmatic game development.

Can I create 100 prefabs from a data file automatically in Cocos Creator?

Yes, Cocos Creator CLI automation supports batch resource handling to import, create, and manage game assets, enabling rapid prefab generation from data files to reduce manual effort.

What is the best way to update a specific property across all UI elements in a Cocos Creator game?

Use CLI automation for node and component operations to programmatically modify and bind properties. This automatically updates specific attributes across all targeted UI elements in your Cocos Creator game.

Does Cocos Creator CLI automation require any specific dependencies or editor plugins?

No specific dependencies or plugins are required. Cocos Creator CLI automation directly integrates with the editor's built-in HTTP-based control protocol to execute command-line tasks for real-time modifications.

How do I programmatically bind components to nodes in Cocos Creator?

Execute CLI commands for node and component operations to programmatically bind components in Cocos Creator. This enables automated creation, modification, and property setting without manual editor interaction.