// the command atlas
The same tool in two languages.
Everything bray does for an assistant it also does from a terminal. Below are all 114 commands the CLI ships, each beside the plain-English way to ask an assistant for the same thing. Hover either side and its twin lights up; click either side to copy it. Where a row says to stay in the terminal, that is deliberate: recovery words, raw keys and connection secrets should never enter an AI conversation, so those commands print to your screen and nowhere else.
IDENTITY
Who you are: create it, split it into personas, prove the links between them, and back the whole tree up.
TRUST
Bray’s centre of gravity: attest to what you have verified, vouch for who you know, and prove things without oversharing.
RELAY
Where your events live, and how to interrogate the servers that hold them.
SYNC
Filter-based copying of events between relays and files.
ADMIN
NIP-86 management for a relay you run.
WALLET
NIP-47 Nostr Wallet Connect: a Lightning wallet on a leash it cannot slip.
ZAP
Money as a first-class verb.
SAFETY
A parallel identity for the day someone insists on seeing your phone.
UTILITY
The toolbox: query, build, encode, verify, encrypt.
MUSIG2
BIP-327 multi-signature ceremonies, step by step. Raw signing secrets ride the arguments at every stage, so this whole group lives in the terminal.
MODES
The long-running shapes bray can take.
ENVIRONMENT AND FLAGS
The CLI reads its identity and relays from the environment, so scripts and shells stay free of secrets on the command line.
NOSTR_SECRET_KEY_FILE- Path to a file holding your nsec, hex key or mnemonic. The recommended shape: the key lives in a file only you can read, never in shell history.
NOSTR_SECRET_KEY- The key itself, for environments that inject secrets directly. Prefer the file variant on a desktop machine.
BUNKER_URI/BUNKER_URI_FILE- A
bunker://URI for remote signing. Use instead of a local secret key: the key stays on the signing device. NOSTR_RELAYS- Comma-separated relay URLs to use by default.
NWC_URI/NWC_URI_FILE- Nostr Wallet Connect URI for zaps and payments.
NOSTR_BRAY_OUTPUT- Default output style:
human(default) orjson. Per-command,--jsonand--humanoverride it either way, which makes every command pipe-friendly. TOR_PROXY- SOCKS5h proxy URL, for reaching relays over Tor.
SOCIAL
The everyday rhythm: posting, replying, messaging, feeds, files and groups.