npx claudepluginhub vbonnet/dear-agent --plugin agm<session> --prompt "<message>"haiku# AGM Send Message I'll send a message to an AGM session. **Step 1: Parse arguments** - Parse $ARGUMENTS to extract: - Session name (required, first positional argument) - `--prompt` or `-p` followed by the message text (required) - If session name is missing: - Show: "Session name is required. Usage: /agm:send <session> --prompt \"message\"" - Exit gracefully - If prompt/message is missing: - Show: "Message is required. Usage: /agm:send <session> --prompt \"message\"" - Exit gracefully - Store session name as SESSION_NAME and message as MESSAGE **Step 2: Send message** - R...
I'll send a message to an AGM session.
Step 1: Parse arguments
--prompt or -p followed by the message text (required)Step 2: Send message
agm send msg "{SESSION_NAME}" --prompt "{MESSAGE}" --output jsonStep 3: Handle result
Step 4: Show completion message
Message sent to '{SESSION_NAME}'
Prompt: {MESSAGE}
If the JSON output contains delivery status or message ID, display those too.
Error Handling:
/agm:list/agm:resume