Skip to content
node-ops logo

Node Ops

node-ops

Node pairing: approve/reject, nodes run/invoke, screen_record, camera_snap, location, System76 mgmt

SKILL.md

Full skill instructions

node-ops

Purpose

This skill handles node operations in a distributed communications setup, focusing on pairing nodes (approve/​reject), executing commands, and managing hardware like screen recording, camera snapshots, location tracking, and System76 device management. It's designed for secure, cluster-based interactions in environments like distributed-comms.

When to Use

Use this skill when setting up or managing node pairs in a cluster, such as approving new nodes for communication, invoking remote commands, or accessing device features. Apply it in scenarios involving IoT devices, remote monitoring, or System76 hardware integration, like fleet management or real-time data capture.

Key Capabilities

  • Approve or reject node pairings via authenticated requests.
  • Invoke or run commands on paired nodes, supporting asynchronous execution.
  • Record screen sessions or take camera snapshots on target nodes.
  • Retrieve location data from nodes, using GPS or network-based methods.
  • Manage System76 devices, including firmware updates and hardware diagnostics.
  • Handle secure communications within the distributed-comms cluster, with encryption for all operations.

Usage Patterns

Always authenticate using the $NODE_OPS_API_KEY environment variable before operations. Start with pairing nodes, then proceed to commands or hardware access. Use CLI for quick tasks or API for programmatic integration. For example, check node status first, then execute actions. In code, import the skill as a module and call methods with required parameters; in scripts, pipe outputs for chaining commands.

Common Commands/​API

Use the CLI tool node-ops or the REST API at https://api.distributed-comms.com/​v1/​node-ops. Authentication requires setting $NODE_OPS_API_KEY in your environment.

  • CLI for pairing: node-ops pair approve --node-id 123 --reason "Verified". Reject with: node-ops pair reject --node-id 123 --reason "Unauthorized".
  • CLI for running commands: node-ops run --node-id 123 --command "ls -la" --async. Example output: JSON with command status.
  • API endpoint for screen recording: POST /​api/​screen_record with body: {"node_id": "123", "duration": 30}. Response: 200 OK with recording URL.
  • API for camera snapshot: GET /​api/​camera_snap?node_id=123. Requires headers: Authorization: Bearer $NODE_OPS_API_KEY.
  • Code snippet for invoking a command:
    const nodeOps = require('node-ops-sdk');
    nodeOps.invoke({ nodeId: '123', command: 'echo Hello' })
      .then(result => console.log(result));
    
  • Code snippet for location retrieval:
    import node_ops
    location = node_ops.get_location(node_id='123')
    print(location)  # Returns dict: {'lat': 37.7749, 'lon': -122.4194}
    
  • Config format: Use JSON files for node profiles, e.g., {"node_id": "123", "pair_status": "approved", "api_key": "$NODE_OPS_API_KEY"}.

Integration Notes

Integrate by setting $NODE_OPS_API_KEY as an environment variable in your application. For cluster interactions, ensure your code references the distributed-comms endpoint. Use SDKs like node-ops-sdk for Node.js or Python wrappers. When combining with other skills, handle cross-cluster calls by prefixing with the cluster ID, e.g., distributed-comms:node-ops run .... Avoid hardcoding keys; use secure vaults or env files.

Error Handling

Common errors include authentication failures (HTTP 401), node not found (404), or command timeouts. Check response codes and handle with try-catch blocks. For CLI, parse errors with --verbose flag. Example: If pairing fails, retry after checking $NODE_OPS_API_KEY. In code:

try {
  await nodeOps.pairApprove({ nodeId: '123' });
} catch (error) {
  if (error.code === 'AUTH_ERROR') console.error('Invalid API key');
}

Log detailed errors using the skill's built-in logging, enabled via --debug flag.

Graph Relationships

This skill relates to: distributed-comms cluster (parent), skills with tags: nodes (peers), pairing (related), system76 (dependent), screen and camera (integrated hardware features). Connections: Uses distributed-comms for node discovery; shares data with system76 management skills.

More skills from alphaonedev

auto-updater-skill logo
alphaonedev/openclaw-graph

auto-updater-skill

Automatic skill update management: check for updates, diff, apply, rollback, version tracking

0 0
View
nano-banana-pro logo
alphaonedev/openclaw-graph

nano-banana-pro

Gemini image generation/editing: Imagen 3, edit regions, style transfer, upscaling

0 0
View
macos-keychain logo
alphaonedev/openclaw-graph

macos-keychain

Keychain: security CLI, API key storage, certificates, codesigning, Secure Enclave

0 0
View
k8s logo
alphaonedev/openclaw-graph

k8s

Expertise in orchestrating and managing containerized applications at scale using Kubernetes.

0 0
View
clawhub logo
alphaonedev/openclaw-graph

clawhub

ClaWHub skills marketplace: browse, search, install, rate, review skills. https://clawhub.com

0 0
View
aws-vpc logo
alphaonedev/openclaw-graph

aws-vpc

Manage and configure Amazon Virtual Private Cloud for creating isolated, customizable network environments in AWS.

0 0
View
session-mesh logo
alphaonedev/openclaw-graph

session-mesh

Session topology: discover alive sessions, specialization registry, steer/kill sub-agents, session keys

0 0
View
aws-ec2 logo
alphaonedev/openclaw-graph

aws-ec2

Manage and configure Amazon EC2 instances for scalable virtual servers and cloud computing resources.

0 0
View
grafana logo
alphaonedev/openclaw-graph

grafana

Grafana is an open-source tool for creating dashboards to visualize and query metrics, logs, and traces from various dat

0 0
View
unity-xr logo
alphaonedev/openclaw-graph

unity-xr

Develops XR applications using Unity for AR and VR, focusing on immersive interactions and cross-platform compatibility.

0 0
View
coding-r logo
alphaonedev/openclaw-graph

coding-r

R: data frames, tidyverse, ggplot2, statistical modeling, RMarkdown, Shiny, package development

0 0
View
abtesting-stats logo
alphaonedev/openclaw-graph

abtesting-stats

Statistical analysis: t-tests, chi-squared, Mann-Whitney, p-values, CIs, Bonferroni/BH, Bayesian A/B

0 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View