Connect App logo

Connect App

Organization
nominal-io
connect-app

Scaffold a Nominal Connect app (app.connect YAML + Python scripts) from a high-level description of its UI and behavior. Use when the user asks to create a new Connect app, or to turn a description of a monitoring, control, or test UI into a runnable app with wired-up Python scripts, message-bus commands, and streaming.

Overview

Publishernominal-io
Repositoryskills
Skill nameconnect-app
Stars
40
Forks
0
Bundled files
6
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by nominal-io on GitHub. Read the source before you install it.

Installation

Install the Connect App AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/nominal-io/skills/tree/main/skills/connect-app
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nominal-io/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/connect-app .claude/skills/connect-app
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Connect App in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Connect App on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Connect App is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Connect app

Scaffold Nominal Connect apps: a directory containing an app.connect YAML and supporting Python scripts that the user can open in the Connect desktop app.

Available tools and files

Resolve bundled references and assets relative to this skill's installed directory, using the host's resource interface or provided filesystem location. Resolve output files relative to the user's target project; these are separate locations.

Check whether the target directory and file-writing tools are available in this environment. If the user's local project is inaccessible, author a downloadable app directory or archive when supported; otherwise provide the named file contents and setup instructions. Continue to settle the spec before authoring. Running the app requires Nominal Connect and any target devices or services. Distinguish file/schema checks from a successful run in Connect, and state any runtime checks the user still needs to perform.

What a Connect app is

A Nominal Connect app is a directory containing:

  • app.connect — YAML declaring the UI (tabs, panes, forms, plots, buttons, canvases).
  • One or more Python scripts launched by the UI. Scripts read UI values, publish to the message bus, stream data back to plots, handle commands, and/or orchestrate test workflows.
  • Optional: requirements.txt, canvas YAMLs, DBC files, device config JSONs, images, README.md.

A user launches the app by opening its directory in Connect. On first load, Connect creates a .venv/ inside the directory and installs connect-python (plus anything in python.packages in app.connect). The user never runs pip install by hand.

Workflow

Step 1. Elicit the spec

Before writing anything, confirm:

  1. Where does the app live? Ask for the target directory if it isn't obvious from the request.
  2. What is the UI? Which tabs, what's in each tab (plots, forms, buttons, markdown), what widgets the user interacts with. Sketch a rough layout.
  3. What Python scripts? One per long-running device/driver, plus any one-shot "run once" scripts and any test workflows. Each script owns exactly one concern.
  4. What streams and topics? Name each data stream (plot stream_id) and each message-bus topic (<scope>/<action>). These are strings shared between YAML and Python.
  5. External deps? Hardware libraries (nominal-instro, pycan, etc.), the Devices panel, streaming persistence to Nominal Core.

If the user gave a freeform description and some of this is ambiguous, ask — don't guess on stream IDs or script boundaries, since they're load-bearing.

Step 2. Pick a starting point

  • Trivial / "hello world"-shaped app (one tab, a few widgets, one script): copy assets/hello-world/ into the target directory and modify in place.
  • Non-trivial app: start from a blank app.connect and build up, using references/patterns.md for the shape of each script.

If the user has existing Connect apps on disk, read those for house conventions before inventing your own. Do not copy a large app wholesale — it drags in unrelated UI. Take the layout idioms and leave the rest.

Step 3. Write app.connect

The grammar is large. Read references/app_connect_schema.md to get the full element catalog (tiles, grids, panes, inputs, displays, plots, actions).

Every app must remain editable in Connect's no-code UI builder. This is a hard requirement, not a preference — users rearrange apps by hand, and an app that has dropped out of the UI builder cannot be fixed without hand-editing YAML. Nothing warns you at load time when an app breaks one of these:

  • The top-level tiles must be exactly one tile, and it must be layout: tabs. Nest grids inside a tab; never hoist one to the top level.
  • No second layout: tabs anywhere below the root — one nested tabs container turns editing off for the whole app.
  • Every pane must contain exactly one element. Zero renders nothing; two or more locks that pane against editing.
  • Every pane must set should_fill: true.
  • lockdown: must be absent.

The one-element rule is the one that bites, because a useful pane usually needs several widgets. Collect them into a single form element — an element with inputs: counts as one element and can nest displays, inputs, and buttons together. To place widgets side by side, use a grid of one-element panes rather than one pane holding several elements.

Other invariants:

  • Every pane needs a unique UUIDv4 id. Generate one per pane at authoring time — uuidgen | tr '[:upper:]' '[:lower:]' (macOS/Linux) or python -c "import uuid; print(uuid.uuid4())" — and paste the result directly into the YAML. Never hardcode placeholder strings like 00000000-... or reuse IDs across panes; duplicates collide and make panes address the wrong widget.
  • Widget ids (the id: on inputs and buttons) are the keys scripts use with client.get_value(id). Use snake_case; must be unique across the app.
  • Stream IDs referenced in plots (stream_id: foo) are plain strings — scripts create them implicitly the first time they call client.stream("foo", ...).
  • on_click_action has three kinds: _kind: script (launches a Python script), _kind: message (publishes a dict to a message-bus topic, with $widget_id substituted from current UI values), and _kind: command (sends a registered command from the command registry).
  • For apps that persist data, populate streaming.persistence[] with the target dataset RID and the list of streams to upload.

