using-slack-api
Installation
SKILL.md
Using Slack API
Direct Slack API access with multi-environment support.
Security Rules
NEVER read, cat, or open ~/.slack.conf — it contains secrets. Instead use:
scripts/slack-envs— List configured environments (safe, no secrets)scripts/slack— Make API calls (reads config internally)
NEVER expose tokens. Do not:
- Print, log, or display tokens
- Include tokens in error messages or debug output
- Store tokens in files other than
~/.slack.conf
MANDATORY First Step: Discover Environments
⚠️ ALWAYS run this BEFORE any Slack API call. NEVER assume environment names like "work" or "personal" exist.