← 返回 Skills 市场
jettydiot

Jettyd Skill

作者 jettydiot · GitHub ↗ · v1.1.2 · MIT-0
cross-platform ⚠ suspicious
131
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install jettyd
功能描述
Interact with IoT devices via the jettyd platform — read sensors, send commands, manage rules, and list devices
使用说明 (SKILL.md)

jettyd IoT Skill

Interact with IoT devices via the jettyd platform. Read sensor data, send commands, manage rules, and list devices.

When to use

Use this skill when the user asks about:

  • Device status, online/offline, last seen
  • Sensor readings: temperature, humidity, distance, voltage, current
  • Controlling actuators: relay, LED, PWM
  • Pushing JettyScript rules (threshold alerts, automations)
  • Webhook subscriptions for device events
  • Anything involving their ESP32 or jettyd devices

Config

Reads API key from ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "jettyd": {
        "apiKey": "tk_xxxx",
        "baseUrl": "https://api.jettyd.com/v1"
      }
    }
  }
}

Or from env: JETTYD_API_KEY

CLI

All operations go through scripts/jettyd-cli.js.

node skills/jettyd/scripts/jettyd-cli.js \x3Ccommand> [args]

Commands

Command Description
list List all devices with status
device \x3Cid> Device detail + all sensor readings
telemetry \x3Cid> [metric] [period] Historical readings (1h/6h/24h/7d)
command \x3Cid> \x3Caction> [params] Send command to device
push_config \x3Cid> \x3Cjson_or_file> Push JettyScript rules
webhooks List webhook subscriptions
create_webhook \x3Cname> \x3Curl> \x3Cevents...> Create webhook

Example prompts

"What devices do I have?"node .../jettyd-cli.js list

"What's the temperature on my greenhouse sensor?"node .../jettyd-cli.js list to find device ID, then device \x3Cid>

"Turn on the relay on device abc123"node .../jettyd-cli.js command abc123 relay.on

"Blink the LED 3 times"node .../jettyd-cli.js command abc123 led.blink '{"count":3,"interval_ms":300}'

"Alert me if temperature goes above 30°C" → Compose JettyScript JSON and run push_config \x3Cid> \x3Cjson>

"Show me temperature history for the last 24 hours"node .../jettyd-cli.js telemetry abc123 temperature 24h

push_rules — JettyScript rule format

Use push_config \x3Cid> \x3Cjson> to deploy rules to a device. Rules run on the jettyd cloud and fire webhooks / alerts when conditions are met.

Temperature alert example — alert when temperature exceeds 30 °C:

{
  "rules": [
    {
      "id": "temp-high-alert",
      "trigger": {
        "type": "threshold",
        "metric": "temperature",
        "operator": ">",
        "value": 30
      },
      "cooldown_seconds": 300,
      "actions": [
        {
          "type": "alert",
          "severity": "warning",
          "message": "Temperature is {{temperature}}°C — above threshold of 30°C"
        }
      ]
    }
  ]
}

Push it:

node skills/jettyd/scripts/jettyd-cli.js push_config \x3Cdevice-id> '{"rules":[...]}'
# or from a file:
node skills/jettyd/scripts/jettyd-cli.js push_config \x3Cdevice-id> ./rules.json

Supported trigger operators: > \x3C >= \x3C= == != Supported action types: alert webhook command

安全使用建议
This skill appears to do what it says: it uses node scripts to call the jettyd REST API and needs only your jettyd API key (JETTYD_API_KEY) or the key stored at ~/.openclaw/openclaw.json. Before installing or running: 1) Verify the API key you provide is scoped to the devices you intend to control and rotate it if you suspect it was shared. 2) Inspect scripts/jettyd-cli.js yourself (it's included) before running to confirm no unexpected network endpoints or file accesses. 3) Note the examples reference OPENAI_API_KEY for the demo agent — that is not required for device control but is needed only if you run the LangChain demo. 4) There is a metadata inconsistency in the registry (it shows "Required config paths: [object Object]") — confirm the skill's declared config path (~/.openclaw/openclaw.json) is what you expect. 5) Be cautious when creating webhooks or pushing configs: webhooks forward device events to external URLs you supply and push_config can change device automation (which can trigger actuators). If you need stronger assurance, ask the publisher for source/repo links or run the included CLI from a restricted environment/account first.
功能分析
Type: OpenClaw Skill Name: jettyd Version: 1.1.2 The jettyd skill is a legitimate IoT integration for managing devices via the jettyd.com platform. It provides a Node.js CLI (scripts/jettyd-cli.js) and LangChain tools (examples/langchain_tool.py) to interact with a documented REST API (api.jettyd.com). While it requests read access to the OpenClaw configuration file (~/.openclaw/openclaw.json), this behavior is explicitly declared in SKILL.md and the code logic is restricted to retrieving its own API key. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (interact with jettyd IoT platform) align with required binary (node), the JETTYD_API_KEY env var, and the included scripts and examples which call api.jettyd.com. The ability to list devices, read shadows, send commands, push rules, and create webhooks fits the stated purpose.
Instruction Scope
Runtime instructions limit behavior to reading an API key (env or ~/.openclaw/openclaw.json) and calling api.jettyd.com via the included CLI or example tools. The examples mention an unrelated OPENAI_API_KEY for the LangChain demo — that's for the demo agent, not the skill itself; this could confuse non-technical users. Overall the SKILL.md does not instruct the agent to access unrelated secrets or system areas beyond the declared config path.
Install Mechanism
No install spec (instruction-only) — the skill includes JS scripts and examples but does not automatically download or extract external archives. This is lower-risk because nothing is written/executed on install; the user must run node on the included scripts themselves.
Credentials
Only JETTYD_API_KEY (plus optional JETTYD_BASE_URL) and read access to ~/.openclaw/openclaw.json are used — these are proportional to an API client. No unrelated credentials (AWS, GitHub, etc.) are requested. Note: the examples/demos reference OPENAI_API_KEY for running the LangChain demo but that is not required for the skill's API usage and is not declared in the skill's required env list.
Persistence & Privilege
always is false and the skill doesn't request persistent installation or modification of other skills. It only reads its own OpenClaw config path for an API key; it does not modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jettyd
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jettyd 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.2
Remove MCP server reference — @jettyd/mcp not yet available
v1.1.1
Fix OpenClaw scanner suspicious rating: declare env vars, config paths, network hosts, and file access in metadata. Remove undeclared npx/pip runtime install references.
v1.1.0
Remove internal operational notes (EMQX, init-db.sql, CI patterns, zsh escape bugs) that leaked into the public skill. SKILL.md is now clean user-facing documentation only.
v1.0.0
jettyd 1.0.0 initial release - Introduces a CLI and MCP server for interacting with IoT devices via the jettyd platform. - Supports reading sensor data, sending device commands, managing JettyScript automation rules, and handling webhooks. - Detailed instructions for rule creation, API key configuration, and example prompts included. - Operational guidelines highlight container restart requirements, schema migration checks, and CI/test usage standards. - Notes on shell syntax and artifact errors to prevent platform and deployment issues.
元数据
Slug jettyd
版本 1.1.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Jettyd Skill 是什么?

Interact with IoT devices via the jettyd platform — read sensors, send commands, manage rules, and list devices. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。

如何安装 Jettyd Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install jettyd」即可一键安装,无需额外配置。

Jettyd Skill 是免费的吗?

是的,Jettyd Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Jettyd Skill 支持哪些平台?

Jettyd Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Jettyd Skill?

由 jettydiot(@jettydiot)开发并维护,当前版本 v1.1.2。

💬 留言讨论