Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add znlgis/opengis-skills --skill node-redgit clone --depth 1 https://github.com/znlgis/opengis-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/znlgis/opengis-skills/node-red)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/node-red"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/node-red/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/node-red"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/node-red.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00066 | $0.04910 |
| Opus 5.5 | $0.00026 | $0.01964 |
| Sonnet 5.5 | $0.00013 | $0.00982 |
| Haiku 4.5 | $0.00007 | $0.00491 |
Grade B, and why
node-red scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
| `npm install -g node-red` 报权限错误 | Linux/macOS 用 `sudo npm install -g --unsafe-perm node-red`;Windows 去掉 `sudo`;或改用 Docker | How it starts
The opening of the file, as written. The whole thing — 358 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/node-red/node-red
官方文档: https://nodered.org/docs/
npm:
node-red5.0.9(截至 2026-11,latestdist-tag 与 GitHub Releases 一致)| Node 要求:>=22.9(package.json的engines)许可证: Apache-2.0
概述
Node-RED 是构建在 Node.js 之上的低代码事件驱动编程工具,用于把设备、API 和在线服务以「连线」的方式编排成数据流。它最初由 IBM 新兴技术团队发起,现为 OpenJS Foundation 项目(版本以头部版本行为准)。运行时以「消息在节点之间传递」为核心模型:每个节点接收一个 JavaScript 对象 msg,处理后交给下一个节点。流(flow)在浏览器中的编辑器里以拖拽方式搭建,保存为 JSON(默认 flows_<hostname>.json)。
关键概念:
- 节点(node):流的处理单元,分为输入(inject、mqtt in、http in)、处理(function、change、switch、json)、输出(debug、mqtt out、http response)三类
- 消息(msg):在节点间传递的 JavaScript 对象,约定使用
msg.payload承载数据,运行时自动附加_msgid用于追踪 - 流(flow)/ 标签页(tab):一组连线的节点,同一标签页共享 flow 级上下文
- 子流程(subflow):把一组节点折叠成一个可复用节点,暴露属性为环境变量
- 上下文(context):节点级 / flow 级 / global 级三层状态存储
- 面板(dashboard):通过
node-red-dashboard等包把消息渲染成图表、仪表盘等 UI
环境准备
需要 Node.js >=22.9(node-red 5.x 的 engines 要求;低于此版本会安装失败或运行时报错)。
方式一:npm 全局安装
# 全局安装 Node-RED(Windows 去掉 sudo)
npm install -g --unsafe-perm node-red
# 启动,默认监听 1880 端口
node-red
方式二:Docker
# 镜像名为 nodered/node-red(1.0 起),映射 1880 端口并持久化 /data
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red
docker-compose.yml 参考:
version: "3.7"
services:
node-red:
image: nodered/node-red:latest
environment:
- TZ=Asia/Shanghai
ports:
- "1880:1880"
volumes:
- node-red-data:/data
volumes:
node-red-data:
验证
启动后浏览器访问编辑器:http://localhost:1880
默认目录与文件:用户目录 ~/.node-red,流文件 flows_<hostname>.json,配置文件 settings.js。停止服务用 Ctrl-C。
核心 API / 命令
消息对象 msg
| 属性 | 含义 |
|---|---|
msg.payload |
节点默认操作的数据主体,可为任意 JS 类型(String/Number/Boolean/Array/Object/Buffer/Null) |
msg.topic |
主题标识,MQTT 节点默认用它作为发布/订阅主题 |
msg._msgid |
运行时自动添加的消息追踪 ID |
msg.parts |
消息序列元数据(id/index/count),由 split、join、batch 等节点维护 |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 19d ago Changed 804b59427ef1
- 21d ago Changed · -6 lines 37aa416c83a9
- 1mo ago Changed cc4251322b64
- 1mo ago First seen · 364 lines · 66 tokens per session scan B ef8505256c93
node-red is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 66 tokens to every session and 4,910 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.
node-red compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| node-redznlgis/opengis-skills | Skill | 87 | 20d ago | MIT | B | 66 | Claude Code, Codex |
| ruview-cli-apiruvnet/RuView | Skill | 106k | today | MIT | A | 104 | Claude Code |
| amazon-alexasickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 53 | Claude Code |
| doca-socket-relayNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 236 | Claude Code |
| jetson-customize-pcieNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| deepep-to-cam-converterXiaoLuoLYG/GOD | Skill | 1.3k | 6d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| telnyx-iot-curlteam-telnyx/ai | Skill | 231 | yesterday | MIT | A | 45 | Claude Code |