# Send Slack

> Send a Slack message to a channel or DM using the local send.js script. Use whenever the user asks to send or notify team via Slack.

- **Type:** Skill
- **Install:** `agentstack add skill-kennguyen887-agent-foundation-send-slack`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [kennguyen887](https://agentstack.voostack.com/s/kennguyen887)
- **Installs:** 0
- **Category:** [Communication](https://agentstack.voostack.com/c/communication)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [kennguyen887](https://github.com/kennguyen887)
- **Source:** https://github.com/kennguyen887/agent-foundation/tree/main/skills/send-slack

## Install

```sh
agentstack add skill-kennguyen887-agent-foundation-send-slack
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## When to use

When the user asks to send a Slack message, notify a channel, DM someone, or share a PR/update with the team.

## Command

```bash
# Send to a channel
node ~/dev/slack-watcher/src/send.js "#channel-name" "message"

# DM by username
node ~/dev/slack-watcher/src/send.js "@username" "message"

# Pipe from stdin (for long messages)
echo "message content" | node ~/dev/slack-watcher/src/send.js "#channel-name" -
```

## Channel guide

| Channel | Language | Use for |
|---|---|---|
| `#general` | English | PR review requests, global announcements, external-facing updates |
| `#general-dev` | Vietnamese | Internal dev discussion, debugging, team chatter |

## Steps

1. Compose the message — short, English for `#general`, Vietnamese ok for `#general-dev`. PR review requests always go to `#general`.
2. Pick the target:
   - Channel: `"#general"` (reviews), `"#general-dev"` (internal), etc.
   - DM: `"@firstname.lastname"` (match Slack username exactly)
3. Run the command via Bash tool.
4. Confirm success from the script output.

## Examples

```bash
# PR review request to channel
node ~/dev/slack-watcher/src/send.js "#general-dev" "PR for review: https://github.com/your-org/legacy-api/pull/367 — adds smsOptIn field to registration and lead-message APIs for Twilio integration."

# DM
node ~/dev/slack-watcher/src/send.js "@firstname.lastname" "PR ready for your review: https://github.com/your-org/legacy-api/pull/367"

# Long message via stdin
echo "Hey team, two PRs up for review — BE changes for SMS opt-in..." | node ~/dev/slack-watcher/src/send.js "#general-dev" -
```

## Verification

Script prints confirmation or error. If it errors, check that `~/dev/slack-watcher/src/send.js` exists and the Slack token is configured.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [kennguyen887](https://github.com/kennguyen887)
- **Source:** [kennguyen887/agent-foundation](https://github.com/kennguyen887/agent-foundation)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-kennguyen887-agent-foundation-send-slack
- Seller: https://agentstack.voostack.com/s/kennguyen887
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
