You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add user lookup guidance for @mentions in skill
Plain @name text in message bodies doesn't ping anyone in Slack.
The skill now documents the required workflow: look up user IDs
with `slackbuzz user list --json`, then use `<@userid>` format.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: skills/slackbuzz-cli/SKILL.md
+30-2Lines changed: 30 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,11 +200,39 @@ slackbuzz user info @alice
200
200
|`--since <duration>`| Time filter (2h, 1d, 7d, 2w, or YYYY-MM-DD) |
201
201
|`--limit <n>`| Max results |
202
202
203
+
## @Mentioning Users in Messages
204
+
205
+
**IMPORTANT**: When mentioning users in channel messages, you MUST look up their Slack user ID first and use the `<@USERID>` format. Plain `@name` text will NOT ping anyone — it renders as literal text.
206
+
207
+
### Step 1: Look up the user
208
+
209
+
```bash
210
+
# Search by name (case-insensitive, matches username and display name)
211
+
slackbuzz user list --json | jq '.[] | select(.real_name | test("michelle"; "i")) | {name, real_name, id}'
212
+
213
+
# Or list all users and grep
214
+
slackbuzz user list --json | jq '.[] | {name, real_name, id}'
The `<@USERID>` format is Slack's native mention syntax. Always resolve names to IDs before composing messages that need to notify someone.
228
+
229
+
**When the user says "message @someone"**: First run `slackbuzz user list --json | jq` to find the matching user ID, then use `<@ID>` in the message body.
230
+
203
231
## Key Behaviors
204
232
205
-
-**DM auto-detection**: `@user`, `U...` IDs, and bare names auto-resolve to DM channels
233
+
-**DM auto-detection**: `@user`, `U...` IDs, and bare names auto-resolve to DM channels (for the channel/target argument, not message body)
234
+
-**@mentions in message body**: Must use `<@USERID>` format — look up IDs with `slackbuzz user list --json` first
206
235
-**Case-insensitive resolution**: User lookup matches display names and usernames regardless of case
207
236
-**Dual tokens**: Bot token for channel ops, user token for search/DMs/status
208
237
-**Deeplinks**: Output includes clickable Slack deeplinks
209
238
-**Cross-tool**: Digest combines Slack, ClickUp, and GitHub activity
210
-
-**@mentions**: Works naturally in messages — `slackbuzz message send @alice "text"`
0 commit comments