Skip to content
Back to skills

Quickstart

ASecurity

Use this skill when the user wants to execute shell commands on a remote machine via the remotecmd WebSocket relay.

  • 58 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 6, 2026
toolsshellbashnodegit

Works with

  • cli

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro shows the line behind each finding and how to fix it

Scanned September 6, 2026

npx -y skills add javimosch/supercli --skill quickstart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quickstart?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quickstart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/javimosch-quickstart-7734553b/badge)](https://www.skillsdirectory.com/skills/javimosch-quickstart-7734553b)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: remotecmd
description: Use this skill when the user wants to execute shell commands on a remote machine via the remotecmd WebSocket relay.
---

# remotecmd Plugin

Remote command execution via WebSocket relay. Execute shell commands on remote machines over Tailscale or public internet.

## Architecture

```
Client (sc remotecmd exec) → remotecmd-cli → WebSocket → Relay Hub → WebSocket → Target Daemon → shell
```

Three-node topology:
- **Relay**: Central WebSocket hub that routes messages by target name
- **Target Daemon**: Connects to relay, registers itself, waits for commands, executes them
- **Client**: One-shot CLI that connects to relay, sends a command, and prints the result as JSON

## Commands

### Execute
- `remotecmd exec run --target <name> --cmd <command>` — Execute command on remote target

### Daemon Management
- `remotecmd daemon start [--token <t>] [--daemon]` — Start target daemon
- `remotecmd daemon stop` — Stop target daemon
- `remotecmd daemon status` — Check target daemon status

### Relay Management
- `remotecmd relay start [--port <n>] [--daemon]` — Start relay hub
- `remotecmd relay stop` — Stop relay hub
- `remotecmd relay status` — Check relay hub status
- `remotecmd relay config --url <u> --name <n>` — Configure relay connection

### Target Configuration
- `remotecmd target add --name <n> --token <t>` — Add a known target
- `remotecmd target remove --name <n>` — Remove a target
- `remotecmd target list` — List configured targets

### Info
- `remotecmd self version` — Show remotecmd-cli version

## Usage Examples

- "Run a command on a remote PC: `remotecmd exec run --target p22 --cmd \"uptime\"`"
- "Check if the target daemon is running: `remotecmd daemon status`"
- "Start the relay hub: `remotecmd relay start --port 3032 --daemon`"
- "Add a new target: `remotecmd target add --name p22 --token abc123`"

## Installation

```bash
curl -LO https://github.com/javimosch/remotecmd-cli/releases/latest/download/remotecmd-cli-linux-amd64
chmod +x remotecmd-cli-linux-amd64
sudo mv remotecmd-cli-linux-amd64 /usr/local/bin/remotecmd-cli
```

## Setup

1. Start relay on a reachable machine:
   ```bash
   remotecmd-cli relay daemon start --port 3032 -daemon
   ```

2. Start target daemon on the machine that will execute commands:
   ```bash
   remotecmd-cli set-relay --url http://<relay-host>:3032 --name my-node
   remotecmd-cli daemon start -daemon
   ```

3. From a client machine:
   ```bash
   remotecmd-cli set-relay --url http://<relay-host>:3032 --name client
   remotecmd-cli add-target --name my-node --token <token>
   remotecmd-cli --target my-node --cmd 'echo "hello"'
   ```

## Key Features
- WebSocket relay for bidirectional real-time communication
- Token-based authentication between targets and clients
- Parallel command execution on target daemon
- Auto-reconnect on connection loss
- JSON output for machine parsing
- Auto-generated auth tokens with file persistence

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.