Step 4. Write the Python scripts

Read references/connect_python_api.md for the full API surface and references/patterns.md for the five idioms (one-shot, long-running driver + UI, closed-loop controller, TestWorkflow orchestrator, Command Registry). Pick the pattern that matches each script's role and adapt it.

Conventions:

  • Every script starts with @connect_python.main wrapping a main(client) function.
  • logger = connect_python.get_logger(__name__) — this routes to Connect's logs panel.
  • For any hardware handle, register client.add_shutdown_callback(lambda: thing.close()) early.
  • Stream IDs, topics, and channel names are plain strings shared between YAML and Python, and nothing type-checks them. A driver script exports its own topic constant and command classes; a constants.py holds only what several scripts share. The YAML side has to match by hand.
  • Reading UI: client.get_value("id", default) or client.get_values() (all at once). Writing UI: client.set_value("id", value).
  • Streaming: client.stream(stream_id, timestamp, value, name="channel_name") for single-channel, client.stream(stream_id, timestamp, values=[...], names=[...]) for multi-channel.
  • Driver scripts take typed commands: declare @connect_python.Command classes, nest @connect_python.handle_command handlers inside main so they close over the open hardware handle, and end main with client.register_and_wait_for_commands() or the process exits. UI buttons reach them with _kind: command.
  • Raw message bus is the fallback for schema-less payloads: client.send_message(topic, dict) to publish, or with MessageBus(client) as bus: bus.subscribe_to_topic(...) to consume. Inside a loop use try_receive_message() (non-blocking) rather than wait_for_message().
  • For test workflows, subclass connect_python.TestWorkflow. Test methods (test_*) run in the order they are defined in the source file, not alphabetically, so give them descriptive names rather than ordering prefixes. Only methods in the class's own body are discovered — inherited test_* methods never run. Set self.asset_rid in start_workflow (using its client argument; self.client is not available yet there) to auto-upload to Nominal Core, and register safe-shutdown with self.add_cleanup(...) so it runs even when a step fails.

Step 5. Sanity-check

Before handing back:

  1. UI builder compatibility holds: top-level tiles is exactly one layout: tabs tile, no tabs container is nested below it, every pane holds exactly one element and sets should_fill: true, and there is no lockdown: key. Check this first — it is the easiest thing to break and the most disruptive to the user.
  2. Every widget id referenced in client.get_value/get_values has a matching input: entry in app.connect.
  3. Every stream_id used in client.stream appears in at least one plot, display: stream_value, or streaming.persistence[].streams[].
  4. Every topic an action targets is served by a script: _kind: message topics have a subscriber, and _kind: command topics have a registered command whose command_id matches.
  5. All pane ids are UUIDv4s and unique.
  6. Shutdown callbacks registered for anything that opens a hardware/network handle.

Do not attempt to run the app — it requires the Connect GUI on the user's machine and often physical hardware. Tell the user how to test manually (e.g. "open the directory in Connect, click Run on my_script.py, verify the plot populates").

Quick decision guide

  • User wants one button that runs a script and shows a result? → Pattern 1 in references/patterns.md. Start from assets/hello-world/.
  • User wants live readings from a device + UI to command it? → Pattern 2. One long-running script per device, exposing typed commands.
  • User wants live-tunable control loop? → Pattern 3. Control loop on a daemon thread, tunables applied by a command handler under a lock.
  • User wants an automated pass/fail test? → Pattern 4. TestWorkflow with test_* methods and a controls: test_workflow element. For a procedure with no pass/fail, use AutoSequenceWorkflow with step_* methods.
  • User wants the no-code Command Builder? → Pattern 5. Focus on the command schema; command_id in YAML is the snake_case of the class name.

Resources

Reporting back

When you finish, report concisely:

  • Where the app was written (absolute path).
  • Which scripts were created and their roles.
  • Stream IDs and message-bus topics used.
  • How to test manually (open directory in Connect, click Run on <script>, expected behavior).

Do not narrate intermediate file reads or summarize the full YAML — the user can open the files themselves.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Connect App AI skill do?

Scaffold a Nominal Connect app (app.connect YAML + Python scripts) from a high-level description of its UI and behavior. Use when the user asks to create a new Connect app, or to turn a description of a monitoring, control, or test UI into a runnable app with wired-up Python scripts, message-bus commands, and streaming.

Why use Connect App on TypingMind?

Because you install it once and use it with any model. Connect App is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Connect App in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/nominal-io/skills/tree/main/skills/connect-app. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Connect App?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Connect App?

As many as you like. As long as a model supports skills, you can use Connect App with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Connect App AI skill free?

Yes. It is published on GitHub by nominal-io under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