galaxy-units-and-groups

Automates StarCraft II Galaxy unit and group creation and management scripts.

3|2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/ShadowDragonSC2/Base.SC2Data --skill galaxy-units-and-groups-shadowdragonsc2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: galaxy-units-and-groups
Source: https://github.com/ShadowDragonSC2/Base.SC2Data/tree/main/.koda/skills/galaxy-units-and-groups
Command: npx skills add https://github.com/ShadowDragonSC2/Base.SC2Data --skill galaxy-units-and-groups-shadowdragonsc2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unit creation and management in Galaxy scripts are complex and repetitive; this skill consolidates common tasks for creating, configuring, grouping, and handling unit events in StarCraft II mods.

Core Features & Use Cases

Core features include:

  • Unit creation and property manipulation (HP, shields, energy)
  • Applying and querying behaviors
  • XP/leveling and death/kill events
  • Unit grouping, ordering, and cargo data access
  • Custom data slots for per-unit values Use cases include building custom units for maps, implementing squad behavior, and tracking progression across battles.

Quick Start

Create a Marine unit, set its HP to 100, place it in a group, and apply a basic behavior for testing.

Frequently Asked Questions about galaxy-units-and-groups

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

FAQPage Schema
How do I create units and configure HP, shields, and energy in StarCraft II Galaxy scripts?

To create units in StarCraft II Galaxy scripts, you can automate unit creation and manipulate their properties by setting HP, shields, and energy values. This skill provides usage patterns for configuring these core unit attributes directly.

Can I manage unit groups and issue orders using the SC2 Galaxy API?

Yes, you can manage unit groups and issue orders using the SC2 Galaxy API. This skill automates unit grouping and ordering, allowing you to handle squad behaviors and coordinate multiple units effectively within your custom maps.

How does XP leveling and death event tracking work for custom units in Galaxy scripting?

XP leveling and death event tracking in Galaxy scripting work by handling specific unit events as they occur during gameplay. This skill allows you to monitor kill events and track progression across battles to implement custom leveling systems.

What's the best way to apply and query behaviors on units in SC2 mods?

The best way to apply and query behaviors on units in SC2 mods is through the Galaxy scripting API. This skill consolidates behavior application and querying into clear usage patterns, simplifying the process of adding status effects to custom units.

Does this Galaxy scripting approach support accessing cargo data and custom unit values?

Yes, this Galaxy scripting approach supports accessing cargo data and custom unit values. You can utilize custom data slots for per-unit values and handle cargo data access, enabling complex unit interactions and transport mechanics in your maps.

Are there safety considerations when manipulating units and events in StarCraft II Galaxy scripts?

There are safety considerations when manipulating units and events in StarCraft II Galaxy scripts. This skill provides clear usage patterns and safety considerations to prevent errors during unit creation, grouping, and event handling.