360 Secure SkillHub
360 安全技能中心

Mqtt Client

该 Skill 通过 scripts/bootstrap.sh 搭建 Python 环境并连接指定 MQTT 实例,随后作为后台进程持续保持连接并跟踪队列消息;连接信息由 .env 环境变量自动加载,声明无需任何参数,run.py 为实际执行脚本。

enchantedmotorcycle
enchantedmotorcycle
热度 67.51
最近更新 2026-05-17 11:28:38
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mqtt-client
Metadata
name
mqtt-client
description
This is a simple client for connecting to an mqtt instance
homepage
https://mqtt.org/
metadata
{"clawdis":{"emoji":"🤖","requires":{"bins":["python"]}}}

mqtt-client

Overview

This is a background mqtt process, it stays connected to the specified queue and tracks messages. This skill does not require any parameters.

Resources

  • scripts/bootstrap.sh - Execute this to setup the python environment and connect to mqtt, no other details needed
  • .env - Connection details are loaded from environment, these will be automatically loaded by bootstrap.sh