unity-behavior
Skill by Besty0728
Inspects and wires Unity Behavior graphs, BehaviorGraphAgent components and blackboard variables from an AI assistant. It is for Unity developers building NPC and AI decision logic.
Install unity-behavior
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Besty0728/Unity-Skills /tmp/Unity-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Unity-Skills/SkillsForUnity/unity-skills~/skills/behavior ~/.claude/skills/unity-behaviorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Besty0728/Unity-Skills /tmp/Unity-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Unity-Skills/SkillsForUnity/unity-skills~/skills/behavior ~/.gemini/antigravity-cli/skills/unity-behaviorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill connects an AI assistant to the Unity Behavior package (com.unity.behavior). It lists and inspects behavior graph assets, creates empty graphs, and adds BehaviorGraphAgent components to GameObjects with a graph bound in the same call. It also reads and writes blackboard variables, either as per-agent overrides or as shared graph asset defaults.
The package is optional. When it is missing, each skill returns a PACKAGE_NOT_INSTALLED response that points to package_install, and behavior_status reports whether it is installed. Node-level graph editing is not supported, so nodes must be authored in the Behavior editor window. The skill is aimed at Unity developers who want to inspect and wire up existing behavior graphs from their assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- behavior_statusReports whether the Behavior package is installed, its version and resolved core types.
- behavior_graph_listLists behavior graph assets with node and variable counts and runtime graph state.
- behavior_graph_infoSummarizes one graph's nodes, root count, blackboard variables and subgraph dependencies.
- behavior_graph_createCreates an empty behavior authoring graph at a given save path and forces a reimport.
- behavior_agent_addAdds a BehaviorGraphAgent to a GameObject and optionally binds a graph in one call.
- behavior_agent_set_graphBinds an existing graph asset to an agent and rejects graphs that have not been compiled.
- behavior_agent_listLists every BehaviorGraphAgent in the loaded scenes with bound graph and run state.
- behavior_blackboard_setSets one blackboard variable as an agent override or as a graph asset default.
What you need
- Unity with the com.unity.behavior package (validated against 1.0.16)
Try asking
- Show me all behavior graphs in the project and their blackboard variables
- Add a BehaviorGraphAgent to the Enemy GameObject and bind the patrol graph
- Set the alertRange blackboard variable to 12 on the guard agent
Good to know
- Node-level graph editing is not supported. Nodes must be authored in the Behavior editor window.
- Blackboard variables cannot be created, renamed, retyped or deleted, only assigned.
- behavior_graph_create makes an empty graph that still needs the editor window for nodes.
- Some internal package types may change in a package upgrade, which can return API_MISMATCH.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SkillsForUnity/unity-skills~/skills/behavior/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to unity-behavior
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
unity-behavior: common questions
Can this skill build a behavior tree from scratch?
No. It creates an empty graph, and node authoring must be done in the Behavior editor window. The source says node editing is excluded on purpose because it is risky to write directly.
What does the Behavior package version affect?
The skill was validated against Unity Behavior 1.0.16. If a skill returns API_MISMATCH, the installed package has a different member layout and the source advises reporting the version mismatch.
Does a blackboard change apply to every agent?
Writing with graphAssetPath changes the shared default for every agent without an override for that variable. Writing with a GameObject locator only changes that agent's override.
How do I install unity-behavior?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is unity-behavior free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is unity-behavior safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to unity-behavior?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
