unity-scriptableobject
Skill7 starsChanged 7 months agoMITView on GitHub
Use when users want to create, read, or modify ScriptableObject assets.
In this repository34 other files it gives its agents.
- unity-mcp-skillsSkill
- unity-animatorSkill
- unity-assetSkill
- unity-cameraSkill
- unity-cinemachineSkill
- unity-cleanerSkill
- unity-componentSkill
- unity-consoleSkill
- unity-editorSkill
- unity-eventSkill
- unity-gameobjectSkill
- unity-importerSkill
- unity-lightSkill
- unity-materialSkill
- unity-navmeshSkill
- unity-optimizationSkill
- unity-packageSkill
- unity-perceptionSkill
- unity-physicsSkill
- unity-prefabSkill
- unity-probuilderSkill
- unity-projectSkill
- unity-sceneSkill
- unity-scriptSkill
- unity-shaderSkill
- unity-smartSkill
- unity-terrainSkill
- unity-testSkill
- unity-timelineSkill
- unity-toolingSkill
- unity-uiSkill
- unity-uitoolkitSkill
- unity-validationSkill
- unity-xrSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Create and manage ScriptableObject assets.
- Distinctive: line 28
Create a new ScriptableObject asset.
- Distinctive: line 66
Delete a ScriptableObject asset.
- Distinctive: line 96
Import JSON data into a ScriptableObject.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ScriptableObject Skills
Overview
Create and manage ScriptableObject assets.
Common Mistakes
DO NOT (common hallucinations):
scriptableobject_create_typedoes not exist → create SO scripts viascript_createwith template "ScriptableObject"scriptableobject_get_properties/scriptableobject_readdo not exist → usescriptableobject_getscriptableobject_set_property/scriptableobject_set_fielddo not exist → usescriptableobject_set(single field) orscriptableobject_set_batch(multiple fields)scriptableobject_savedoes not exist → changes are auto-saved to the asset
Routing:
- For ScriptableObject script creation → use
scriptmodule with template "ScriptableObject" - For JSON import/export →
scriptableobject_import_json/scriptableobject_export_json(this module)
Skills
scriptableobject_create
Create a new ScriptableObject asset. Parameters:
typeName(string): ScriptableObject type name.savePath(string): Asset save path.
scriptableobject_get
Get properties of a ScriptableObject. Parameters:
assetPath(string): Asset path.
scriptableobject_set
Set a field/property on a ScriptableObject. Parameters:
assetPath(string): Asset path.fieldName(string): Field or property name.value(string): Value to set.
scriptableobject_list_types
List available ScriptableObject types in the project. Parameters:
filter(string, optional): Filter by name.
scriptableobject_duplicate
Duplicate a ScriptableObject asset. Parameters:
assetPath(string): Source asset path to duplicate.
scriptableobject_set_batch
Set multiple fields on a ScriptableObject at once. fields: JSON object {fieldName: value, ...}
| Parameter | Type | Required | Default | Description |
| assetPath | string | Yes | - | Asset path of the ScriptableObject |
| fields | string | Yes | - | JSON object with field-value pairs, e.g. {"fieldName": "value", ...} |
Returns: { success, fieldsSet }
scriptableobject_delete
Delete a ScriptableObject asset.
| Parameter | Type | Required | Default | Description |
| assetPath | string | Yes | - | Asset path of the ScriptableObject to delete |
Returns: { success, deleted }
scriptableobject_find
Find ScriptableObject assets by type name.
| Parameter | Type | Required | Default | Description |
| typeName | string | Yes | - | ScriptableObject type name to search for |
| searchPath | string | No | "Assets" | Folder path to search within |
| limit | int | No | 50 | Maximum number of results to return |
Returns: { success, count, assets }
scriptableobject_export_json
Export a ScriptableObject to JSON.
| Parameter | Type | Required | Default | Description |
| assetPath | string | Yes | - | Asset path of the ScriptableObject to export |
| savePath | string | No | null | File path to save the JSON output; if omitted, JSON is returned inline |
Returns: { success, path } or { success, json }
scriptableobject_import_json
Import JSON data into a ScriptableObject.
| Parameter | Type | Required | Default | Description |
| assetPath | string | Yes | - | Asset path of the target ScriptableObject |
| json | string | No | null | JSON string to import |
| jsonFilePath | string | No | null | Path to a JSON file to read and import |
Returns: { success, assetPath }
Example Usage
See ../../recipes/scriptableobject/<command>.md for C# templates.
Recipe path rule: ../../recipes/scriptableobject/<command>.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

