unity-component

Add, remove, and configure components on Unity GameObjects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/mandexonla/Top-Down-Template --skill unity-component-mandexonla
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-component
Source: https://github.com/mandexonla/Top-Down-Template/tree/main/.codex/skills/unity-skills/skills/component
Command: npx skills add https://github.com/mandexonla/Top-Down-Template --skill unity-component-mandexonla

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill centralizes adding, removing, listing, and configuring Unity components on GameObjects to eliminate repetitive inspector edits, reduce human error, and streamline multi-object workflows.

Core Features & Use Cases

  • Add/Remove Components: Add or remove component types like Rigidbody, Collider, AudioSource, and custom scripts using exact type names.
  • Inspect & Edit Properties: Read all properties from a component, set single properties or multiple properties in batch, and support values as basic types, Vector3/Color, scene references, or project asset paths.
  • Batch Operations & Copying: Perform component_add_batch, component_remove_batch, and component_set_property_batch to operate on many objects in a single call and copy components between GameObjects.
  • Control & Validation: Enable/disable behaviours or renderers, verify additions with component_list and component_get_properties, and follow guardrails such as case-sensitive componentType names and required identifiers.
  • Use Case: Efficiently add Rigidbody to a group of environment objects, set masses consistently, and verify component presence before runtime.

Quick Start

Add a Rigidbody to multiple objects and then set each Rigidbody's mass to 2.0 using the batch add and batch property set skills.

Frequently Asked Questions about unity-component

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

FAQPage Schema
How do I batch add Rigidbody components to multiple Unity GameObjects?▼

Batch add Rigidbody components to Unity GameObjects using the component_add_batch operation to automate inspector tasks across multiple objects in a single call. This Skill accepts object identifiers like name, instanceId, or hierarchy path and enforces case-sensitive componentType names.

Can I set component properties on multiple Unity objects at once?▼

Set component properties on multiple Unity objects simultaneously using component_set_property_batch to apply values across many GameObjects in a single call. This Skill supports direct values, Vector3/Color types, scene references, and project asset paths for property configuration.

What's the best way to copy a component from one Unity GameObject to another?▼

Copy a component between Unity GameObjects using this Skill's built-in component copying functionality to read source properties and apply them to target objects. This approach streamlines multi-object workflows and reduces repetitive manual inspector edits.

How do I list and verify components on a Unity GameObject?▼

List and verify components on a Unity GameObject using the component_list and component_get_properties operations to read all properties and validate component presence. These operations confirm additions and configurations before runtime adjustments.

Does managing Unity components with this Skill work at runtime?▼

Managing Unity components with this Skill works at runtime for property adjustments including enabling and disabling behaviours or renderers. It applies to Unity Editor workflows for single-object edits, batch scene setup operations, and runtime property modifications.

Why are my component additions not working in Unity?▼

Component additions may fail because Unity requires case-sensitive componentType names enforced by this Skill for Rigidbody, Collider, AudioSource, and custom scripts. Always provide exact type names and valid identifiers like name, instanceId, or hierarchy path.