freezonex/tier0-skill/flow
Claude Code and agent skill by freezonex/tier0-skill
- community
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/flowSKILL.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 inandhttp responsenodes.
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
- List before acting when the Flow ID is unknown.
- CLI commands use integer
id; Node-REDflowIdis not a CLI identifier. - Before deploy, export a backup:
tier0 flow data --id <id> --out backup.json. - Preview agent-generated mutations with
--dry-run --json; this is required before deploy and delete. flow deployandflow deleterequire--yesafter user confirmation.- Deleting a Flow stops the related Node-RED container.
- Do not construct deploy payloads before reading
references/deploy.md. - Preserve the backend-created Tier0
mqtt-brokerconfig node. Do not create or replace it. - Use
/flow/{source|event}/**only for user-definedhttp inendpoints. Never use it for Flow management or Node-RED Admin APIs. - Call
http inendpoints withtier0 api; do not add or assume a separateflow invokecommand.
Flow Types
| Type | Meaning | Typical Use | |
|---|---|---|---|
SourceFlow | Collects industrial protocol data and publishes MQTT / UNS | Modbus, OPC-UA, OPC-DA, MQTT bridge | |
EventFlow | Processes business data or subscribes to MQTT | Alarms, transformations, actions, archival |
Routing
| Intent | Read | Risk | |
|---|---|---|---|
| Query available node types | references/nodes.md | Low | |
| List or inspect Flow | references/list.md | Low | |
| Create Flow | references/create.md | Low | |
| Update Flow metadata | references/update.md | Low | |
| Delete Flow | references/delete.md | High, requires --yes | |
| Export Node-RED canvas | references/data.md | Low | |
| Deploy Node-RED canvas | references/deploy.md | High, requires backup and --yes | |
Expose or call an http in endpoint or webhook | references/http-endpoints.md | Depends on the endpoint's business effect |
Protocol References
Read the matching file before generating or editing Flow JSON:
| Intent | Read | |
|---|---|---|
| Modbus TCP/RTU to UNS | references/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 UNS | references/protocols/opcda.md | |
| External MQTT broker to UNS | references/protocols/mqtt-bridge.md | |
| UNS to PostgreSQL archive | references/protocols/postgresql.md | |
| Template index | references/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
Node-RED Canvas Workflow
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
- SKILL.md in the repositoryCheckingflow/SKILL.md
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
[](https://verified-skill.com/skills/freezonex/tier0-skill/flow)