unity-component

Add, remove, and configure components on Unity GameObjects.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/krl76/MP-Study-Projects --skill unity-component-krl76
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-component
Source: https://github.com/krl76/MP-Study-Projects/tree/main/Practice1/.codex/skills/unity-skills/skills/component
Command: npx skills add https://github.com/krl76/MP-Study-Projects --skill unity-component-krl76

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Game developers often spend time manually adding, removing, and configuring components on Unity GameObjects, leading to repetitive work and potential mistakes during iteration.

Core Features & Use Cases

  • Add, remove, and configure components on single or multiple GameObjects, with guidance for common components like Rigidbody, Collider, and AudioSource.
  • Batch operations to apply changes across multiple objects efficiently, reducing API calls and ensuring consistency.
  • Use cases include setting up physics components for a level, enabling/disabling components for state transitions, and cloning component configurations across objects.

Quick Start

Identify the target GameObject by name, instanceId, or path and call the unity-component skill to add or configure a component on it.

Frequently Asked Questions about unity-component

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

FAQPage Schema
How do I manage Unity GameObject components in batch?

Batch manage Unity GameObject components by applying add, remove, or configure operations across multiple objects identified by name, instanceId, or path to reduce API calls and ensure scene consistency.

What is the best way to add a Rigidbody to multiple Unity GameObjects?

Add a Rigidbody to multiple Unity GameObjects by identifying target objects via path or instanceId and applying the component configuration as a batch operation to ensure consistent physics setup across the scene.

Can I configure AudioSource and Collider components on Unity GameObjects programmatically?

Configure AudioSource and Collider components on Unity GameObjects programmatically by targeting specific objects and applying the desired settings with built-in guardrails to prevent invalid operations.

Does Unity component automation support identifying objects by instanceId or path?

Unity component automation supports identifying target GameObjects by name, instanceId, or path, allowing precise selection for adding, removing, or configuring components safely.

How to prevent invalid operations when modifying Unity GameObject components?

Prevent invalid operations when modifying Unity GameObject components by using automation guardrails that ensure safe component manipulation and protect against incorrect additions or removals during batch processing.