Skip to content
Back to skills

Rhost

ASecurity

Operate SSH-reachable hosts with rhost: execute recoverable work, inspect or edit files, and drive persistent terminals through available MCP tools or the installed CLI. Use when work belongs remotely and OpenSSH should own authentication and host keys.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
developmentrustshellgit

Works with

  • cursor
  • terminal
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add starfield17/rhost --skill rhost --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rhost?

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

Security grade badge for Rhost
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/starfield17-rhost/badge)](https://www.skillsdirectory.com/skills/starfield17-rhost)

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: rhost
description: "Operate SSH-reachable hosts with rhost: execute recoverable work, inspect or edit files, and drive persistent terminals through available MCP tools or the installed CLI. Use when work belongs remotely and OpenSSH should own authentication and host keys."
---

# rhost

Use the user's SSH target: alias, `user@example-host`, or hostname. Discovery
lists local OpenSSH aliases; it is best-effort, not a host inventory.

Choose the operation by its guarantees, then use its available interface.
Use the eight core MCP tools or the CLI. CLI foreground exec supports stdin and
streaming. Use the tool names and schemas advertised by the connected server.
Inspect recovery evidence before retrying through either interface.

## Read only the guide needed now

| Task | Operation and reference |
| --- | --- |
| Ordinary command, script, stdin or streaming output | `rhost exec`; [CLI.md](references/CLI.md#foreground-execution) |
| Build/test that must survive CLI/MCP exit | Run start/wait/watch/signal; [RUNS.md](references/RUNS.md) |
| Publish working trees, run across hosts, or pull results | Push/matrix/pull; [CLI.md](references/CLI.md#device-mode) |
| Read/search files, CAS edit, named changeset recovery | [FILES.md](references/FILES.md) |
| Stateful shell, REPL or debugger | Session create/send/read; [SESSIONS.md](references/SESSIONS.md) |
| Connect MCP or send one JSON request | [MCP.md](references/MCP.md) |
| Read a host card, diagnose SSH, copy/sync or forward ports | Relevant section of [CLI.md](references/CLI.md) |
| Helper cache/build policy or preparation failure | [NATIVE.md](references/NATIVE.md#preparation-policies) |

Start with `rhost brief <host>` or `rhost_brief` for boot-keyed host facts,
live activity and remote instructions. The caller ledger fills in omitted Run
identity, file hashes and cursors when supported. Local policy gates requests
before submission. See [SAFETY.md](references/SAFETY.md#local-policy).

## Keep the evidence

- Use CLI `--json` for hashes and programmatic decisions. MCP returns the same
  schema-v8 envelope in `structuredContent`. Branch on `error.code` and the
  operation's completion/mutation evidence plus `error.recovery`, never English
  messages alone.
- Replacing or patching a file requires an observed hash. Re-read and merge on
  conflict; a changeset has no global atomic visibility or automatic rollback.
- Run wait/cancellation ends observation. Session exec timeout may interrupt its
  pane. Before retrying an uncertain mutation or input, read the relevant section
  of [RECOVERY.md](references/RECOVERY.md); changing interfaces adds no retry safety.
- Output cursors count source bytes. Advance with the returned cursor and inspect
  truncation/gaps; rendered text length is not an offset.
- OpenSSH owns credentials/trust. For destructive sync, exposure, sudo or account
  changes, read [SAFETY.md](references/SAFETY.md). Manage project/Git state yourself.

If behavior differs from these guides, check `rhost version --json` and
`rhost <command> --help`, or the connected MCP tool list. A symlinked skill can
drift from the installed binary. Do not preload every reference.

Files in this skill

  • SKILL.md6.5 KB
  • references/CLI.md10.5 KB
  • references/RECOVERY.md6.7 KB
  • references/SAFETY.md3.6 KB

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 development →

Comments

Loading comments…

Newsletter

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