/pixso:pixso-prototype-interactionsfrom pixso
Read, add, update, or delete Pixso prototype interactions via MCP tools. Handles navigation, overlays, component-state changes, scrolling, links, triggers, transitions, and timing. Excludes visual design and frontend code.
Ships in pixso. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use the external MCP tools get_prototype_context and apply_prototype_interactions, which execute through the Plugin API inside Pixso. Resolve client-specific tool prefixes, supported parameters, and enums from the current tool list. If either tool is unavailable, report the missing capability. Do not bypass it through eval_script, direct reactions access, or internal pixso.prototype methods.
Before the first Pixso MCP tool call in a task, you MUST call get_mcp_server_info once and keep the returned version and schema for the session. Check once per session; do not repeat it before every tool call. Some MCP hosts enforce the handshake gate and others do not, but the mandatory-call requirement still applies. If the call is unavailable, state that the handshake information is unavailable, never fabricate a version, and continue with the prototype task.
pixso-design-editing for that part and wait for its actual result before starting interactions. An interaction-only request does not create pages, change visual properties, or require design DSL references.write_contract, complete all discovery before writing, and await each write. Never write in parallel.RELATED_NODES and optionally omit node_ids. Explicit sources must also stay within the selection; do not expand scope through CURRENT_PAGE.file_key on every read and write. For specific sources, use RELATED_NODES with explicit node_ids. After verifying that all sources belong to one page, the tool activates that page before reading; the agent does not need a separate page-switch script. Obtain the file key from the user's link or verified tool context. Ask for it if missing; never guess.context_ids. Remote activation does not relax same-page destination rules. Local Desktop / VS Code sources must still belong to the active page.query_nodes within the smallest relevant scope. Reuse verified source IDs. If a shallow query misses a source, inspect the returned hierarchy using a finite deeper search; a shallow miss does not establish absence. Finding a destination frame does not identify the source control.node_ids identifies authorized source roots. Do not append destination IDs to expand the writable source scope. Eligible destinations on the same page may be outside the local source selection.CURRENT_PAGE only for an explicitly authorized operation on the current whole page, with operation_mode: AUTO_ADD for broad intelligent additions, BATCH_DELETE for page-wide deletion, or BOUNDED for bounded whole-page inspection or updates. Remote CURRENT_PAGE uses the session's active page: verify the returned current_page_id matches the intended page rather than assuming a user link aligned it. A page is not the whole file, and this mode must not be used to search for a named source.requires_selection, follow the returned guidance: local users can select specific layers; remote callers need explicit source nodes. Do not expand scope or switch write channels to bypass the restriction.The following are MCP argument examples. Replace all example file, node, and context identifiers with verified values for this operation. Keep file_key for remote calls; include it locally only if the tool schema supports it.
get_prototype_context:
{
"file_key": "verified-file-key",
"scope": "RELATED_NODES",
"node_ids": ["verified-source-root-id"],
"requested_destination_name": "Destination explicitly named by the user",
"response_language": "en-US"
}
Omit requested_destination_name when no destination was named; use the user's response language. A successful detailed read returns context_id, which writes must reference through context_ids. Inventory results, requires_batch_discovery, and supported=false do not authorize writes. Failed reads cannot be followed by a write.
Contexts belong to the same client, file, page, and source scope, and expire after at most 15 minutes. Read again when moving to another page, after sandbox replacement or page reload, or after expiry. For remote prototype_page_activation_failed or context_node_out_of_scope, stop the write flow and inspect the actual source/page error; do not bypass it with CURRENT_PAGE or a page-switch polling script. A single operation uses one context; batching uses every discovery batch's context. Never reuse identifiers from an earlier task or forge authorization through selectedFrames / context arguments.
NAVIGATE, OPEN_OVERLAY, and SWAP_OVERLAY must target a frame in destination_frame_discovery.eligible_frame_ids: an eligible top-level frame on the same page. Nested containers shown in nodes, frames, or the hierarchy are not automatically eligible.SWAP_STATE requires a verified exact component state; SCROLL_TO requires a target inside the source frame. If selected and unselected frames share a name, use the selected frame for the selected flow. An unselected duplicate requires an explicit user choice.requires_clarification=true or destination_question_contract.requires_question=true, ask before adding or changing a layer destination. Present every question_options label and description in its original order, including the create option, and preserve the mapping to actual frame IDs. Do not shorten, merge, or select options for the user.confirmed_destination_ids: ["frame-id-explicitly-chosen-by-user"] in the write. Never populate this from inference. It does not expand source scope.pixso-design-editing, wait for success, then reread the original source scope and resolve the new destination. Creation cannot replace destination clarification without authorization. If sources were replaced, verify their new scope rather than inventing a replacement mapping.destination_resolution, Question payloads, or handoff fields. External calls send only arguments accepted by the current schema.Intelligent additions require both control semantics and real destination evidence; do not maximize connection count. A name, icon, position, visual similarity, or product convention alone does not identify a destination. Evaluate each navigation item independently. Skip missing matching screens or component states rather than substituting another frame, and do not navigate to the source's own top-level frame. Bind one semantic container per visible control, not its text, icon, and wrapper simultaneously.
Generic addition preserves every existing event and occupied trigger, including empty or unsupported actions. Do not repair or delete them incidentally. Use mutations only when the user requests changes.
apply_prototype_interactions addition example, with an unambiguous destination:
{
"file_key": "verified-file-key",
"request_id": "unique-add-request-id",
"context_ids": ["context-id-from-current-read"],
"interactions": [{
"source_node_id": "verified-button-id",
"trigger": "ON_CLICK",
"action": "NAVIGATE",
"target_node_id": "verified-eligible-top-level-frame-id"
}]
}
Other actions include OPEN_OVERLAY, SWAP_OVERLAY, SWAP_STATE, SCROLL_TO, BACK, CLOSE_OVERLAY, and OPEN_URL. Links use url; back and close-overlay actions have no target. Use only supported triggers, transitions, and easing. Do not represent unsupported timelines or custom logic as ordinary interactions.
apply_prototype_interactions update example: change a previously read back event to navigation, moving in from the right over 350 ms with linear easing while preserving its trigger. The destination must already be unambiguous and eligible. Preset easing omits curve parameters:
{
"file_key": "verified-file-key",
"request_id": "unique-update-request-id",
"context_ids": ["context-id-from-current-read"],
"mutations": [{
"operation": "UPDATE_INTERACTION",
"source_node_id": "verified-source-id",
"interaction_id": "interaction-id-from-current-read",
"action": "NAVIGATE",
"target_node_id": "verified-eligible-top-level-frame-id",
"transition": "MOVE_FROM_RIGHT",
"duration_ms": 350,
"easing": "LINEAR"
}]
}
interaction_id and action_index from the current read, never guess an event ID from array order.APPEND_ACTION, REPLACE_ACTION, or DELETE_ACTION for individual actions. REORDER_ACTIONS needs the complete action_order. Submit at most one mutation for the same event in a batch.requires_explicit_action=true, explicitly provide a supported action; do not infer it from a missing value.duration_ms. Mouse enter/leave/down/up trigger timing and timeout delay use delay_ms. Directional transition wording does not imply a mouse trigger. Omit animation fields for actions without editable transitions.easing among the easing parameters, such as LINEAR or EASE_OUT_BACK, and omit easing_function; the tool generates the preset curve. This also applies when changing BACK to NAVIGATE. Do not copy the old action's curve or pass undefined, null, or an empty array for omitted parameters.easing and four finite easing_function values: [x1,y1,x2,y2] for CUSTOM_CUBIC, or [mass,stiffness,damping,0] for CUSTOM_SPRING. Follow the current schema's range and duration constraints. When editing other fields while preserving existing custom easing, omit easing fields so the tool can inherit the read curve; never invent parameters.For scope deletion, delete_scope must match the successful read's scope. Delete one specific event with a DELETE_INTERACTION mutation. Scope deletion cannot include interactions or mutations. The following example deletes events containing navigation actions within the read source scope; omit delete_filter only when the user requested all interactions in that scope.
apply_prototype_interactions:
{
"file_key": "verified-file-key",
"request_id": "unique-delete-request-id",
"context_ids": ["context-id-from-current-read"],
"delete_scope": "RELATED_NODES",
"delete_filter": { "actions": ["NAVIGATE"] }
}
write_contract.mode="single", submit the complete plan once within max_items, without batch metadata. Multiple selected frames do not require splitting. For an oversized plan or broad page task, read references/batching.md and complete explicit batch discovery before any write.request_id for each complete write or batch. Retry transport failures only when explicitly allowed by the tool, with bounded attempts and identical arguments, context IDs, and confirmations. Never replay a potentially applied write under a new ID.uncertain_source_node_ids is nonempty, state that the final interaction state is unverified; never claim the canvas was unchanged. For cumulative batch totals, use the last run_summary rather than summing cumulative values.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/pixso-code-to-designUse this skill before calling Pixso MCP `code_to_design` when the user asks to import or convert a web page URL, HTML, ZIP, static web artifact, or browser-rendered page into Pixso. Triggers include webpage to Pixso, URL/HTML/ZIP to Pixso, code_to_design, and import webpage into Pixso. URL input must be rendered/captured locally and packaged as a real `htmlBuffer`; never pass URLs directly or switch to approximate reconstruction without user confirmation./pixso-component-configGenerate or update Pixso Design-to-Code component parser JSON (`componentParsers` / component config) from the current Pixso desktop file, its local and subscribed-library component inventory, or an open source component library. Also used as the generate-config step inside the code-generation flow. Use when the user asks to create, extract, draft, validate, or update component parser config JSON. Always confirm the target code resource first, fetch current-file component facts through the Pixso MCP surface (`read_component_config_data`, `eval_script`, `query_nodes`, `get_node_dsl`), inspect representative node DSL before complex mappings, and never generate mappings from cached data, stale output, or guesses./pixso-design-editingUse when an agent needs to create, modify, inspect, or refine UI designs inside Pixso with Pixso MCP tools, including Pixso canvas editing, eval_script property edits, Pixso DSL or apply_design work, UI mockups, design review fixes, screenshot-based visual checks, node or frame updates, Pixso design drafts, interface design, visual mockups, canvas changes, or UI redesign requests.npx claudepluginhub pixsoltd/pixso-ai-integration --plugin pixsoOther plugins' skills for the same job