Skip to content
Back to skills

Ostiary

ASecurity

Run commands and transfer files on remote servers through ostiary. Use whenever a task needs a shell on a server, logs from a host, a service restart, or a file copied to/from a host. Never use ssh/scp/rsync directly.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsgoshelldatabase

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add ASromancer/ostiary --skill ostiary --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ostiary?

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

Security grade badge for Ostiary
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asromancer-ostiary/badge)](https://www.skillsdirectory.com/skills/asromancer-ostiary)

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: ostiary
description: Run commands and transfer files on remote servers through ostiary. Use whenever a task needs a shell on a server, logs from a host, a service restart, or a file copied to/from a host. Never use ssh/scp/rsync directly.
---

# ostiary

You never hold SSH keys. A local daemon runs commands for you, classifies each one
(read / mutate / destructive / forbidden) and asks the human when needed.

## Commands

- `ostiary hosts` — hosts you may use, their profile and description. Start here.
- `ostiary run <host> "<cmd>" [--timeout 60s]` — run one command (quote it as one argument).
  First line: `web1 exit=0 1.2s level=read id=57`, then output. Long output keeps the first and
  last 40 lines.
- `ostiary check <host>` — test the connection (tcp, host key, auth, exec) and say which step fails. Run it when a command hangs or fails to connect; `check --all` tests every host. Host names match case-insensitively.
- `ostiary out <id> --grep <regexp>` / `--range a:b` — read the full output of an earlier run.
  Use this instead of running the command again.
- `ostiary get <host>:<remote> <local>`, `ostiary put <local> <host>:<remote>` — copy files (50 MB max).
- `ostiary job start <host> "<cmd>"`, `job tail <id> [--lines N]`, `job kill <id>` — long-running commands.
- `ostiary tunnel open <host> <host:port> [--ttl 1h]` — forward a local port (printed, on 127.0.0.1) to a
  target the user allow-listed on that host (e.g. a database). It always needs the user's approval.
  `ostiary tunnel list`, `ostiary tunnel close <id>`. You still need your own DB credentials.
- `ostiary explain "<cmd>" [--host <host>]` — see how a command is classified, without running it.

## Exit codes

- Any code from the remote command is passed through unchanged.
- `100` blocked by policy (forbidden command, profile does not allow it, host not allowed).
- `101` the user denied the request or did not answer in time.
- `102` the daemon is not running or the vault is locked. If you run inside a sandbox (Codex), the
  sandbox may be what blocks ostiary's local socket: re-run the same ostiary command outside the
  sandbox (escalated) before asking the user.
- `103` ostiary is restarting (stop, upgrade). The CLI already waits 10 s and retries once; if you
  still get 103, wait about 10 seconds and retry the same command once, then ask the user. A pending
  approval cancelled by a restart ends with 101: ask the user before retrying.
- Only errors produced by ostiary itself print a stderr line starting with `ostiary:`.

## Rules

- Never call `ssh`, `scp`, `sftp`, `rsync` to remote hosts, or `mosh` directly.
- Never run `ostiary approve`, `key`, `reload`, `host`, `init`, `unlock`, `install-hooks`, `daemon`,
  `ui`, `open`, `stop`, `upgrade`, `install-service` or `uninstall-service` (also as `ostiary-app`):
  those are for the human only.
- On `101`: stop and ask the user. Do not retry the same goal another way.
- On `100`: tell the user what you wanted to do and why; do not look for a workaround.
- Destructive commands wait for the user to approve in another terminal; just wait.
- No PTY: interactive programs (vim, top, less, watch) are refused. Use `top -bn1`, `cat`,
  `tail -n`, `journalctl --no-pager`.
- Prefer small read commands and `ostiary out --grep` over re-running heavy commands.

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 ai-agents →

Comments

Loading comments…

Newsletter

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