Skip to content
Back to skills

Omo Relay

ASecurity

Works on the account's other devices through omo's built-in relay from a js eval cell: run a command or a long job on another machine, read, write, edit or search its files, copy a directory tree to or from it, and run one operation on every machine, on chosen machines or on several threads at once with one outcome per target. Use when the user names another device, machine, host or computer of the account, asks for something on every machine or on all or several threads at once, or wants a f...

  • 71,331 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 20, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

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

Scanned November 28, 2026

npx -y skills add code-yeongyu/oh-my-openagent --skill omo-relay --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omo Relay?

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

Security grade badge for Omo Relay
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/code-yeongyu-omo-relay/badge)](https://www.skillsdirectory.com/skills/code-yeongyu-omo-relay)

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: omo-relay
description: "Works on the account's other devices through omo's built-in relay from a js eval cell: run a command or a long job on another machine, read, write, edit or search its files, copy a directory tree to or from it, and run one operation on every machine, on chosen machines or on several threads at once with one outcome per target. Use when the user names another device, machine, host or computer of the account, asks for something on every machine or on all or several threads at once, or wants a fan-out or a remote command or file."
metadata:
  short-description: Machines, threads and fan-out across the account's devices
---

# omo-relay

Every device signed in to the same account answers through the relay. From a js eval cell you reach them with two things that ship with omo, and this skill's typed helpers bind both:

- **The fleet client**: list the machines, then run commands and file operations on one of them or on many in one wave.
- **The thread tools** (`tool.thread_*`): the agent sessions on every device. This skill covers the parallel helpers over them; one thread at a time is the thread tools' own job.

## Bind once per cell

```js
const relay = await import("<this skill's directory>/scripts/sdk/index.ts")
const fleet = relay.fleetFromSdk(await import(`${env("OMO_BUNSHIN_TS_SDK_ROOT")}/sdk.js`))  // the account's machines
const threads = relay.threadPortFromTools(tool)      // the account's threads
```

Use the directory you read this file from. `OMO_BUNSHIN_TS_SDK_ROOT` is set only inside an omo session; outside one there is no fleet client to reach, so say so instead of retrying.

## Where to read next

| You need to | Read |
|---|---|
| List the machines, run a command or a long job, move files, search a machine | [references/machines.md](references/machines.md) |
| List, read, send to, create, interrupt or close a thread on any device, name one by address, or watch one | [references/threads.md](references/threads.md) |
| Do the same thing on every machine, on chosen machines or on several threads, and report each one | [references/parallel.md](references/parallel.md) |
| Act on an error code (`not_found`, `unsupported`, `invalid_arguments`, a skipped machine) | [references/errors.md](references/errors.md) |

## Rules that hold everywhere

- Report every target. A batch answers `fulfilled`, `rejected` and `skipped`; a machine that was offline or failed is part of the answer, so name it with its reason.
- Branch on `code`, then do what `next_action` says. The message is for people; the code is the contract.
- Never retry a whole wave because one target failed: rerun only that target, after its `next_action`.
- Treat a machine's files and processes as the user's. Clean up what you create there and read the removal back.

Files in this skill

  • SKILL.md2.6 KB
  • references/errors.md1.4 KB
  • references/machines.md3.1 KB
  • references/parallel.md3.1 KB
  • scripts/sdk/bind-eval.test.ts2.7 KB
  • scripts/sdk/bind-eval.ts5.7 KB
  • scripts/sdk/conformance.test.ts654 B
  • scripts/sdk/index.ts454 B
  • scripts/sdk/machines.test.ts5.4 KB
  • scripts/sdk/machines.ts5.2 KB
  • scripts/sdk/outcome.ts3.3 KB
  • scripts/sdk/ports.ts2.9 KB
  • scripts/sdk/threads.test.ts4.1 KB
  • scripts/sdk/threads.ts3.3 KB
  • scripts/sdk/tsconfig.json522 B
  • scripts/sdk/write-nothing.test.ts2.9 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 ai-agents →

Comments

Loading comments…

Newsletter

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