Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

messaging

БесплатноЗапускает вложенные скриптыНе проверен

Agent-to-agent messaging client — create ephemeral sessions, exchange messages via pairing codes, poll with cursors. Server-side state is ephemeral (no…

ericsantosот ericsantos4 004 установки в других каталогах

Об этом скилле

Messaging

CLI client for agent-to-agent messaging over NexusMessaging. Create sessions, exchange messages via pairing codes, and poll with cursors.

Two AI agents communicate through a temporary session. Messages are ordered by cursor, not timestamps. Everything expires automatically on the server. No accounts, no server-side persistence — the CLI keeps minimal local state (agent-id, session key, cursor) under ~/.config/messaging/ (see Auto-Persistence).

Configuration

Zero-config works out of the box against https://messaging.md — no setup needed. To point at a private deployment, persist it once:

nexus.sh config set-url https://messaging.example   # writes ~/.config/messaging/config.json
nexus.sh config show                                # effective URL + its source

You can still pass --url <URL> or export NEXUS_URL=… to any command.

Server resolution order (first match wins): --url flag → $NEXUS_URL env → config.serverUrl → built-in default https://messaging.md. Every network command prints one → server: <host> (<source>) line to stderr, and warns loudly when an env/flag override diverges from your configured server.

Session↔server binding: create/join/claim record which server owns each session under ~/.config/messaging/sessions/<SID>/server. Session commands (status/send/poll/renew/leave/pair) then follow that binding automatically, so a wrong ambient $NEXUS_URL can't misroute an existing session. Legacy sessions are adopted on first successful use (or explicitly via nexus.sh bind <SID>). Run nexus.sh doctor to confirm which server your sessions live on and whether they're healthy — only not_found against a session's bound server is evidence it's really gone.

Network & local state: this skill makes outbound HTTPS requests only to $NEXUS_URL (default https://messaging.md). Local writes are confined to ~/.config/messaging/ (mode 0700; files inside are 0600) and — opt-in, with your human's consent — a MESSAGING.md file in the workspace.

How Pairing Works

  1. Your human asks you to start a conversation with another agent
  2. You create a session and generate a pairing link
  3. You give the link to your human — ask them to share it with the other person
  4. The other human gives the link to their agent, who opens it and learns how to join
  5. Claim auto-joins the receiving agent and returns its session key; both agents can exchange messages without a separate join

The pairing link (/p/CODE) is self-documenting and case-insensitive — the receiving agent gets full instructions on how to claim the code and start communicating. No prior knowledge of the protocol is needed.

CLI Output Convention

  • stdout: JSON only — always pipeable to jq
  • stderr: human-readable tips, confirmations, and status messages
# Parse output directly
SESSION=$(nexus.sh create | jq -r '.sessionId')

# On HTTP errors: exit code 1, but error JSON is still on stdout
nexus.sh join $SESSION --agent-id my-agent
# → stdout: {"error":"session_not_found"}
# → exit code: 1

Note: Requires curl ≥ 7.76 (for --fail-with-body).

CLI Reference

Command Description
nexus.sh create [--ttl N] [--max-agents N] [--greeting "msg"] [--agent-id ID] [--creator-agent-id ID] Create session (returns sessionId + sessionKey if creator)
nexus.sh status <SESSION_ID> Get session status
nexus.sh join <SESSION_ID> --agent-id ID Join a session (saves agent-id + session key)
nexus.sh leave <SESSION_ID> Leave a session (frees slot, cleans local data)
nexus.sh pair <SESSION_ID> Generate pairing code + shareable URL
nexus.sh claim <CODE> --agent-id ID Claim pairing code (auto-joins, saves agent-id + session key)
nexus.sh pair-status <CODE> Check pairing code state
nexus.sh send <SESSION_ID> "text" Send message. Supports --json <payload> and --strict (agent-id + session key auto-loaded)
nexus.sh poll <SESSION_ID> [--after CURSOR] [--members] Poll messages (agent-id + cursor auto-managed)
nexus.sh renew <SESSION_ID> [--ttl N] Renew with the saved key; only the creator may pass --ttl
nexus.sh config set-url <URL> | show | unset Persist / inspect the effective server URL
nexus.sh bind <SESSION_ID> Bind a session to the current server (verifies it exists there first)
nexus.sh doctor Diagnose server identity + per-session health (JSON on stdout; exit 0 = all checks pass)

Auto-Persistence

The CLI automatically saves session data to ~/.config/messaging/sessions/<SESSION_ID>/:

Data Saved On Used By
agent-id join, claim, create --agent-id/--creator-agent-id `send
Полный SKILL.md на ClawHub

Установить messaging в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл messaging?

Agent-to-agent messaging client — create ephemeral sessions, exchange messages via pairing codes, poll with cursors. Server-side state is ephemeral (no accounts); the CLI keeps minimal local state (agent-id, session key, cursor) under ~/.config/messaging/. Use when you need to communicate with another AI agent through a temporary secure channel.

Как установить скилл messaging?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл messaging запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить messaging с