Skip to content
Back to skills

Ferryx

ASecurity

Use when running inside a Ferryx terminal pane, or when asked to watch, read, message, answer or stop other coding agents running in Ferryx panes, or to discover what the ferryx-cli command line can do.

  • 21 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentsapi

Works with

  • claude code
  • cursor
  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add Indosaram/ferryx --skill ferryx --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ferryx?

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

Security grade badge for Ferryx
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/indosaram-ferryx/badge)](https://www.skillsdirectory.com/skills/indosaram-ferryx)

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: ferryx
description: Use when running inside a Ferryx terminal pane, or when asked to watch, read, message, answer or stop other coding agents running in Ferryx panes, or to discover what the ferryx-cli command line can do.
ferryx-managed: true
---

# Ferryx

Ferryx is a terminal workspace that runs coding agents in panes on this machine and on paired
or SSH hosts. `ferryx-cli` talks to the running Ferryx daemon. It never starts a daemon: when
none is running, a command fails with exit code 3.

This file is installed and updated by Ferryx. To keep your own edits, delete the
`ferryx-managed: true` line above; Ferryx then never overwrites or removes the file.

## Discover the commands

- `ferryx-cli api list` prints a JSON catalogue of every top-level command:
  `{"commands":[{"name":...,"summary":...}]}`.
- `ferryx-cli api describe <command>` prints one catalogue entry as JSON: its arguments, flags,
  exit codes and output shape. An unknown command exits 2.

Prefer these over guessing flags.

## Supervise agent panes: `ferryx-cli agents`

Every command prints exactly one JSON value on stdout. Success is `{"ok":true,...}`; failure is
`{"ok":false,"code":"<CODE>","message":"..."}`. `--json` is accepted but JSON is the only format.
`--host <id>` runs the command against another host Ferryx is connected to.

```
ferryx-cli agents list [--host <id>] [--json]
ferryx-cli agents read <session> [--host <id>] [--json]
ferryx-cli agents send <session> <text> [--request-id <id>] [--host <id>] [--json]
ferryx-cli agents answer <session> --prompt <id> --revision <rev> (--option <n> | --options <n,m> | --text <t>) [--request-id <id>] [--host <id>] [--json]
ferryx-cli agents stop <session> [--request-id <id>] [--host <id>] [--json]
ferryx-cli agents wait <session> --until <working|blocked|idle|prompt|any> [--instance <id>] [--after <seq>] [--revision <rev>] [--timeout-ms <ms>] [--host <id>] [--json]
ferryx-cli agents events [--instance <id>] [--after <seq>] [--host <id>] [--json]
ferryx-cli agents ack <session> [--host <id>] [--json]
ferryx-cli agents spawn --agent <id> --cwd <dir> [--parent <session>] [--workspace <id>] [--name <n>] [--prompt <text>] [--command <cmd> [--arg <a>]...] [--request-id <id>] [--host <id>] [--json]
```

- `list` returns `{"sessions":[...]}`. Each session has `sessionId`, `running`, `cwd`, `agent`,
  `state` (`working`, `blocked`, `idle` or `unknown`), `stateSource` (`provider`, `screen` or
  `none`), `tier` (`native` when the agent reports its own state, `screen` when only the screen
  is known), `pending` (the prompt the pane is waiting on, or null) and `screenRevision`.
- `read` returns `{"session":{...}}`: the same fields plus `screen` with the visible `text` and
  its `revision`.
- `send` types `<text>` into the pane and submits it. Words after the session id are joined with
  spaces; the text must not be empty.
- `answer` answers the prompt in `pending`. Pass its `id` as `--prompt` and the `screenRevision`
  you read as `--revision`; a screen that changed since is refused, so read again and retry.
  Give exactly one of `--option <n>` (zero-based option index), `--options <n,m>` (several
  indices for a multi-select prompt) or `--text <t>` (a typed answer).
- `stop` interrupts the agent's current turn.
- `wait` blocks until the session reaches the `--until` state (`prompt` means a prompt is
  pending, `any` means any change). Every reply carries `instance` (the observer epoch its
  sequences belong to), `afterSequence` (your next cursor) and either `observation` or, on a
  gap, `snapshot`. `--after <seq>` skips events you have already seen; `--revision <rev>` is
  the `screenRevision` you read and skips that reading, so you never wait on a screen you have
  already seen. `--timeout-ms` defaults to 30000 and is capped at 300000.
- Bootstrap without `--instance`: sequences of an unknown epoch cannot be ordered, so the reply
  is `"gap":true` with a `snapshot` of every session's latest reading, returned at once instead
  of blocking. That is recovery, not an error. Then resume with `--instance <instance> --after
  <afterSequence>`, both taken from that same reply; only then does `wait` block.
- `events` replays state changes after `--after <seq>` as `{"gap":false,"events":[...],
  "afterSequence":N,"instance":"..."}`. Keep `afterSequence` and `instance` from the same reply
  as your next cursor and pass both back. `"gap":true` means your cursor fell out of the log or
  belongs to another epoch: you get a `snapshot` of every session's latest reading instead, and
  you resume from its `instance` and `afterSequence`.
- `ack` marks the session's current prompt or finished turn as seen on every device. It never
  answers the prompt. Each event carries `read`; a new prompt or a new finished turn is unread
  again. SSH and remote-helper panes refuse it with `UNSUPPORTED`.
- `spawn` opens a new agent pane running `--agent` (a registry id such as `claude` or `codex`)
  in `--cwd`. With `--parent <session>` (usually your own pane's session id) the new pane is
  that pane's child: it takes the parent's workspace and worktree and opens beside it on the
  desktop. Without `--parent`, `--workspace` is required. `--prompt` is typed into the new pane
  once it first reads idle. `--command`/`--arg` override the launch; otherwise the agent's own
  command runs with no arguments. No worktree is ever created. Children nest at most 2 levels
  deep and a pane may have at most 8 live children; past either limit the spawn is refused with
  `SPAWN_LIMIT` (exit 4). An unknown agent is `UNSUPPORTED` (exit 4). The reply is
  `{"session":{"sessionId","agent","parent","depth","name"}}`; reuse `--request-id` to retry
  without opening a second pane.
- `list` and `read` entries also carry `parent` (the spawning pane, or null), `depth` (0 for a
  pane you opened yourself) and `ownership` (`owner` or `delegated`).

`send`, `answer` and `stop` type into a pane. Give them a `--request-id` of your own and, on a
timeout or `OPERATION_OUTCOME_UNKNOWN`, retry with the same id; never retry with a new id, or
the input may be typed twice.

### Exit codes

| Code | Meaning |
| --- | --- |
| 0 | ok |
| 2 | invalid request: bad arguments (`INVALID_REQUEST`, `PAYLOAD_TOO_LARGE`) |
| 3 | not found: no such session, an expired target, or no Ferryx daemon running (`NOT_FOUND`, `TARGET_EXPIRED`) |
| 4 | refused (`UNAUTHORIZED`, `FORBIDDEN`, `CONTROL_CONFLICT`, `REQUEST_CONFLICT`, `PROVIDER_OWNED`, `UNSUPPORTED`, `CAPTURE_UNSUPPORTED`, `SPAWN_LIMIT`) |
| 5 | anything else, including an unknown outcome (`OPERATION_OUTCOME_UNKNOWN`, `TIMEOUT`, `INTERNAL`) |

## Report your own status: OSC 7501

Ferryx displays the program status a program in a pane reports with the OSC 7501 escape
sequence: working, blocked (with its kind and message), done and error show up in the Ferryx
sidebar, notifications and on the phone without any screen scraping. For example
`ESC ] 7501 ; state=working:app=<name>:msg=<base64 message> ESC \`. A program can send the query
`ESC ] 7501 ; ? ESC \` first; Ferryx answers it exactly once per pane. Agents that already
report status this way (Claude Code does) need to do nothing more.

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.