{"id":125956,"plugin_id":"plugin_asdk_app_6adb8666acc8819194afd4efc2c6b9f1","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-30T15:12:47.995Z","digest":"55c00165e2bfc67af544d6f4d458292c5f787a8c03d5d64bb6f6a42f28abd58b","against":null,"payload":{"description":"Cyango MCP: edit a live Cyango story through the batched MCP tools. Use for any Cyango MCP or bridge work, and for story-editing asks that never say \"MCP\": scenes, GUI and 3D layout, models and splats, lights, actions, timelines, custom code, prefabs, assets, xr/stores shops and products.","included_files":[{"relative_path":"references/actions/actions.md","size_in_bytes":11502},{"relative_path":"references/assets/assets-common.md","size_in_bytes":12873},{"relative_path":"references/custom-code.md","size_in_bytes":26473},{"relative_path":"references/cyango-shared-types.md","size_in_bytes":86410},{"relative_path":"references/entities/animated/animated-common.md","size_in_bytes":3592},{"relative_path":"references/entities/common.md","size_in_bytes":5671},{"relative_path":"references/entities/gui/gui-common.md","size_in_bytes":4750},{"relative_path":"references/entities/gui/gui-properties.md","size_in_bytes":22507},{"relative_path":"references/entities/lights/lights-common.md","size_in_bytes":2352},{"relative_path":"references/entities/models/models-common.md","size_in_bytes":6878},{"relative_path":"references/entities/non-gui-defaults.md","size_in_bytes":7529},{"relative_path":"references/entities/primitives/primitives-common.md","size_in_bytes":3438},{"relative_path":"references/entities/small-families.md","size_in_bytes":6589},{"relative_path":"references/payloads.md","size_in_bytes":8542},{"relative_path":"references/scenes/scenes.md","size_in_bytes":6407},{"relative_path":"references/timeline/timeline.md","size_in_bytes":12461},{"relative_path":"references/xr-stores/xr-stores.md","size_in_bytes":6902},{"relative_path":"rules/batching-and-verification.md","size_in_bytes":8141},{"relative_path":"rules/entity-choice.md","size_in_bytes":6003},{"relative_path":"rules/gui-design-best-practices.md","size_in_bytes":11720},{"relative_path":"rules/gui-desktop-first.md","size_in_bytes":3410},{"relative_path":"rules/hierarchy-and-coordinates.md","size_in_bytes":4426}],"name":"cyango-mcp","skill_md_contents":"---\nname: cyango-mcp\ndescription: 'Cyango MCP: edit a live Cyango story through the batched MCP tools. Use for any Cyango MCP or bridge work, and for story-editing asks that never say \"MCP\": scenes, GUI and 3D layout, models and splats, lights, actions, timelines, custom code, prefabs, assets, xr/stores shops and products.'\n---\n\n**@cyango-tools/skills version:** `1.5.29`\n\n# Cyango MCP Skill\n\nWrite tools are plural and batched: `add_entities`, `remove_entities`, `update_entities`, `add_scenes`, `remove_scenes`, `update_scenes`. `add_scene`, `remove_scene` and `update_scene` are one-scene wrappers over the same protocol. Single-write bridge commands (`addEntity`, `updateScene`, …) do not exist in protocol v8.\n\nUtility tools: `bridge_status` (connection, connected app, queue depth, protocol version), `validate_patch` (check property paths offline, no editor round-trip), `instantiate_prefab`, `list_assets` / `insert_assets` / `upload_assets` / `remove_assets`, `list_asset_providers` / `search_provider_assets` for free stock assets, `get_story_state`.\n\nxr/stores tools: `list_ecommerce_stores`, `list_store_products`, `set_story_ecommerce_store`, `assign_products`, `add_product_entities`, and the catalog tools `create_products`, `update_products`, `delete_products`, `move_products`. Read [xr-stores.md](references/xr-stores/xr-stores.md) first.\n\nCopy payload shapes from [payloads.md](references/payloads.md) rather than assembling them from field tables.\n\n**Every field shape is in [cyango-shared-types.md](references/cyango-shared-types.md)**, generated from the types the editor itself runs on. Grep it by name (`interface IModal`, `enum ActionType`); it is 2000+ lines, so never read it whole.\n\n## Three words this skill runs on\n\n- **Wave**: every write of one kind for one change, sent in one call.\n- **Slot**: the `<breakpoint>.<state>` address a GUI value lives in. Nothing renders from a bare path.\n- **Leaf**: an entity type that takes no children. Parenting to a leaf reports success and drops the entity at the scene root.\n\n## Hard rules\n\n1. **One wave per operation type.** Every create in one `add_entities`, every patch in one `update_entities`, every removal in one `remove_entities`. Fragmented sequences destabilise the editor. See [batching-and-verification.md](rules/batching-and-verification.md).\n2. **GUI values live in a slot**: `gui.currentValue.<breakpoint>.<state>.<prop>`. Fill `desktop.default` first. See [gui-desktop-first.md](rules/gui-desktop-first.md).\n3. **Read [gui-properties.md](references/entities/gui/gui-properties.md) for every `GUI_*` in the change set**, including its [type defaults](references/entities/gui/gui-properties.md#type-defaults). Unset keys still render via component fallbacks, so the viewport never matches the JSON. Use only the values listed there. Stray CSS keywords (`none`, `inherit`) can crash Yoga/uikit.\n4. **Read [non-gui-defaults.md](references/entities/non-gui-defaults.md) for every non-GUI type** in the change set before you assume what a created entity contains.\n5. **Roots are world space, children are local to the parent.** See [hierarchy-and-coordinates.md](rules/hierarchy-and-coordinates.md).\n6. **Reparent by patching `parentEntityId`** (`\"\"` for scene root). The editor owns `children`.\n7. **Most types are leaves.** Check [which types accept children](references/entities/common.md#which-types-accept-children) before you parent anything. Pair a leaf with its companions as siblings in a `GROUP`.\n8. **Size primitives with `scale`.** `geometry` fields are export metadata and do not resize the viewport mesh.\n9. **Size world-space GUI with GUI `width` / `height`**, and keep `scale` at `[1, 1, 1]`.\n10. **Omit `scale` for unknown GLBs** in `insert_assets`. Passing `[1,1,1]` suppresses the editor's own normalisation.\n11. **Icons are `GUI_ICON`** with a Lucide `iconSrc`, sized by `iconSize`, never a glyph in a `GUI_TEXT`. See [icons](rules/gui-design-best-practices.md#icons-use-gui_icon-never-a-glyph-in-gui_text).\n12. **Let the editor infer entity type from an asset.** Pass `forceEntityType` only for the cases listed in [assets-common.md](references/assets/assets-common.md#image-and-video-entity-types--trust-the-editor-flat_-scope). `FLAT_IMAGE` / `FLAT_VIDEO` belong inside flat scenes only. For a poster or billboard in a 3D tour use `GUI_IMAGE`, a textured `PRIMITIVE_*`, or a model.\n13. **`LOTTIE` renders through the GUI stack**, so it takes slots like `GUI_IMAGE` despite having no `GUI_` prefix.\n14. **Custom code is the last resort.** Run the decision flow in [entity-choice.md](rules/entity-choice.md) first, then read [custom-code.md](references/custom-code.md) before you write any of the three surfaces.\n15. **Scene switches gate entity features**: entity `physics` needs scene `physics.enabled`, light `castShadow` needs scene `shadowsEnabled`.\n16. **Ground every field you write.** These pages cover behaviour, not every shape. When a field's shape is not spelled out here, get it in this order: grep [cyango-shared-types.md](references/cyango-shared-types.md) for the type name, then `get_entity` on something already using the feature, then `validate_patch` on the path. Ask the user when none of the three settles it.\n\nTypes that no longer exist: `EMBED_*` entities and `LIVESTREAM_*` scenes. Older stories may still contain them; never create new ones.\n\n### Entity roles\n\n| Entity | Role | Create it? |\n|--------|------|------------|\n| `GUI_SCREEN` | Viewport anchor; screen-space GUI parents here | No, one per scene, created automatically |\n| `GUI_CONTAINER` | Root and layout box of any GUI tree (`<div>`) | Yes, put `GUI_*` children in this, not in a `GROUP` |\n| `GROUP` | Frame for non-GUI or mixed 3D + GUI composites | Yes |\n\n## What to read for the task at hand\n\n| The user asks for… | Read |\n|--------------------|------|\n| Any write at all | [payloads.md](references/payloads.md) for the shape, [batching-and-verification.md](rules/batching-and-verification.md) for the order |\n| A button, menu, panel, HUD, overlay, modal | [gui-design-best-practices.md](rules/gui-design-best-practices.md#recipes) → [gui-properties.md](references/entities/gui/gui-properties.md) |\n| An icon, close/back/play control | [gui-design-best-practices.md](rules/gui-design-best-practices.md#icons-use-gui_icon-never-a-glyph-in-gui_text) |\n| Responsive / mobile / tablet layout | [gui-desktop-first.md](rules/gui-desktop-first.md) |\n| A new scene, scene settings, navigation between scenes | [scenes.md](references/scenes/scenes.md) |\n| Click behavior, show/hide, go-to-scene, media control, GPS | [actions.md](references/actions/actions.md) |\n| Which entity type or custom-code surface to use | [entity-choice.md](rules/entity-choice.md) → then [custom-code.md](references/custom-code.md) if code is needed |\n| Custom JavaScript, story Head/Footer code | [custom-code.md](references/custom-code.md) |\n| Importing files, placing existing assets | [assets-common.md](references/assets/assets-common.md) |\n| Stock photos, videos, HDRIs or models the user does not have | [assets-common.md](references/assets/assets-common.md#provider-public-assets), `list_asset_providers` → `search_provider_assets` → `insert_assets` |\n| A 3D model, a splat scan | [models-common.md](references/entities/models/models-common.md) |\n| A Lottie or spritesheet animation | [animated-common.md](references/entities/animated/animated-common.md) |\n| Cubes, spheres, planes and their materials | [primitives-common.md](references/entities/primitives/primitives-common.md) |\n| Lighting, shadows | [lights-common.md](references/entities/lights/lights-common.md) |\n| A 360° tour, panorama scenes | [small-families.md](references/entities/small-families.md#panorama--panorama-panorama_video-panorama_180-panorama_180_video) + [scenes.md](references/scenes/scenes.md) |\n| Audio, 3D text, skybox/HDR, maps, subtitles, groups, camera/player | [small-families.md](references/entities/small-families.md) |\n| Keyframes, timing, media clips | [timeline.md](references/timeline/timeline.md) |\n| Overlapping or z-fighting surfaces, draw order | [common.md](references/entities/common.md#render-order) |\n| A shop, products, the product catalog, prices, \"buy\" or \"add to cart\" buttons, xr/stores templates | [xr-stores.md](references/xr-stores/xr-stores.md) |\n| A prefab placed in a scene | `instantiate_prefab`; prefab bundling notes in [custom-code.md](references/custom-code.md) |\n| The core entity model, visibility flags, `IEntity` fields | [common.md](references/entities/common.md) |\n| Something that \"didn't work\" or looks wrong | [batching-and-verification.md](rules/batching-and-verification.md#symptom--cause--fix) |\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}