Command Palette

Search for a command to run...

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

xmpp-server

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

Set up a private XMPP (Jabber) chat server with Prosody so you can talk to OpenClaw from any XMPP app on your phone or desktop, with group rooms, voice…

rickysinghmbaот rickysinghmba103 установки в других каталогах

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

XMPP server (private chat for OpenClaw)

Sets up a chat server the user owns, in three parts:

  • Prosody, a small XMPP server, with group chat rooms and file upload.
  • An account for the agent and one for each person.
  • The @rickysinghmba/openclaw-xmpp plugin, which connects OpenClaw to the agent's account.

Afterwards the user chats with the agent from an XMPP app such as Conversations (Android), Monal (iOS, macOS), Gajim or Dino (desktop). Messages stay on their server.

Tested: the install and setup steps below run on Ubuntu in this project's CI, followed by the plugin's tests against the server they produce (messages, rooms, file upload). Not tested: other Linux distributions, the macOS and Let's Encrypt notes, and phone apps. Say so if the user is on one of those paths.

Rules for this skill

  • Ask before you change anything. Installing packages, writing server config, creating accounts, installing a certificate, restarting the server and editing OpenClaw config each need the user's yes. Say what the step does first.
  • Check first. Run the check script before proposing a step, and skip what is already done.
  • Never handle a person's password. People create their own account password by running the command themselves. Do not ask for it, generate it, or read it.
  • The agent's password stays in a file. Generate it straight into a file only the user can read. Never print it, and never put it in a message or in OpenClaw config.
  • Open nothing to the internet. Do not change a firewall, a router, or DNS. If the user wants the server reachable from outside their network, explain what that involves and let them do it.
  • Keep open registration off. Accounts are created one by one.
  • One command at a time. Run each command below on its own and look at its result before the next. Do not join them into longer command lines.

Why some steps need sudo

Prosody is a system service. Installing its package, placing files under /etc/prosody, restarting it and creating accounts in its database are the only steps that use sudo, and each is listed below with what it does. Nothing else in this skill runs as root: the three scripts never call sudo, and two of them only print or read.

1. Check what is already there

bash {baseDir}/scripts/check.sh DOMAIN HOST

DOMAIN is the chat domain (default localhost) and HOST is where the server listens (default 127.0.0.1). The script only reads. It reports whether Prosody is installed, whether the chat port (5222) and the file upload port (5281) answer, and whether the certificate names the domain, is trusted, is about to expire, and is usable by Apple devices. For a private certificate authority, pass its file: XMPP_CA_FILE=/path/to/ca.crt bash {baseDir}/scripts/check.sh ....

2. Choose a domain

Ask where the server will be used. The domain is the part after @ in every address.

Situation Domain Certificate
Only this machine, to try it out localhost private CA (step 4)
Devices on the home or office network a name those devices can resolve, e.g. chat.home.lan private CA (step 4)
Reachable from the internet a public domain the user owns Let's Encrypt (step 4)

For a home-network name, every device has to resolve it to the server's address. That is set in the router's DNS or each device's hosts file; this skill does not change either. If the user cannot do that, say so before going on: phone apps will not connect without it.

3. Install Prosody and write its config

Debian and Ubuntu:

sudo apt-get update
sudo apt-get install -y prosody

Prosody 0.12 or later is needed for file upload. Other systems: follow https://prosody.im/download. The paths below are the Debian and Ubuntu ones; on another system find the config directory with prosodyctl about.

Write the config for the chosen domain to a file in the user's home directory first. The script only prints; it changes nothing on the system:

bash {baseDir}/scripts/render-config.sh DOMAIN > ~/openclaw.cfg.lua

The file adds the chat host, a room service at conference.DOMAIN, and file upload at https://DOMAIN:5281/ with a 20 MB limit per file. Show it to the user. After their yes, install it:

sudo install -m 644 ~/openclaw.cfg.lua /etc/prosody/conf.d/openclaw.cfg.lua

Everything else stays as the system's Prosody package set it, including required encryption.

4. Install a certificate

Chat apps refuse a server without a valid certificate, and so does OpenClaw.

Private CA (for localhost or a home-network name):

bash {baseDir}/scripts/make-private-ca.sh DOMAIN ~/xmpp-ca
sudo install -m 644 ~/xmpp-ca/DOMAIN.crt /etc/prosody/certs/DOMAIN.crt
sudo install -m 640 -g prosody ~/xmpp-ca/DOMAIN.key /etc/prosody/cert
Полный SKILL.md на ClawHub

Установить xmpp-server в Claude Code и Claude Desktop

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

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

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

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

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

Bash
Read

FAQ

Что делает скилл xmpp-server?

Set up a private XMPP (Jabber) chat server with Prosody so you can talk to OpenClaw from any XMPP app on your phone or desktop, with group rooms, voice messages and file sharing, on a machine you control. Use to install, check, or troubleshoot a self-hosted chat server for the OpenClaw XMPP channel.

Как установить скилл xmpp-server?

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

Скилл xmpp-server запускает скрипты?

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

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

Сравнить xmpp-server с