Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

connect-to-another-openclaw

v1.0.0

Connect to and manage another OpenClaw server remotely. Check status, sync skills, restart gateway, and monitor channels.

0· 89·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for fangbb-coder/connect-to-another-openclaw.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "connect-to-another-openclaw" (fangbb-coder/connect-to-another-openclaw) from ClawHub.
Skill page: https://clawhub.ai/fangbb-coder/connect-to-another-openclaw
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install connect-to-another-openclaw

ClawHub CLI

Package manager switcher

npx clawhub@latest install connect-to-another-openclaw
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (remote OpenClaw management) matches what the files implement: SSH-based status checks, port fixes, skill listing/sync, log tailing, and gateway restarts. Required capabilities (SSH access, SkillHub on remote) are appropriate for the stated functionality.
Instruction Scope
SKILL.md and main.py instruct the agent to run many remote shell commands (ls, lsof/ss, pkill, openclaw gateway restart, tail, and SkillHub installs). These actions are within the stated scope but involve running privileged operations on the remote host (killing processes, restarting services, installing skills). The skill also reads a local skills file (default /root/.openclaw/workspace/local_skills.txt) for diffs; users should be aware of that path and permissions.
Install Mechanism
There is no install spec and the package is delivered as code (main.py + docs). No external downloads or installers are invoked by the skill itself. This is the lower-risk delivery model for this type of tool.
Credentials
The skill declares optional environment variables for SSH key, user, and ports which align with its SSH-based function. It does not request unrelated credentials. The default local skills file path and default to root user are somewhat heavy-handed but coherent with remote admin tasks.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide agent settings. It executes on demand and relies on SSH to a user-specified host.
Assessment
This skill legitimately connects to remote OpenClaw servers over SSH and will execute commands that can kill processes, restart services, and install skills on the remote host—so only use it against systems you control and trust. Before installing or running: - Prefer using a non-root administrative user where possible and avoid leaving the default root path (/root/...) if you are not root. - Use a dedicated SSH key and keep its permissions tight (chmod 600). The code sets StrictHostKeyChecking=no which disables host key verification—consider running initial SSH manually to verify host keys or modify the tool if you need strict verification. - Understand that sync-to-remote can trigger remote SkillHub installs (which will install code on the remote machine). Review what will be installed and avoid auto-confirm (--yes) unless you trust the remote SkillHub index. - For sensitive environments, run test-connection first, inspect local_skills_file used by diff, and consider auditing the remote commands the skill runs (ls, lsof/ss, pkill, system/service restarts, tail) to ensure they meet your operational policies.

Like a lobster shell, security has layers — review code before you run it.

latestvk97fgdhgbc539kb4a6wtpm9dex83rhj8
89downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

Connect to Another OpenClaw

What This Skill Does

Provides a unified interface to connect to a remote OpenClaw server via SSH, perform health checks, manage skills, and troubleshoot common issues like port conflicts.

Prerequisites

  1. SSH Access to the remote machine:
    • SSH private key file (recommended) OR password access
    • Remote user must have sudo/root privileges
    • Remote machine must have OpenClaw installed
  2. SkillHub on both local and remote (for skill sync)
  3. Network connectivity (port 22 SSH)

Primary Workflow

1. Connect and Check Status

connect-openclaw --host <your-remote-host> --action status

Important: Replace <your-remote-host> with your actual remote server IP or domain (e.g., 192.168.1.100 or myserver.com). This is a required placeholder.

This will:

  • Test SSH connectivity
  • Check OpenClaw Gateway status
  • List active channels (QQBot, etc.)
  • Show recent sessions

2. Fix Common Issues

connect-openclaw --host <your-remote-host> --action fix-port

Automatically:

  • Detect port conflicts on gateway port (default 18790)
  • Kill conflicting processes (SSH tunnels, test services)
  • Restart OpenClaw gateway
  • Verify recovery

3. Sync Skills

# See differences
connect-openclaw --host <your-remote-host> --action diff

# Install remote's missing skills to local
connect-openclaw --host <your-remote-host> --action sync-to-local

# Install local's missing skills to remote (if remote has SkillHub)
connect-openclaw --host <your-remote-host> --action sync-to-remote

4. Send Message via Remote QQBot

connect-openclaw --host <your-remote-host> --action send-qqbot \
  --session "agent:main:qqbot:direct:..." \
  --message "Hello from local OpenClaw"

Commands Reference

CommandDescription
statusFull health check of remote OpenClaw
fix-portAuto-fix port 18790 conflicts
diffCompare local vs remote skills
sync-to-localInstall remote-only skills to local
sync-to-remotePush local-only skills to remote
list-skillsList all skills on remote
list-channelsList configured channels
list-sessionsShow active sessions
tail-logsTail OpenClaw logs filtered by channel
test-connectionSimple SSH test

Configuration

The skill uses these environment variables (optional):

VariablePurposeDefault
CONNECT_OPENCLAW_SSH_KEYPath to SSH private key~/.ssh/id_rsa
CONNECT_OPENCLAW_USERRemote usernameroot
CONNECT_OPENCLAW_PORTSSH port22
CONNECT_OPENCLAW_GATEWAY_PORTRemote OpenClaw port18790

You can also pass these as CLI flags:

connect-openclaw --host example.com --user admin --key ~/.ssh/mykey.pem --action status

Examples

Quick diagnostic

connect-openclaw --host <your-remote-host> --action status

Fix port conflict and restart

connect-openclaw --host <your-remote-host> --action fix-port

Compare skills before syncing

connect-openclaw --host <your-remote-host> --action diff

One-way sync (remote → local)

connect-openclaw --host <your-remote-host> --action sync-to-local

Installation

If not already installed, run:

skillhub install Connect_to_another_openclaw

Or clone this repository to ~/.openclaw/workspace/skills/Connect_to_another_openclaw/.

Requirements

  • Python 3.9+ (or Node.js version if implemented in JS)
  • paramiko (Python SSH library) or native ssh command
  • Access to remote shell

Troubleshooting

ProblemSolution
SSH connection failedCheck key permissions (chmod 600), network, and authorized_keys
SkillHub not found on remoteInstall SkillHub on remote first
Permission deniedEnsure remote user has sudo/root and correct key
Port still in use after fixManually check with lsof -i :18790 and kill processes

Notes

  • Always test with --action test-connection first
  • fix-port will kill processes matching ssh -N.*18790 and voice-bridge-light
  • Skill sync uses SkillHub CLI; ensure it's installed on both sides
  • For safety, sync-to-remote prompts before each installation (use --yes to auto-confirm)

Version: 1.0.0 Author: 小李 (基于 2026-03-28 实践经验) License: MIT

Comments

Loading comments...