Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

edge-computing边缘计算

Agent Skill

edge-computing 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

392

周安装

16

GitHub Stars

4

下载量

127
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:edge-computing(边缘计算)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/edge-computing
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill edge-computing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill edge-computing

简介

edge-computing 用于在物联网设备附近处理实时数据流,降低延迟和带宽消耗,适合在 Codex、Claude、Cursor、Gemini CLI 中部署低延迟应用时使用。

  • 它集成 IoT 框架支持传感器数据处理,适用于智能城市或工业监控场景。
  • 安装命令为 npx skills add https://github.com/alphaonedev/openclaw-graph --skill edge-computing,需从 GitHub 获取原始 README 进一步确认用法。
  • 使用前建议核对设备接入权限和网络边界,避免非法数据整理。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

edge-computing

Purpose

This skill enables processing data at the network edge near IoT devices, reducing latency and bandwidth usage by running computations closer to data sources. It integrates with IoT frameworks to handle real-time data streams efficiently.

When to Use

Use this skill for applications requiring low-latency responses, such as real-time analytics on sensor data, autonomous vehicle edge processing, or smart city infrastructure monitoring. Apply it when data volume is high and transmitting to central servers is inefficient, like in remote industrial IoT setups or mobile edge networks. Avoid it for non-time-sensitive tasks or when centralized processing is sufficient due to simplicity.

Key Capabilities

  • Deploy edge functions via CLI or API to run on devices, e.g., process video streams from cameras without sending raw data to the cloud.
  • Support for lightweight containers or virtual environments on edge devices, compatible with ARM or x86 architectures.
  • Real-time data aggregation and filtering, using protocols like MQTT or CoAP for IoT communication.
  • Scalable resource management, allowing dynamic allocation of CPU/GPU based on device capabilities.
  • Monitoring and logging of edge processes, with metrics export to tools like Prometheus via HTTP endpoints.
  • Security features including TLS encryption for data in transit and role-based access control for function deployment.
  • Integration with IoT platforms like AWS IoT Core or Azure IoT Edge for seamless device management.
  • Error-resilient designs, such as automatic retries for failed edge tasks with configurable backoff strategies.
  • Customizable data pipelines, where you define processing steps in JSON config files, e.g., {"steps": [{"type": "filter", "condition": "value > 10"}]}.
  • Support for offline operation, caching data locally on devices until connectivity is restored.

Usage Patterns

To use this skill, first set up authentication via environment variables like $EDGE_API_KEY. Invoke edge processing by deploying functions to specific devices, then trigger them with IoT events. For example, in a Node.js app, import the OpenClaw SDK and call deployment methods. Always specify device IDs and function parameters for targeted execution. Handle asynchronous responses by polling status endpoints. Common patterns include event-driven triggers (e.g., via webhooks) or scheduled jobs. Test locally first using simulation modes before deploying to production devices.

Common Commands/API

Use the OpenClaw CLI for edge operations, requiring $EDGE_API_KEY for authenticated requests. Example CLI command to deploy a function:

edge-compute deploy --function processSensorData.js --device-id dev123 --region us-west-2

To run a function manually:

edge-compute run --function-id func456 --input '{"data": [1,2,3]}' --env VAR=value

API endpoints include POST /api/edge/deploy for function deployment, with a JSON body like {"function": "code.js", "device": "dev123"}. For status checks, use GET /api/edge/status/{function-id}, returning JSON with fields like {"status": "running", "errors": []}. Configure functions via YAML files, e.g.:

function:
  name: sensorProcessor
  language: javascript
  resources:
    cpu: 0.5

Invoke via SDK in Python:

import openclaw
client = openclaw.EdgeClient(api_key=os.environ['EDGE_API_KEY'])
response = client.deploy_function(device='dev123', function_code='def process(data): return data * 2')

For querying metrics, use GET /api/edge/metrics, with query params like?device=dev123.

Integration Notes

Integrate this skill with IoT platforms by mapping device IDs and using webhooks for event triggers. For AWS IoT, set up rules to forward messages to OpenClaw endpoints, e.g., configure an AWS rule with target URL https://api.openclaw.com/edge/invoke. Use environment variables for keys, like $AWS_IOT_ENDPOINT alongside $EDGE_API_KEY. In code, handle SDK initialization with config objects, e.g., in Go:

cfg := openclaw.Config{APIKey: os.Getenv("EDGE_API_KEY"), Region: "us-west-2"}
client, err := openclaw.NewEdgeClient(cfg)

Ensure compatibility by matching protocol versions (e.g., MQTT 3.1.1) and handle data serialization (JSON or Protocol Buffers). For microservices, embed as a library and expose gRPC endpoints for inter-service communication.

Error Handling

Always check for authentication errors first, using try-catch blocks around API calls, e.g., in JavaScript:

try {
  await client.deployFunction({device: 'dev123'});
} catch (error) {
  if (error.code === 'AUTH_FAILED') console.error('Invalid $EDGE_API_KEY');
}

Handle device-specific errors like timeouts or connectivity issues by implementing retries with exponential backoff, e.g., using a loop with increasing delays. Parse API responses for error codes (e.g., 404 for unknown devices) and log details. For CLI commands, use --verbose flag to capture output and diagnose issues. Configure global error handlers in your app to fallback to cloud processing if edge fails. Test with simulated errors, like forcing network failures, and use the /api/edge/logs endpoint to retrieve function logs.

Graph Relationships

  • Connected to cluster: iot
  • Tagged with: iot, edge
  • Related skills: Based on embedding hint, links to other iot-related skills like device-management or data-streaming

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.48%
按下载量换算44

Claude

34.51%
按下载量换算44

Cursor

17.74%
按下载量换算23

Gemini CLI

10.77%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills