slack-file-upload
Installation
SKILL.md
slack-file-upload
Upload a file to Slack as the user, so it lands under their name in the same
conversation as their own messages — never as a bot. Two bundled utilities do the
work — slack-login (one-time, mints and stores a token) and slack-upload (the
upload itself), both under this Skill's scripts/ directory. You orchestrate them.
Run them with the Skill directory as your working directory, so the scripts/…
paths below resolve.
The one decision: handle-only vs direct upload
- Direct upload — you have a target conversation (channel, DM, or group DM). Pass it and the file is posted there as the user in one step.
- Handle-only upload — you have no conversation (e.g. you'll embed the file in a
canvas). Omit the conversation; you get back the file's
{ id, permalink }to place yourself via your own Slack MCP calls.
Both return { id, permalink } and need only the files:write scope.