node-ops
Node pairing: approve/reject, nodes run/invoke, screen_record, camera_snap, location, System76 mgmt
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o node-ops.zip https://jpskill.com/download/22199.zip && unzip -o node-ops.zip && rm node-ops.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/22199.zip -OutFile "$d\node-ops.zip"; Expand-Archive "$d\node-ops.zip" -DestinationPath $d -Force; ri "$d\node-ops.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
node-ops.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
node-opsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
node-ops
目的
このスキルは、分散通信設定におけるノード操作を処理します。具体的には、ノードのペアリング(承認/拒否)、コマンドの実行、およびスクリーン録画、カメラのスナップショット、位置追跡、System76デバイス管理などのハードウェア管理に焦点を当てています。これは、distributed-commsのような環境におけるセキュアなクラスターベースのインタラクションのために設計されています。
使用する場面
このスキルは、クラスター内でノードペアを設定または管理する際に使用します。例えば、通信のための新しいノードの承認、リモートコマンドの呼び出し、またはデバイス機能へのアクセスなどです。IoTデバイス、リモート監視、またはSystem76ハードウェア統合(フリート管理やリアルタイムデータキャプチャなど)を伴うシナリオに適用してください。
主な機能
- 認証済みリクエストを介してノードペアリングを承認または拒否します。
- ペアリングされたノード上でコマンドを呼び出すか実行し、非同期実行をサポートします。
- ターゲットノード上でスクリーンセッションを録画したり、カメラのスナップショットを撮影したりします。
- GPSまたはネットワークベースの方法を使用して、ノードから位置データを取得します。
- ファームウェアの更新やハードウェア診断を含むSystem76デバイスを管理します。
distributed-commsクラスター内でセキュアな通信を処理し、すべての操作に暗号化を適用します。
使用パターン
操作を行う前に、常に$NODE_OPS_API_KEY環境変数を使用して認証してください。まずノードのペアリングから始め、次にコマンドまたはハードウェアアクセスに進みます。迅速なタスクにはCLIを、プログラムによる統合にはAPIを使用してください。例えば、最初にノードの状態を確認し、次にアクションを実行します。コードでは、スキルをモジュールとしてインポートし、必要なパラメーターでメソッドを呼び出します。スクリプトでは、コマンドを連結するために出力をパイプで渡します。
一般的なコマンド/API
CLIツールnode-opsまたはhttps://api.distributed-comms.com/v1/node-opsのREST APIを使用してください。認証には、環境に$NODE_OPS_API_KEYを設定する必要があります。
- ペアリングのためのCLI:
node-ops pair approve --node-id 123 --reason "Verified"。拒否するには:node-ops pair reject --node-id 123 --reason "Unauthorized"。 - コマンド実行のためのCLI:
node-ops run --node-id 123 --command "ls -la" --async。出力例: コマンドステータスを含むJSON。 - スクリーン録画のためのAPIエンドポイント: POST /api/screen_record、ボディ:
{"node_id": "123", "duration": 30}。レスポンス: 200 OK、録画URL付き。 - カメラのスナップショットのためのAPI: GET /api/camera_snap?node_id=123。ヘッダーが必要:
Authorization: Bearer $NODE_OPS_API_KEY。 - コマンド呼び出しのためのコードスニペット:
const nodeOps = require('node-ops-sdk'); nodeOps.invoke({ nodeId: '123', command: 'echo Hello' }) .then(result => console.log(result)); - 位置情報取得のためのコードスニペット:
import node_ops location = node_ops.get_location(node_id='123') print(location) # Returns dict: {'lat': 37.7749, 'lon': -122.4194} - 設定形式: ノードプロファイルにはJSONファイルを使用します。例:
{"node_id": "123", "pair_status": "approved", "api_key": "$NODE_OPS_API_KEY"}。
統合に関する注意点
アプリケーションで$NODE_OPS_API_KEYを環境変数として設定することで統合します。クラスターインタラクションの場合、コードがdistributed-commsエンドポイントを参照していることを確認してください。Node.js用のnode-ops-sdkやPythonラッパーなどのSDKを使用してください。他のスキルと組み合わせる場合、クラスターIDをプレフィックスとして付けてクラスター間呼び出しを処理します。例: distributed-comms:node-ops run ...。キーをハードコーディングすることは避け、セキュアな保管庫または環境ファイルを使用してください。
エラー処理
一般的なエラーには、認証失敗(HTTP 401)、ノードが見つからない(404)、またはコマンドのタイムアウトなどがあります。レスポンスコードを確認し、try-catchブロックで処理してください。CLIの場合、--verboseフラグでエラーを解析します。例: ペアリングが失敗した場合、$NODE_OPS_API_KEYを確認してから再試行してください。コードでは:
try {
await nodeOps.pairApprove({ nodeId: '123' });
} catch (error) {
if (error.code === 'AUTH_ERROR') console.error('Invalid API key');
}
--debugフラグで有効になるスキルの組み込みロギングを使用して、詳細なエラーをログに記録してください。
グラフ関係
このスキルは以下と関連しています: distributed-commsクラスター(親)、タグを持つスキル: nodes(ピア)、pairing(関連)、system76(依存)、screenおよびcamera(統合されたハードウェア機能)。接続: ノード検出のためにdistributed-commsを使用します。system76管理スキルとデータを共有します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
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.