yo-protocol-clilisted
Install: claude install-skill yoprotocol/yo-protocol-skills
Official YO Protocol skill. Canonical repository: <https://github.com/yoprotocol/yo-protocol-skills>.
# YO Protocol CLI — Reference
Agent-first interface for YO Protocol ERC-4626 vaults. Outputs JSON to stdout, errors to stderr. **Never requires or accepts private keys.** Designed for agents, bots, scripts, Safe/AA wallets, and Base MCP `send_calls`.
**Canonical source for the command surface is `yo schema`** — this file documents the same surface but `yo schema` is authoritative. If a command appears here but not in `yo schema`, trust the schema.
## Installation
```bash
npm install -g @yo-protocol/cli
# or run on demand without installing
npx @yo-protocol/cli@latest <command>
```
Binary: `yo` (or `npx yo`). npm: <https://www.npmjs.com/package/@yo-protocol/cli>.
## Global options
Every command inherits these. The `--json` flag is **required for agent use** — without it, output is interactive/text and not parseable.
| Flag | Description | Default | Env |
| ----------------- | -------------------------------------------------------------- | ------- | ------------ |
| `--rpc-url <url>` | RPC endpoint for on-chain reads | public | `YO_RPC_URL` |
| `--chain <id>` | Chain ID: `1` (Ethereum), `8453` (Base), or `42161` (Arbitrum) | `1` | — |
| `--json` | Force JSON output (agent compat). **Use on every agent call.** | off | — |
|