con un clic
nats
Read and publish clan events on the NATS bus with the `nats` CLI
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Read and publish clan events on the NATS bus with the `nats` CLI
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| name | nats |
| description | Read and publish clan events on the NATS bus with the `nats` CLI |
You can read from and publish to the clan's NATS message bus with the nats
CLI (already on your PATH). NATS_URL and NATS_NKEY are preset in your
environment, so commands need no connection flags.
The broker enforces a per-persona ACL: subscribing or publishing to any subject outside your grant is rejected. Ask the broker what your grant is:
nats req '$SYS.REQ.USER.INFO' '' --raw
The JSON reply's data.permissions lists your subjects: publish.allow /
subscribe.allow are what you may use; publish.deny / subscribe.deny
override them. Subjects may contain wildcards (* = one token, > = the rest).
Core NATS keeps no history — you only receive messages published after you
subscribe, so always bound the read with --count and/or --wait:
# the next single message on one of your readable subjects
nats sub --count 1 "<subject>"
# up to 5 messages, or give up after 30s of silence
nats sub --count 5 --wait 30s "<subject>"
nats pub "<subject>" '{"example":"compact single-line JSON"}'
Use compact single-line JSON payloads.
nats request "<subject>" '{"q":"..."}' --timeout=5s