Tooluck logoTooluck
SKILL.md

unity-component

Agent skill fromBesty0728/Unity-Skills

Manage GameObject components

How to install unity-component

install unity-component
# install the Unity-Skills pack with the skills CLI
npx skills add Besty0728/Unity-Skills

# or add only this skill to Claude Code: copy the folder

SkillsForUnity/unity-skills~/skills/component/

# into

~/.claude/skills/component/ (all projects)

.claude/skills/component/ (one project)

SkillsForUnity/unity-skills~/skills/component/SKILL.md

MITFull file
1## Triggers
2- Attaching or removing components
3- Copying components between objects
4- Toggling components
5- Reading/writing serialized fields
6- 挂载或移除组件、在对象间复制组件、开关组件、读写序列化字段
7
8# Unity Component Skills
9
10Add, remove, copy, toggle and edit components. Parameters come from the schema (recommend `includeSchema=true` or `/skills/schema?names=`), which notes the non-obvious ones — never from a skill's name. Execution, dryRun and verification rules: root [SKILL.md](../../SKILL.md).
11
12## Operating Mode
13`component_list`, `component_get_methods`, `component_get_methods_batch`, `component_get_properties`, `component_get_serialized_properties` are `SemiAuto` (read-only); every writer is `FullAuto`. `component_remove` / `component_remove_batch` (`Operation.Delete`) and `component_invoke_method*` (high risk) are NeverInSemi: `MODE_FORBIDDEN` under Approval/Auto, run only under Bypass or an Allowlist hit → [operating mode](../../references/protocol-operating-mode.md).
14
15## Shared rules
16
17- **Targets**: single-object skills take `name`, `instanceId` or `path` (plus `entityId`, resolved to the path), matched like GameObjects: an ambiguous fuzzy name returns `TARGET_NOT_FOUND` with `candidates`, non-exact matches are listed in `resolutionNotes`. Batch items take only `name` / `instanceId` / `path`: an `entityId` item key is ignored (named in `warnings`), so the item finds no target. `component_copy*` use `source*` / `target*` identifiers.
18…

Excerpt shown under the repository's MIT license.

More skills in Unity-Skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates