[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BY1QZGC2VKBYV4GESY8DE5":3,"skill-same:01M6BY1QZGC2VKBYV4GESY8DE5":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":13,"ownerDescription":61,"updatedAt":62,"install":63,"resources":75},"01M6BY1QZGC2VKBYV4GESY8DE5","nodetool-app-builder","NodeTool 迷你应用构建","Build or repair a NodeTool mini app: operations, widgets, bindings, variables, resources. Use when the deliverable is a screen a person runs, not a graph.","构建或修复 NodeTool 迷你应用：操作、部件、绑定、变量、资源。当交付物是供人运行的界面而非图（graph）时使用。","nodetool-ai\u002Fnodetool","nodetool-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F164873569?v=4","01M6BXPFDW36K9K1MR8ZH63HG2","nodetool.ai","01M6BXPFJ893XM219GQN60B0WK",635,"AGPL-3.0",null,"https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fnodetool-app-builder\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BWKS60NTYJHFE9FQSXGDKS","低代码应用开发","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"nodetool app builder","nodetool","builder","app builder","app","repair","when","person","true","Variables","resources","screen","widgets","build","use","operations","graph","2026-11-10 10:12:30",false,"---\nname: nodetool-app-builder\ndescription: \"Build or repair a NodeTool mini app: operations, widgets, bindings, variables, resources. Use when the deliverable is a screen a person runs, not a graph.\"\nfeatured: true\n---\n\n# Build NodeTool mini apps\n\nA mini app is a screen over one or more workflows: widgets bound to Input and\nOutput nodes, a run trigger, and the variables that hold what the app remembers.\nThe graph stays the graph. The app is a second document (`ApplicationDocument`)\nthat names it.\n\nUse this skill when the user wants something to click. Use\n`nodetool-workflow-builder` when the deliverable is the graph itself, and fix\nthe graph there first: an app over a broken workflow only reports that the app\nis broken.\n\n## The workflow decides what the app can do\n\nBefore placing a widget, confirm the bound workflow satisfies all four. Each one\nis a wiring failure the app surface cannot work around.\n\n1. Anything the user changes needs an **Input node**. The exception is a node\n   setting, reachable through an `op:\u003Cid>\u002Fprop:\u003CnodeId>#\u003Cprop>` binding.\n2. Anything the user sees needs an **Output node**. A graph that ends without\n   one produces nothing an app can display.\n3. Every input needs a default, so the first run is one click.\n4. Run the workflow on its own first (`nodetool debug`, or `run_workflow`).\n\n## The loop\n\n1. **Find or create the app.** `list_apps`, then `get_app`. New app:\n   `create_app {name, description, project_id?, from_workflow_id?}`.\n   `from_workflow_id` binds the first operation, so there is something to run\n   the moment a widget lands.\n2. **Read the editor.** `edit_app {application_id, steps: []}` with no steps\n   returns the tool catalog and the app's current state. Do this before the\n   first edit in a session rather than guessing a schema.\n3. **Declare the operations.** One operation is one workflow plus its wiring\n   (`ui_app_add_operation`). An app with several modes has several operations,\n   each with its own state.\n4. **Read the bindable surface.** `ui_app_get_binding_targets` lists the inputs,\n   outputs, node settings and variables that exist. It covers the workflows\n   the app's operations name; to bind a workflow the app does not use yet,\n   pass it in `edit_app {workflow_ids: [...]}`. Bindings point at node\n   **ids**, so a rename in the graph editor never breaks the app. Never invent a\n   binding string.\n5. **Place and wire the widgets.** `ui_app_add_component` \u002F\n   `ui_app_update_component`, plus `ui_app_declare_variable` for anything the\n   app remembers and `ui_app_add_resource` for a document it reads or edits.\n   Read **Mini app contract** below for the widget catalog, binding forms,\n   actions, conditions and format filters.\n6. **Check the wiring.** `debug_app {application_id, run: false}`. Free,\n   instant, and the only thing that catches a binding pointing at nothing. Run\n   it after every edit pass.\n7. **Run it.** `debug_app {application_id, interact: [...]}` executes the real\n   workflows and spends real money. `run` defaults to `true`, so a bare\n   `debug_app {application_id}` also runs them. Confirm with the user before a\n   run that calls paid models, and run it to confirm the app works, not to\n   explore. A long run takes minutes: raise `timeout_ms`. `poll: true` returns\n   a session id that only the HTTP API (`GET \u002Fapi\u002Fdebug\u002Fsessions\u002F\u003Cid>`) reads,\n   and no agent tool does.\n8. **Report** the app id, its operations, and the verdict. Do not claim an app\n   works on a `run: false` check alone.\n\n`edit_app` applies its steps in order against the saved document and writes once\nat the end. Pass `base_updated_at` to refuse the save if the app changed\nunderneath. With the app open in a browser, the same tools are callable directly\nas `ui_app_*` against the live document.\n\n## Four verdict failures that are not about the graph\n\n`debug_app` reports these, and each one is an app-layer mistake with a fixed\nremedy.\n\n| Verdict | What it means | Fix |\n|---|---|---|\n| Binding references a missing input\u002Foutput\u002Fvariable | The widget points at a node the workflow no longer has | Re-read `ui_app_get_binding_targets` and rebind |\n| No run trigger | Nothing in the app can start an operation | Add a Button with a `run` action, or a change event |\n| Display widget never receives a value | The bound output produced nothing on a completed run | Check the Output node is connected in the graph |\n| Output mapped to an undeclared variable | An operation writes a variable that does not exist | `ui_app_declare_variable` first |\n\n## Three warnings that only bite a real user\n\nStructural checks pass and the app still fails the person using it. Fix these\nbefore handing an app over.\n\n- **A run button with no `disabledWhen` on `op:\u003Cid>\u002Fexec#running`.** No policy\n  refuses the second click, so the user drives a race: the run is cancelled and\n  restarted, stacked, or started alongside, depending on the operation's\n  concurrency rule.\n- **An operation with nothing bound to `exec#error`.** The run fails and the app\n  looks idle. Bind a Text or Markdown widget to the error field.\n- **A media input widget with no default behind an unguarded run trigger.**\n  Image, Sketch Pad, Camera Capture, Audio, Audio Recorder, Video and Document\n  all let the run start with the input unset, which is a paid call the user\n  never got to fill in. Guard the trigger with a `notEmpty` condition. A\n  Workflow Form is exempt: it renders every input of its operation, so there is\n  no single binding to guard.\n\n## What the headless check does not simulate\n\nLayout, styling, focus and scroll. Stored resource collections: a run never\nreads the database, so seed one with `{\"seedResource\": {\"id\": \"\u003Cbinding>\",\n\"items\": [...]}}` as an interaction step or a `resource:\u003Cbinding>` key in\n`params`. `openResource` has no editor to open. The report lists all of this\nunder `notSimulated` — read it before reporting a green verdict.\n\n## Shipping\n\n- `nodetool apps export-bundle \u003Cid> -o my.app.json` packages the app plus the\n  full graph of every workflow it binds. `apps import-bundle` recreates both and\n  rewrites the bundle-local workflow keys to real ids.\n- **Publish** takes a snapshot: it saves the current screen as a version and\n  locks in the current graph of every workflow the app runs, so a released app\n  keeps working while the drafts keep moving. A spending limit caps what it may\n  cost, and every run counts against it (`applications.publish`, `released`,\n  `budget`, `usage` on tRPC).\n- Shipped examples: `GET \u002Fapi\u002Fapplications\u002Fexamples`, installed with\n  `POST \u002Fapi\u002Fapplications\u002Fexamples\u002F:slug\u002Finstall`.\n- `nodetool app build \"\u003Cprompt>\" -p \u003Cprovider> -m \u003Cmodel>` runs the whole\n  spec → plan → author → check → run → judge loop and emits a verified bundle.\n  It is a batch build for the CLI and the eval suite. **There is no `build_app`\n  agent tool**: an agent builds an app the way a person does, with `create_app`,\n  `edit_app` and `debug_app`.\n\n## Reference\n\n**Mini app contract** below carries the widgets, bindings, actions,\nconditions, format filters and document shape.\n\nIn a NodeTool checkout, these repository sources go further:\n\n- `docs\u002Fmini-apps-guide.md` — eleven worked recipes, from a one-shot form to a\n  chat app.\n- `docs\u002Fmini-apps-reference.md` — every widget and setting in full.\n- `docs\u002Fharnesses.md` § nodetool app debug — the harness, its bundle layout,\n  and the build loop.\n\n## Mini app contract\n\nThe parts an app is assembled from. A checkout's\n`docs\u002Fmini-apps-reference.md` carries every widget and setting in full.\n\n### Tools\n\nEvery tool takes `application_id`. A workflow id is never accepted: the\nworkflows an app runs are named by `target_workflow_id` on its operations.\n\n| Area | Tools |\n|---|---|\n| Layout | `ui_app_get_snapshot`, `ui_app_list_component_types`, `ui_app_add_component`, `ui_app_update_component`, `ui_app_remove_component`, `ui_app_select_component`, `ui_app_set_title` |\n| Operations | `ui_app_list_operations`, `ui_app_add_operation`, `ui_app_update_operation`, `ui_app_remove_operation` |\n| Variables | `ui_app_list_variables`, `ui_app_declare_variable`, `ui_app_update_variable`, `ui_app_remove_variable` |\n| Resources | `ui_app_list_resources`, `ui_app_add_resource`, `ui_app_remove_resource` |\n| Bindings | `ui_app_get_binding_targets` |\n\nHeadless, each is a step in `edit_app {application_id, steps: [{tool, input}]}`.\nThe `ui_app_` prefix is optional in a step. With the app open in a browser they\nare callable directly.\n\n### Bindings\n\n| Binding | Points at |\n|---|---|\n| `op:\u003CopId>\u002Fin:\u003CnodeId>` | An input of one of the app's workflows |\n| `op:\u003CopId>\u002Fout:\u003CnodeId>` | An output of one of the app's workflows |\n| `op:\u003CopId>\u002Fprop:\u003CnodeId>#\u003Cprop>` | A node setting, driven by a widget |\n| `op:\u003CopId>\u002Fexec#\u003Cfield>` | Run status: `running`, `progress`, `error`, `activity`, `transcript` (agent text and tool calls, for an Agent Activity widget) |\n| `var:\u003CvariableId>` | A value the app remembers |\n| `view:\u003CcomponentId>#\u003Cprop>` | State belonging to one widget, never saved |\n\nTwo legacy forms still resolve: `node:\u003CnodeId>#\u003Cprop>` against the default\noperation, and a bare name looked up in the live graph. A name matching nothing\nis an error, not a silent no-op. Prefer the id forms for anything new.\n\n### Actions\n\nA widget event runs one action. There is nowhere to write code.\n\n| Action | Settings |\n|---|---|\n| `run` | `operationId` |\n| `cancel` | `operationId`, optional `invocationId` |\n| `setVariable` | `variableId`, and a `value` or the widget's own value |\n| `toggleVariable` | `variableId` |\n| `resourceCommand` | `resourceBindingId`, `command`: `read`, `create`, `update`, `delete`, `upload` |\n| `openResource` | `resourceBindingId` |\n\nEvents fire on `click` (buttons) or `change` (everything the user edits). A\nchange event has a pace: `live`, `release` (only on controls that commit), or\n`debounce`.\n\n### Conditions\n\n`visibleWhen` and `disabledWhen` each hold a binding, an operator and a\ncomparison value typed as text and converted to match. Operators: `notEmpty`,\n`empty`, `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `contains`. A condition whose\nbinding points at nothing is treated as no condition, so broken wiring never\nsilently hides a widget.\n\n### Format templates\n\n`format` replaces `{binding}` tokens, optionally through one filter:\n`{op:main\u002Fout:n1|truncate:80}`. Filters: `number`, `date`, `upper`, `lower`,\n`join`, `truncate`. An unknown filter or a dead binding renders as nothing.\n\n### Widgets\n\nThe lists below are the full registry. `ui_app_list_component_types` returns\neach widget's fields.\n\n**Show something:** Heading, Text, Markdown (the right choice for streamed\nprose), Image, Audio, Video, Sketch, Timeline, Storyboard, Storyboard Preview,\nJSON, Table, Output, Progress, Agent Activity (an agent's text and tool calls,\nlive), Alert, Code, List, Key\u002FValue, Stat, Download, 3D Model, Chart, PDF,\nGallery, Image Compare.\n\nSketch, Timeline, and the two storyboard widgets take a document reference,\nsuch as `{type: \"sketch\", id}`, which is what the nodes producing them emit.\nStoryboard shows the shot cards. Storyboard Preview plays the board as one cut,\nwith clips in shot order and stills for shots without a clip. Binding a\nreference to Image or Video shows nothing: a reference is not a media URL.\n\n**Take input:** Workflow Form, Workflow Input, Text Input, Number Input, Slider,\nSwitch, Select, Radio Group, Checkbox Group, Date Input, Choice Cards, Guided\nSteps, Approval, Image Input, Sketch Pad, Audio Input, Audio Recorder, Video\nInput, Camera Capture, Document Input, Color Input, Data Table Input, File Path\nInput, Folder Path Input, 3D Model Input, Image Size Input, Media List Input,\nResource Picker, Resource Gallery, Storyboard Scenes.\n\nA Workflow Form renders every input of one operation in graph order, so an Input\nnode added later shows up with no app edit. Place inputs one by one when the\nlayout matters. Audio Recorder and Camera Capture write the same\n`{type, uri, asset_id}` ref an upload writes. The Sketch Pad flattens each\nstroke to a PNG travelling inline as a data URI, so keep it near its 512×384\ndefault rather than the 2048px ceiling.\n\n**Chat:** Chat Thread (`binding` is the conversation, `streamBinding` the reply\narriving from the current run), Chat Composer, Model Select. The thread folds a\nsettled reply into the conversation variable, which only happens when `binding`\nis a variable and `streamBinding` is an output.\n\n**Buttons and layout:** Button, Panel, Columns (`left` and `right` slots),\nTabs, Accordion, Spacer, Divider.\n\nPanel, Columns and Accordion take `visibleWhen`, so one condition shows or\nhides a whole group, such as one step of a Guided Steps flow. Panel's\n`variant` is `panel`, `card` (a small raised card for one item) or `plain` (no\nframe), and `columns` lays its children in a grid. Columns' `layout:\n\"main-aside\"` gives the left slot the free width and sizes the right slot to\nits content. A Button with `fullWidth: false` fits its label, and `align:\n\"end\"` puts it at the right. Heading takes a `subtitle`, Text a `tone`\n(`muted` or `hint`), Text Input a `hint`, and Image an `aspectRatio`, a\n`width` and a `caption`.\n\n### Document shape\n\n```ts\ninterface ApplicationDocument {\n  schemaVersion: number;      \u002F\u002F 4, or 5 when `recipe` is set\n  ui: PuckData;               \u002F\u002F { root, content, zones }\n  operations: OperationBinding[];\n  resources: ResourceBinding[];\n  variables: VariableDeclaration[];\n  theme?: { id: string };\n  recipe?: RecipeManifest;    \u002F\u002F only on a curated Recipe\n}\n```\n\nA resource is a handle to a real document the app may read or edit:\n`{id, name, kind: \"asset\" | \"timeline\" | \"storyboard\" | \"sketch\", scope, operations}`.\n\nA bundle is the app plus the full graph of every workflow it runs, with each\noperation's `workflowId` holding a bundle-local key that import swaps for a real\nid.\n\n### Runtime state, keyed\n\n| Group | Keyed by | Holds |\n|---|---|---|\n| `inputs` | `opId:nodeId`, or `opId:nodeId#prop` | `{value, dirty, revision}` |\n| `outputs` | `opId:nodeId` | `{value, invocationId, status, revision}` |\n| `variables` | variable id | The current value |\n| `view` | `componentId:prop` | One widget's own state |\n| `invocations` | job id | `{id, operationId, status, progress, error, startedAt}` |\n\nOutput status is `empty`, `pending`, `streaming` or `done`. Streamed values\naccumulate: text joins, structured items collect into a list. An output slot is\ncleared at the start of every run.\n","# Build NodeTool mini apps\n\nA mini app is a screen over one or more workflows: widgets bound to Input and\nOutput nodes, a run trigger, and the variables that hold what the app remembers.\nThe graph stays the graph. The app is a second document (`ApplicationDocument`)\nthat names it.\n\nUse this skill when the user wants something to click. Use\n`nodetool-workflow-builder` when the deliverable is the graph itself, and fix\nthe graph there first: an app over a broken workflow only reports that the app\nis broken.\n\n## The workflow decides what the app can do\n\nBefore placing a widget, confirm the bound workflow satisfies all four. Each one\nis a wiring failure the app surface cannot work around.\n\n1. Anything the user changes needs an **Input node**. The exception is a node\n   setting, reachable through an `op:\u003Cid>\u002Fprop:\u003CnodeId>#\u003Cprop>` binding.\n2. Anything the user sees needs an **Output node**. A graph that ends without\n   one produces nothing an app can display.\n3. Every input needs a default, so the first run is one click.\n4. Run the workflow on its own first (`nodetool debug`, or `run_workflow`).\n\n## The loop\n\n1. **Find or create the app.** `list_apps`, then `get_app`. New app:\n   `create_app {name, description, project_id?, from_workflow_id?}`.\n   `from_workflow_id` binds the first operation, so there is something to run\n   the moment a widget lands.\n2. **Read the editor.** `edit_app {application_id, steps: []}` with no steps\n   returns the tool catalog and the app's current state. Do this before the\n   first edit in a session rather than guessing a schema.\n3. **Declare the operations.** One operation is one workflow plus its wiring\n   (`ui_app_add_operation`). An app with several modes has several operations,\n   each with its own state.\n4. **Read the bindable surface.** `ui_app_get_binding_targets` lists the inputs,\n   outputs, node settings and variables that exist. It covers the workflows\n   the app's operations name; to bind a workflow the app does not use yet,\n   pass it in `edit_app {workflow_ids: [...]}`. Bindings point at node\n   **ids**, so a rename in the graph editor never breaks the app. Never invent a\n   binding string.\n5. **Place and wire the widgets.** `ui_app_add_component` \u002F\n   `ui_app_update_component`, plus `ui_app_declare_variable` for anything the\n   app remembers and `ui_app_add_resource` for a document it reads or edits.\n   Read **Mini app contract** below for the widget catalog, binding forms,\n   actions, conditions and format filters.\n6. **Check the wiring.** `debug_app {application_id, run: false}`. Free,\n   instant, and the only thing that catches a binding pointing at nothing. Run\n   it after every edit pass.\n7. **Run it.** `debug_app {application_id, interact: [...]}` executes the real\n   workflows and spends real money. `run` defaults to `true`, so a bare\n   `debug_app {application_id}` also runs them. Confirm with the user before a\n   run that calls paid models, and run it to confirm the app works, not to\n   explore. A long run takes minutes: raise `timeout_ms`. `poll: true` returns\n   a session id that only the HTTP API (`GET \u002Fapi\u002Fdebug\u002Fsessions\u002F\u003Cid>`) reads,\n   and no agent tool does.\n8. **Report** the app id, its operations, and the verdict. Do not claim an app\n   works on a `run: false` check alone.\n\n`edit_app` applies its steps in order against the saved document and writes once\nat the end. Pass `base_updated_at` to refuse the save if the app changed\nunderneath. With the app open in a browser, the same tools are callable directly\nas `ui_app_*` against the live document.\n\n## Four verdict failures that are not about the graph\n\n`debug_app` reports these, and each one is an app-layer mistake with a fixed\nremedy.\n\n| Verdict | What it means | Fix |\n|---|---|---|\n| Binding references a missing input\u002Foutput\u002Fvariable | The widget points at a node the workflow no longer has | Re-read `ui_app_get_binding_targets` and rebind |\n| No run trigger | Nothing in the app can start an operation | Add a Button with a `run` action, or a change event |\n| Display widget never receives a value | The bound output produced nothing on a completed run | Check the Output node is connected in the graph |\n| Output mapped to an undeclared variable | An operation writes a variable that does not exist | `ui_app_declare_variable` first |\n\n## Three warnings that only bite a real user\n\nStructural checks pass and the app still fails the person using it. Fix these\nbefore handing an app over.\n\n- **A run button with no `disabledWhen` on `op:\u003Cid>\u002Fexec#running`.** No policy\n  refuses the second click, so the user drives a race: the run is cancelled and\n  restarted, stacked, or started alongside, depending on the operation's\n  concurrency rule.\n- **An operation with nothing bound to `exec#error`.** The run fails and the app\n  looks idle. Bind a Text or Markdown widget to the error field.\n- **A media input widget with no default behind an unguarded run trigger.**\n  Image, Sketch Pad, Camera Capture, Audio, Audio Recorder, Video and Document\n  all let the run start with the input unset, which is a paid call the user\n  never got to fill in. Guard the trigger with a `notEmpty` condition. A\n  Workflow Form is exempt: it renders every input of its operation, so there is\n  no single binding to guard.\n\n## What the headless check does not simulate\n\nLayout, styling, focus and scroll. Stored resource collections: a run never\nreads the database, so seed one with `{\"seedResource\": {\"id\": \"\u003Cbinding>\",\n\"items\": [...]}}` as an interaction step or a `resource:\u003Cbinding>` key in\n`params`. `openResource` has no editor to open. The report lists all of this\nunder `notSimulated` — read it before reporting a green verdict.\n\n## Shipping\n\n- `nodetool apps export-bundle \u003Cid> -o my.app.json` packages the app plus the\n  full graph of every workflow it binds. `apps import-bundle` recreates both and\n  rewrites the bundle-local workflow keys to real ids.\n- **Publish** takes a snapshot: it saves the current screen as a version and\n  locks in the current graph of every workflow the app runs, so a released app\n  keeps working while the drafts keep moving. A spending limit caps what it may\n  cost, and every run counts against it (`applications.publish`, `released`,\n  `budget`, `usage` on tRPC).\n- Shipped examples: `GET \u002Fapi\u002Fapplications\u002Fexamples`, installed with\n  `POST \u002Fapi\u002Fapplications\u002Fexamples\u002F:slug\u002Finstall`.\n- `nodetool app build \"\u003Cprompt>\" -p \u003Cprovider> -m \u003Cmodel>` runs the whole\n  spec → plan → author → check → run → judge loop and emits a verified bundle.\n  It is a batch build for the CLI and the eval suite. **There is no `build_app`\n  agent tool**: an agent builds an app the way a person does, with `create_app`,\n  `edit_app` and `debug_app`.\n\n## Reference\n\n**Mini app contract** below carries the widgets, bindings, actions,\nconditions, format filters and document shape.\n\nIn a NodeTool checkout, these repository sources go further:\n\n- `docs\u002Fmini-apps-guide.md` — eleven worked recipes, from a one-shot form to a\n  chat app.\n- `docs\u002Fmini-apps-reference.md` — every widget and setting in full.\n- `docs\u002Fharnesses.md` § nodetool app debug — the harness, its bundle layout,\n  and the build loop.\n\n## Mini app contract\n\nThe parts an app is assembled from. A checkout's\n`docs\u002Fmini-apps-reference.md` carries every widget and setting in full.\n\n### Tools\n\nEvery tool takes `application_id`. A workflow id is never accepted: the\nworkflows an app runs are named by `target_workflow_id` on its operations.\n\n| Area | Tools |\n|---|---|\n| Layout | `ui_app_get_snapshot`, `ui_app_list_component_types`, `ui_app_add_component`, `ui_app_update_component`, `ui_app_remove_component`, `ui_app_select_component`, `ui_app_set_title` |\n| Operations | `ui_app_list_operations`, `ui_app_add_operation`, `ui_app_update_operation`, `ui_app_remove_operation` |\n| Variables | `ui_app_list_variables`, `ui_app_declare_variable`, `ui_app_update_variable`, `ui_app_remove_variable` |\n| Resources | `ui_app_list_resources`, `ui_app_add_resource`, `ui_app_remove_resource` |\n| Bindings | `ui_app_get_binding_targets` |\n\nHeadless, each is a step in `edit_app {application_id, steps: [{tool, input}]}`.\nThe `ui_app_` prefix is optional in a step. With the app open in a browser they\nare callable directly.\n\n### Bindings\n\n| Binding | Points at |\n|---|---|\n| `op:\u003CopId>\u002Fin:\u003CnodeId>` | An input of one of the app's workflows |\n| `op:\u003CopId>\u002Fout:\u003CnodeId>` | An output of one of the app's workflows |\n| `op:\u003CopId>\u002Fprop:\u003CnodeId>#\u003Cprop>` | A node setting, driven by a widget |\n| `op:\u003CopId>\u002Fexec#\u003Cfield>` | Run status: `running`, `progress`, `error`, `activity`, `transcript` (agent text and tool calls, for an Agent Activity widget) |\n| `var:\u003CvariableId>` | A value the app remembers |\n| `view:\u003CcomponentId>#\u003Cprop>` | State belonging to one widget, never saved |\n\nTwo legacy forms still resolve: `node:\u003CnodeId>#\u003Cprop>` against the default\noperation, and a bare name looked up in the live graph. A name matching nothing\nis an error, not a silent no-op. Prefer the id forms for anything new.\n\n### Actions\n\nA widget event runs one action. There is nowhere to write code.\n\n| Action | Settings |\n|---|---|\n| `run` | `operationId` |\n| `cancel` | `operationId`, optional `invocationId` |\n| `setVariable` | `variableId`, and a `value` or the widget's own value |\n| `toggleVariable` | `variableId` |\n| `resourceCommand` | `resourceBindingId`, `command`: `read`, `create`, `update`, `delete`, `upload` |\n| `openResource` | `resourceBindingId` |\n\nEvents fire on `click` (buttons) or `change` (everything the user edits). A\nchange event has a pace: `live`, `release` (only on controls that commit), or\n`debounce`.\n\n### Conditions\n\n`visibleWhen` and `disabledWhen` each hold a binding, an operator and a\ncomparison value typed as text and converted to match. Operators: `notEmpty`,\n`empty`, `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `contains`. A condition whose\nbinding points at nothing is treated as no condition, so broken wiring never\nsilently hides a widget.\n\n### Format templates\n\n`format` replaces `{binding}` tokens, optionally through one filter:\n`{op:main\u002Fout:n1|truncate:80}`. Filters: `number`, `date`, `upper`, `lower`,\n`join`, `truncate`. An unknown filter or a dead binding renders as nothing.\n\n### Widgets\n\nThe lists below are the full registry. `ui_app_list_component_types` returns\neach widget's fields.\n\n**Show something:** Heading, Text, Markdown (the right choice for streamed\nprose), Image, Audio, Video, Sketch, Timeline, Storyboard, Storyboard Preview,\nJSON, Table, Output, Progress, Agent Activity (an agent's text and tool calls,\nlive), Alert, Code, List, Key\u002FValue, Stat, Download, 3D Model, Chart, PDF,\nGallery, Image Compare.\n\nSketch, Timeline, and the two storyboard widgets take a document reference,\nsuch as `{type: \"sketch\", id}`, which is what the nodes producing them emit.\nStoryboard shows the shot cards. Storyboard Preview plays the board as one cut,\nwith clips in shot order and stills for shots without a clip. Binding a\nreference to Image or Video shows nothing: a reference is not a media URL.\n\n**Take input:** Workflow Form, Workflow Input, Text Input, Number Input, Slider,\nSwitch, Select, Radio Group, Checkbox Group, Date Input, Choice Cards, Guided\nSteps, Approval, Image Input, Sketch Pad, Audio Input, Audio Recorder, Video\nInput, Camera Capture, Document Input, Color Input, Data Table Input, File Path\nInput, Folder Path Input, 3D Model Input, Image Size Input, Media List Input,\nResource Picker, Resource Gallery, Storyboard Scenes.\n\nA Workflow Form renders every input of one operation in graph order, so an Input\nnode added later shows up with no app edit. Place inputs one by one when the\nlayout matters. Audio Recorder and Camera Capture write the same\n`{type, uri, asset_id}` ref an upload writes. The Sketch Pad flattens each\nstroke to a PNG travelling inline as a data URI, so keep it near its 512×384\ndefault rather than the 2048px ceiling.\n\n**Chat:** Chat Thread (`binding` is the conversation, `streamBinding` the reply\narriving from the current run), Chat Composer, Model Select. The thread folds a\nsettled reply into the conversation variable, which only happens when `binding`\nis a variable and `streamBinding` is an output.\n\n**Buttons and layout:** Button, Panel, Columns (`left` and `right` slots),\nTabs, Accordion, Spacer, Divider.\n\nPanel, Columns and Accordion take `visibleWhen`, so one condition shows or\nhides a whole group, such as one step of a Guided Steps flow. Panel's\n`variant` is `panel`, `card` (a small raised card for one item) or `plain` (no\nframe), and `columns` lays its children in a grid. Columns' `layout:\n\"main-aside\"` gives the left slot the free width and sizes the right slot to\nits content. A Button with `fullWidth: false` fits its label, and `align:\n\"end\"` puts it at the right. Heading takes a `subtitle`, Text a `tone`\n(`muted` or `hint`), Text Input a `hint`, and Image an `aspectRatio`, a\n`width` and a `caption`.\n\n### Document shape\n\n```ts\ninterface ApplicationDocument {\n  schemaVersion: number;      \u002F\u002F 4, or 5 when `recipe` is set\n  ui: PuckData;               \u002F\u002F { root, content, zones }\n  operations: OperationBinding[];\n  resources: ResourceBinding[];\n  variables: VariableDeclaration[];\n  theme?: { id: string };\n  recipe?: RecipeManifest;    \u002F\u002F only on a curated Recipe\n}\n```\n\nA resource is a handle to a real document the app may read or edit:\n`{id, name, kind: \"asset\" | \"timeline\" | \"storyboard\" | \"sketch\", scope, operations}`.\n\nA bundle is the app plus the full graph of every workflow it runs, with each\noperation's `workflowId` holding a bundle-local key that import swaps for a real\nid.\n\n### Runtime state, keyed\n\n| Group | Keyed by | Holds |\n|---|---|---|\n| `inputs` | `opId:nodeId`, or `opId:nodeId#prop` | `{value, dirty, revision}` |\n| `outputs` | `opId:nodeId` | `{value, invocationId, status, revision}` |\n| `variables` | variable id | The current value |\n| `view` | `componentId:prop` | One widget's own state |\n| `invocations` | job id | `{id, operationId, status, progress, error, startedAt}` |\n\nOutput status is `empty`, `pending`, `streaming` or `done`. Streamed values\naccumulate: text joins, structured items collect into a list. An output slot is\ncleared at the start of every run.\n",{"name":5,"featured":53,"description":7},true,"main","c7226baa82daca42a19a5855c116544f97aa8bac","packages\u002Fsystem-skills\u002Fnodetool-app-builder",91,"https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool","https:\u002F\u002Fnodetool.ai\u002F","https:\u002F\u002Fgithub.com\u002Fnodetool-ai","No-code AI development","2026-11-15 03:27:49",{"source":9,"skillName":5,"commands":64,"prompt":74,"zipAvailable":53},[65,68,71],{"tool":66,"command":67},"npx","npx skills add nodetool-ai\u002Fnodetool --skill nodetool-app-builder",{"tool":69,"command":70},"bunx","bunx skills add nodetool-ai\u002Fnodetool --skill nodetool-app-builder",{"tool":72,"command":73},"pnpm","pnpm dlx skills add nodetool-ai\u002Fnodetool --skill nodetool-app-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fnodetool-app-builder\u002FSKILL.md",[],[77,86,118,153,169,188],{"skillNo":78,"name":79,"nameZh":17,"description":80,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":81,"licenseFileUrl":17,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M742MX3Y2ZYK884ZXTRFKB9P","humanizer","Rewrite AI-sounding text so it reads like the writer without changing what it says.\nUse when editing or reviewing prose for AI tells: not-X-but-Y contrasts, one-line\nclosers, staged openers, forced triads, dashes everywhere, inflated claims, sales\nlanguage, stock AI words, bold labels, or filler.","MIT","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fhumanizer\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":87,"name":32,"nameZh":88,"description":89,"descriptionZh":90,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":99,"publishedAt":48},"01M6BY4D93R0Q9400ZHJ04DXP1","NodeTool可视化AI工作流构建","Use the NodeTool MCP server to build, validate, run, and debug visual AI workflows, and to work with assets, collections, and jobs. Use when the user mentions NodeTool or asks for a workflow graph, a node, or a media generation run on their NodeTool server.","使用 NodeTool MCP 服务器构建、验证、运行和调试可视化 AI 工作流，并处理资产、集合和任务。当用户提及 NodeTool，或要求在其 NodeTool 服务器上创建工作流图、节点或运行媒体生成时使用。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fplugins\u002Fchatgpt\u002Fnodetool\u002Fskills\u002Fnodetool\u002FSKILL.md",[93,96],{"categoryNo":94,"categoryName":95,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":97,"categoryName":98,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[32,100,101,102,37,103,104,105,106,45,107,108,109,110,111,47,112,113,114,115,116,117],"MCP","Media","workflows","generation","media generation","with","visual","collections","for","node","work","debug","validate","assets","run","server","mcp server","workflow",{"skillNo":119,"name":120,"nameZh":121,"description":122,"descriptionZh":123,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":124,"categories":125,"keywords":132,"publishedAt":48},"01M6BY4AEB05ZPBRVD078ATR2H","wan-2-6-prompting","Wan 2.6 视频提示词编写","Prompt Alibaba's Wan 2.6 video — text-to-video with a global style line plus timing-bracketed shots, and image-to-video that describes only what changes over time. Covers the shot-mode switch per provider, the prompt budget, negative prompts, motion intensity wording, audio input and prompt expansion. Use whenever the model id names a Wan 2.6 video route (alibaba\u002Fwan-2.6\u002Ftext-to-video, alibaba\u002Fwan-2.6\u002Fimage-to-video, wan-video\u002Fwan-2.6-t2v, wan-video\u002Fwan-2.6-i2v, wan-video\u002Fwan2.6-i2v-flash) on generate_video, animate_image or a TextToVideo node. Not for Wan 2.5 or 2.7, or the Wan 2.6 image routes.","为阿里的 Wan 2.6 视频模型编写提示词——文生视频采用全局风格描述行加上按时间用括号标记的分镜，图生视频只描述随时间变化的内容。涵盖各服务商的镜头模式切换、提示词预算、负面提示词、运动强度措辞、音频输入和提示词扩展。当模型 ID 指定 Wan 2.6 视频路由（alibaba\u002Fwan-2.6\u002Ftext-to-video、alibaba\u002Fwan-2.6\u002Fimage-to-video、wan-video\u002Fwan-2.6-t2v、wan-video\u002Fwan-2.6-i2v、wan-video\u002Fwan2.6-i2v-flash）用于 generate_video、animate_image 或 TextToVideo 节点时使用。不适用于 Wan 2.5 或 2.7，也不适用于 Wan 2.6 图像路由。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fwan-2-6-prompting\u002FSKILL.md",[126,129],{"categoryNo":127,"categoryName":128,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR5V816HPKFXP1YV56C07K","多媒体工程师",{"categoryNo":130,"categoryName":131,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BZ46FYV5AM3SZCCPTV85Y2","视频生成与制作",[133,134,135,136,137,138,139,109,140,141,142,143,144,145,146,147,148,149,150,151,152],"prompting","wan 2 6 prompting","line","expansion","input","image-to-video","text-to-video","route","only","mode","time","flash","Budget","generate","text","image","animate","model","Audio","Video",{"skillNo":154,"name":155,"nameZh":156,"description":157,"descriptionZh":158,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":159,"categories":160,"keywords":163,"publishedAt":48},"01M6BY47T4748ZG5ZMTAR97ZWZ","video-workflow","可复用视频工作流搭建","Build a reusable NodeTool video workflow for batches or repeated inputs. For a single finished piece, use a storyboard skill.","构建可复用的 NodeTool 视频工作流，用于批量处理或重复输入。若只需制作单个成品，请使用 storyboard（分镜）技能。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fvideo-workflow\u002FSKILL.md",[161,162],{"categoryNo":127,"categoryName":128,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":130,"categoryName":131,"taxonomyType":28,"taxonomyTypeDesc":29},[117,164,152,165,166,44,167,45,168,32,108],"video workflow","reusable","storyboard","batches","single",{"skillNo":170,"name":171,"nameZh":172,"description":173,"descriptionZh":174,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":175,"categories":176,"keywords":179,"publishedAt":48},"01M6BY4587N2SYN315SXGEMZC3","video-clone","参考视频镜头结构复刻","Analyze a reference video and recreate its shot structure with a new product or cast in NodeTool.","分析参考视频，并在 NodeTool 中使用新产品或新演员重现其镜头结构。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fvideo-clone\u002FSKILL.md",[177,178],{"categoryNo":127,"categoryName":128,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":130,"categoryName":131,"taxonomyType":28,"taxonomyTypeDesc":29},[180,181,152,105,182,183,32,184,185,186,187],"clone","video clone","cast","new","analyze","product","structure","reference",{"skillNo":189,"name":190,"nameZh":191,"description":192,"descriptionZh":193,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":194,"categories":195,"keywords":198,"publishedAt":48},"01M6BY4257C2KQYYMD9EK6DK8E","video-audio-continuity","多场景视频音频连续性处理","Keep sound continuous across a multi-scene piece cut from generated video — why one clip per scene hard-cuts the audio at every boundary, when to write all the scenes into a single generation instead, the sound-design vocabulary that survives a provider's copyright filter, and how to check the length, the aspect ratio and the mix of what came back. Use when a piece has more than one scene and the video model writes its own audio (Seedance 2, Veo 3, MiniMax H3, Kling 2.6 and later), or when a cut's sound drops out at the shot changes.","让由生成视频剪辑而成的多场景作品中的声音保持连续——为什么每个场景各生成一段片段会在每处边界硬切音频、何时改为把所有场景写入同一次生成、能在服务商版权过滤下保留下来的声音设计词汇，以及如何检查返回内容的时长、宽高比和混音效果。当作品包含多个场景且视频模型会自行生成音频（Seedance 2、Veo 3、MiniMax H3、Kling 2.6 及更高版本），或剪辑的声音在镜头切换处中断时使用。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fvideo-audio-continuity\u002FSKILL.md",[196,197],{"categoryNo":127,"categoryName":128,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":130,"categoryName":131,"taxonomyType":28,"taxonomyTypeDesc":29},[199,152,151,200,201,202,203,204,205,206,207,208,209,37,210,211,150,212,213,214,215],"video audio continuity","continuity","write","why","back","veo 3","at","cut","later","across","filter","generated","how to","mix","design","boundary","how"]