360 Secure SkillHub
360 安全技能中心

0xscada

该 Skill 是本地 0xSCADA 节点的命令行包装器,通过 scripts/0xscada.sh 执行 start/status,依赖 Node.js 18+、npm、curl,可选 Docker、PostgreSQL;配置区块链 RPC、签名私钥、Flux 地址与令牌后可接入区块链审计与 Kannaka Flux 集成,默认数据仅本地存储。

nickflach
nickflach
热度 56.87
最近更新 2026-05-18 12:17:55
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / DevOps / API 集成

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add 0xscada
Metadata
name
0xscada
description
Decentralized Industrial Control Fabric. Bridges SCADA systems with blockchain-backed audit trails and Kannaka memory integration. Provides a unified API for telemetry, geometry classification, and verifiable industrial state.
acceptLicenseTerms
true
metadata
{"openclaw":{"requires":{"bins":[{"name":"node","label":"Node.js 18+ required to run the server"},{"name":"npm","label":"npm required for installation"},{"name":"curl","label":"curl required for health checks"},{"name":"git","label":"git required for repository management"}],"env":[]},"optional":{"bins":[{"name":"docker","label":"Docker optional for local database/redis"}],"env":[{"name":"SCADA_PORT","label":"HTTP port for the 0xSCADA server (default: 5000)"},{"name":"DATABASE_URL","label":"PostgreSQL connection string"},{"name":"SCADA_DIR","label":"Path to 0xSCADA repository root (default: ../../..)"},{"name":"WEB3_RPC_URL","label":"Blockchain RPC endpoint for audit trails"},{"name":"PRIVATE_KEY","label":"Private key for signing blockchain transactions"},{"name":"FLUX_URL","label":"Flux State Engine URL"},{"name":"FLUX_AUTH_TOKEN","label":"Flux Authentication Token"}]},"data_destinations":[{"id":"scada-local","description":"Local industrial telemetry","remote":false}],"install":[{"id":"npm-install","kind":"command","label":"Install dependencies","command":"npm install"}]}}

0xSCADA Skill

Decentralized Industrial Control Fabric mapping atoms to bits. Integrates natively with the Kannaka memory ecosystem (84-class SGA Fano geometry).

Architecture Note: This skill acts as a Clawhub wrapper/controller for a full local 0xSCADA node. It relies on executing the 0xSCADA project repository located relative to this skill or configured via SCADA_DIR.

Prerequisites

  • Node.js 18+ on PATH
  • npm on PATH
  • curl on PATH (for health checks)
  • PostgreSQL (optional, uses SQLite by default if not set up)

Setup

cd ~/workspace/skills/0xscada
npm install

Configuration

This skill supports extensive blockchain and integration features by communicating with the underlying 0xSCADA server. To enable these, configure the following environment variables:

  • SCADA_DIR: Explicitly set the 0xSCADA repository path (defaults to relative parent dir)
  • WEB3_RPC_URL & PRIVATE_KEY: Enable blockchain audit anchoring
  • FLUX_URL & FLUX_AUTH_TOKEN: Enable Kannaka Flux integration

Note: For security, the startup script validates that SCADA_DIR points to a legitimate 0xSCADA project containing server/index.ts before execution.

Quick Start

# Start 0xSCADA
./scripts/0xscada.sh start

# Check status
./scripts/0xscada.sh status