@@ -582,13 +582,9 @@ cleanup:
static int _agent_skill_command(int argc, char *argv[]) {
const char *skill_text =
- "xmppc agent-skill\n"
- "\n"
- "Use this when the user asks you to communicate over XMPP/Jabber with xmppc.\n"
"Before sending or receiving, read ~/.config/xmppc/AGENTS.md if it exists; it\n"
"contains the user's allowed accounts, preferred contacts, and local policy.\n"
- "Never read, print, summarize, or expose ~/.config/xmppc.conf, passwords,\n"
- "password commands, environment variables, or other secrets.\n"
+ "Never read, print, or expose ~/.config/xmppc.conf.\n"
"\n"
"Commands:\n"
" xmppc -a <account> -m message chat <jid> <body>\n"
@@ -617,7 +613,7 @@ static int _agent_skill_command(int argc, char *argv[]) {
"A second bare argument is an error. start= accepts XMPP timestamps or relative\n"
"values like -5m; max defaults to 5 and is capped at 50.\n"
"\n"
- "Message archive output is one compact XML record per line:\n"
+ "Message archive output is one XML record per line:\n"
" <message id=\"mam-id\" message-id=\"stanza-id\" stamp=\"...\" from=\"...\" to=\"...\"><body>escaped body</body></message>\n"
"The id attribute is the MAM archive cursor. message-id is the stanza id.\n"
"Use the MAM id, not the stanza id, as receive after-id=.\n"
@@ -639,11 +635,6 @@ static int _agent_skill_command(int argc, char *argv[]) {
"For installing or updating xmppc itself, see `references/installation.md`.\n";
const char *installation_doc =
- "# Installing xmppc for agent messaging\n"
- "\n"
- "Use this when xmppc is not installed, is too old, or does not have the\n"
- "`agent-skill`, MAM `receive`, and `<sent archive-id=.../>` behavior.\n"
- "\n"
"Do not print secrets, password commands, or `~/.config/xmppc.conf` while\n"
"installing or testing. Runtime account policy belongs in\n"
"`~/.config/xmppc/AGENTS.md`.\n"