freezonex/tier0-skill/flow

Claude Code and agent skill by freezonex/tier0-skill

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Tier0 Flow and Node-RED HTTP ingress operations: list, create, update, delete, export, and deploy SourceFlow/EventFlow canvas JSON, or expose and call user-defined http in endpoints through /flow/source or /flow/event. Do not use for Node-RED Admin API access.

Install

npx vskill@latest install freezonex/tier0-skill/flow

SKILL.md

tier0-flow

Use this skill for Tier0 Node-RED Flow management.

Use When

  • The user wants to list, inspect, create, update, or delete Flows.
  • The user wants to export Node-RED canvas JSON.
  • The user wants to deploy or replace a Node-RED canvas.
  • The user asks about SourceFlow or EventFlow state.
  • The user wants industrial protocol collection, including Tier0's own tier0-opcua-* nodes.
  • The user wants to expose or call a webhook or application endpoint implemented with Node-RED http in and http response nodes.

Do Not Use When

  • The user wants current UNS topic values. Use uns/references/read.md.
  • The user wants to directly drag nodes in the Node-RED UI. The CLI imports and exports JSON; UI editing happens in a browser.
  • The user wants protocol mapping details. Read the matching protocol reference first.
  • The user wants Node-RED Admin API access. The gateway blocks Admin paths; use the CLI Flow management commands instead.

Non-Negotiable Rules

  1. List before acting when the Flow ID is unknown.
  2. CLI commands use integer id; Node-RED flowId is not a CLI identifier.
  3. Before deploy, export a backup: tier0 flow data --id <id> --out backup.json.
  4. Preview agent-generated mutations with --dry-run --json; this is required before deploy and delete.
  5. flow deploy and flow delete require --yes after user confirmation.
  6. Deleting a Flow stops the related Node-RED container.
  7. Do not construct deploy payloads before reading references/deploy.md.
  8. Preserve the backend-created Tier0 mqtt-broker config node. Do not create or replace it.
  9. Use /flow/{source|event}/** only for user-defined http in endpoints. Never use it for Flow management or Node-RED Admin APIs.
  10. Call http in endpoints with tier0 api; do not add or assume a separate flow invoke command.

Flow Types

TypeMeaningTypical Use
SourceFlowCollects industrial protocol data and publishes MQTT / UNSModbus, OPC-UA, OPC-DA, MQTT bridge
EventFlowProcesses business data or subscribes to MQTTAlarms, transformations, actions, archival

Routing

IntentReadRisk
Query available node typesreferences/nodes.mdLow
List or inspect Flowreferences/list.mdLow
Create Flowreferences/create.mdLow
Update Flow metadatareferences/update.mdLow
Delete Flowreferences/delete.mdHigh, requires --yes
Export Node-RED canvasreferences/data.mdLow
Deploy Node-RED canvasreferences/deploy.mdHigh, requires backup and --yes
Expose or call an http in endpoint or webhookreferences/http-endpoints.mdDepends on the endpoint's business effect

Protocol References

Read the matching file before generating or editing Flow JSON:

IntentRead
Modbus TCP/RTU to UNSreferences/protocols/modbus.md
Tier0 OPC-UA browse/read/write/subscribe (tier0-opcua-*)references/protocols/tier0-opcua.md
Community OPC-UA subscription (OpcUa-Client)references/protocols/opcua.md
OPC-DA polling to UNSreferences/protocols/opcda.md
External MQTT broker to UNSreferences/protocols/mqtt-bridge.md
UNS to PostgreSQL archivereferences/protocols/postgresql.md
Template indexreferences/protocols/README.md

For new OPC-UA Flows, prefer @tier0/opcua-client when its required node types are enabled in the runtime. Check flow nodes first. Preserve existing community-node Flows unless migration is requested; the two packages have different config fields and message formats and are not interchangeable.

Common Commands

bash
tier0 flow list
tier0 flow list --source --json
tier0 flow get --id 1 --json
tier0 flow create --name "modbus-collector" --source --desc "Modbus TCP collector"
tier0 flow create --name "alert-handler" --event --desc "Temperature alarm processor"
tier0 flow data --id 1 --out flows.json
tier0 flow deploy --id 1 -f flows.json --dry-run --json
# after user confirmation
tier0 flow deploy --id 1 -f flows.json --yes

Node-RED Canvas Workflow

bash
tier0 flow list
tier0 flow data --id <id> --out backup.json
# edit or generate flows.json
tier0 flow deploy --id <id> -f flows.json --dry-run --json
# show the preview and impact; wait for user confirmation
tier0 flow deploy --id <id> -f flows.json --yes

When generating flows.json, include the existing backend-created Tier0 mqtt-broker config node from the exported data. Node-RED credentials are stored against the node ID; replacing that node can cause anonymous MQTT connections and authentication failure.

tier0 flow data --out flows.json writes a deployable Node-RED flows array. The file can be edited, previewed with tier0 flow deploy -f flows.json --dry-run --json, and deployed with --yes after user confirmation.

Structured Errors

With --json, read failures from stderr and branch on error.type, error.subtype, and error.param. Fix invalid_argument at the named parameter instead of retrying unchanged. Exit code 10 with confirmation_required means the user must approve the high-risk operation before --yes is added.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/freezonex/tier0-skill/flow/badge)](https://verified-skill.com/skills/freezonex/tier0-skill/flow)

Something wrong with this skill or its page? Tell us.