Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,17 +235,7 @@ Attach options for `message send`:
Upload files through `message send`:

```bash
# Upload a file without a message
agent-slack message send "#general" --attach ./report.md

# Upload with an initial comment
agent-slack message send "#general" "Coverage report" --attach ./report.md

# Upload into a thread
agent-slack message send "https://workspace.slack.com/archives/C123/p1700000000000000" --attach ./report.md

# Upload multiple files
agent-slack message send "#general" "Reports" --attach ./report.md --attach ./data.csv
```

Example — post a message with a native Slack table block:
Expand Down
5 changes: 1 addition & 4 deletions skills/agent-slack/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,10 @@ Attach options for `message send`:
- `--attach <path>` upload a local file (repeatable; message text is optional when attaching files)
- `--blocks <path>` send raw [Block Kit](https://docs.slack.dev/block-kit/) blocks from a JSON file (or `-` for stdin). Enables headers, dividers, table blocks, and other structured layouts. Incompatible with `--attach`.

File upload examples:
File upload example:

```bash
agent-slack message send "general" --attach ./report.md
agent-slack message send "general" "Coverage report" --attach ./report.md
agent-slack message send "https://workspace.slack.com/archives/C123/p1700000000000000" --attach ./report.md
agent-slack message send "general" "Reports" --attach ./report.md --attach ./data.csv
```

`message send` returns `channel_id` plus the posted `ts` and a `permalink` (for non-attachment sends). `thread_ts` appears only when replying in a thread.
Expand Down
6 changes: 1 addition & 5 deletions skills/agent-slack/references/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ Run `agent-slack --help` (or `agent-slack <command> --help`) for the full option
- Otherwise posts to the channel/DM.
- `[text]` is optional when uploading files with `--attach`; when present, it becomes the initial comment on the first uploaded file.
- Bullet lists (`- `, `* `, `• `, `1. `, etc.) are automatically converted to Slack’s native rich text format, so recipients see real editable bullets instead of plain-text dashes.
- Examples:
- `agent-slack message send "general" --attach ./report.md`
- `agent-slack message send "general" "Coverage report" --attach ./report.md`
- `agent-slack message send "https://workspace.slack.com/archives/C123/p1700000000000000" --attach ./report.md`
- `agent-slack message send "general" "Reports" --attach ./report.md --attach ./data.csv`
- Example: `agent-slack message send "general" "Coverage report" --attach ./report.md`
- Options:
- `--workspace <url-or-unique-substring>` (needed for channel _names_ across multiple workspaces)
- `--thread-ts <seconds>.<micros>` (optional, channel mode only)
Expand Down
Loading