Security audit workflow - vulnerability scan → verification
npx skills add tkoenig/agent-skills --skill "slack-assistant"
Install specific skill from multi-skill repository
# Description
Send Slack messages as the authenticated user via CLI and SLACK_USER_TOKEN.
# SKILL.md
name: slack-assistant
description: Send Slack messages as the authenticated user via CLI and SLACK_USER_TOKEN.
Slack Assistant
Use when you want to send Slack messages as the user who authorized the app.
CLI commands are relative to this skill directory (use {baseDir}).
Confirmation
Always ask for confirmation before sending a message.
Requirements
SLACK_USER_TOKENis set (xoxp-...).SLACK_USER_NAMEis the username of the authenticated user (e.g.,tomk).- Token has
chat:writescope (andchannels:read/groups:read/users:read/im:historyif needed).
Current User
You are sending messages as $SLACK_USER_NAME.
List users
bash {baseDir}/scripts/slack-assistant list-users
Check presence
bash {baseDir}/scripts/slack-assistant presence --user U12345678
Send a message to a channel
bash {baseDir}/scripts/slack-assistant send-channel --channel C12345678 --text "Hello"
Send a DM
If the recipient is unclear, list users to identify the correct user ID before sending (no confirmation needed for listing users).
Before asking for confirmation to send the DM, check and report the recipient's presence status.
bash {baseDir}/scripts/slack-assistant dm --user U12345678 --text "Hello"
Formatting (mrkdwn)
Slack uses "mrkdwn" format, NOT Markdown. Key differences:
| Format | Slack mrkdwn | NOT Markdown |
|---|---|---|
| Bold | *bold* |
~~**bold**~~ |
| Italic | _italic_ |
~~*italic*~~ |
| Strike | ~strike~ |
~~~~strike~~~~ |
| Code | `code` |
(same) |
| Code block | ```code``` |
(same) |
| Link | <url\|text> |
~~[text](url)~~ |
| Bullet | • item or - item |
(same) |
Example:
*PR Review: v2/legacy cleanup (#499)*
• Removes unused helpers - _nice cleanup_
• See <https://github.com/org/repo/pull/499|PR #499>
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.