From 9581bfbc496f91266bd0223d4f2d91e35ef27371 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 4 Jul 2026 22:26:30 -0600 Subject: [PATCH] Simplify agent-skill help text --- src/main.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/main.c b/src/main.c index 0adab4f2dd6ec860881ce7b6109a1acdd5ed98b7..6343c175e1713fae656162463550b7178fade0d2 100644 --- a/src/main.c +++ b/src/main.c @@ -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 -m message chat \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" " escaped body\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 `` 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"