[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MQSY872MCG3RQTPZEJSTVG":3,"skill-same:01M6MQSY872MCG3RQTPZEJSTVG":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6MQSY872MCG3RQTPZEJSTVG","slack",null,"Slack API integration with managed OAuth. Send messages, manage channels, search conversations, and interact with Slack workspaces. Use this skill when users want to post messages, list channels, get user info, or automate Slack workflows. For other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fslack-api\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"automate","managed","send","conversations","apps","get","info","maton","workspaces","list","access","api","network","messages","search","manage channels","workflows","valid","slack api","2026-11-10 10:12:30",false,"---\nname: slack\ndescription: |\n  Slack API integration with managed OAuth. Send messages, manage channels, search conversations, and interact with Slack workspaces. Use this skill when users want to post messages, list channels, get user info, or automate Slack workflows. For other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\ncompatibility: Requires network access and valid Maton API key\nmetadata:\n  author: maton\n  version: \"1.0\"\n---\n\n# Slack\n\nAccess the Slack API with managed OAuth authentication. Send messages, manage channels, list users, and automate Slack workflows.\n\n## Quick Start\n\n```bash\n# Post a message to a channel\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'channel': 'C0123456789', 'text': 'Hello from Maton!'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fslack\u002Fapi\u002Fchat.postMessage', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps:\u002F\u002Fgateway.maton.ai\u002Fslack\u002F{method}\n```\n\nThe gateway proxies requests to `slack.com` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https:\u002F\u002Fmaton.ai)\n2. Go to [maton.ai\u002Fsettings](https:\u002F\u002Fmaton.ai\u002Fsettings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Slack OAuth connections at `https:\u002F\u002Fctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections?app=slack&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'slack'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https:\u002F\u002Fconnect.maton.ai\u002F?session_token=...\",\n    \"app\": \"slack\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple Slack connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'channel': 'C0123456789', 'text': 'Hello!'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fslack\u002Fapi\u002Fchat.postMessage', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### Post Message\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.postMessage\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"text\": \"Hello, world!\"\n}\n```\n\nWith blocks:\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.postMessage\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"blocks\": [\n    {\"type\": \"section\", \"text\": {\"type\": \"mrkdwn\", \"text\": \"*Bold* and _italic_\"}}\n  ]\n}\n```\n\n### Post Thread Reply\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.postMessage\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"thread_ts\": \"1234567890.123456\",\n  \"text\": \"This is a reply in a thread\"\n}\n```\n\n### Update Message\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.update\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"ts\": \"1234567890.123456\",\n  \"text\": \"Updated message\"\n}\n```\n\n### Delete Message\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.delete\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"ts\": \"1234567890.123456\"\n}\n```\n\n### List Channels\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.list?types=public_channel,private_channel\n```\n\n### Get Channel Info\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.info?channel=C0123456789\n```\n\n### Get Channel Members\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.members?channel=C0123456789&limit=100\n```\n\n### List Messages in Channel\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.history?channel=C0123456789&limit=100\n```\n\n### Get Thread Replies\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.replies?channel=C0123456789&ts=1234567890.123456\n```\n\n### List Users\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fusers.list\n```\n\n### Get User Info\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fusers.info?user=U0123456789\n```\n\n### Search Messages\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fsearch.messages?query=keyword\n```\n\n### Open DM Conversation\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fconversations.open\nContent-Type: application\u002Fjson\n\n{\n  \"users\": \"U0123456789\"\n}\n```\n\n### Add Reaction\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Freactions.add\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"name\": \"thumbsup\",\n  \"timestamp\": \"1234567890.123456\"\n}\n```\n\n### Upload File\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Ffiles.upload\nContent-Type: multipart\u002Fform-data\n\nchannels=C0123456789\ncontent=file content here\nfilename=example.txt\n```\n\n### Auth Test\n\nGet current user and team info:\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fauth.test\n```\n\n## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch('https:\u002F\u002Fgateway.maton.ai\u002Fslack\u002Fapi\u002Fchat.postMessage', {\n  method: 'POST',\n  headers: {\n    'Content-Type': 'application\u002Fjson',\n    'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n  },\n  body: JSON.stringify({ channel: 'C0123456', text: 'Hello!' })\n});\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.post(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fslack\u002Fapi\u002Fchat.postMessage',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    json={'channel': 'C0123456', 'text': 'Hello!'}\n)\n```\n\n## Notes\n\n- Channel IDs start with `C` (public), `G` (private\u002Fgroup), or `D` (DM)\n- User IDs start with `U`, Team IDs start with `T`\n- Message timestamps (`ts`) are used as unique identifiers\n- Use `mrkdwn` type for Slack-flavored markdown formatting\n- Thread replies use `thread_ts` to reference the parent message\n- IMPORTANT: When using curl commands, use `curl -g` when URLs contain brackets (`fields[]`, `sort[]`, `records[]`) to disable glob parsing\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping.\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing Slack connection |\n| 401 | Invalid or missing Maton API key |\n| 429 | Rate limited (10 req\u002Fsec per account) |\n| 4xx\u002F5xx | Passthrough error from Slack API |\n\n### Troubleshooting: Invalid API Key\n\n**When you receive a \"Invalid API key\" error, ALWAYS follow these steps before concluding there is an issue:**\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Resources\n\n- [Slack API Overview](https:\u002F\u002Fapi.slack.com\u002Fapis)\n- [Post Message](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fchat.postMessage)\n- [Update Message](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fchat.update)\n- [Delete Message](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fchat.delete)\n- [List Channels](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fconversations.list)\n- [Channel History](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fconversations.history)\n- [Thread Replies](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fconversations.replies)\n- [List Users](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fusers.list)\n- [Get User Info](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fusers.info)\n- [Search Messages](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fsearch.messages)\n- [Block Kit Reference](https:\u002F\u002Fapi.slack.com\u002Freference\u002Fblock-kit)\n- [LLM Reference](https:\u002F\u002Fdocs.slack.dev\u002Fllms.txt)\n","# Slack\n\nAccess the Slack API with managed OAuth authentication. Send messages, manage channels, list users, and automate Slack workflows.\n\n## Quick Start\n\n```bash\n# Post a message to a channel\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'channel': 'C0123456789', 'text': 'Hello from Maton!'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fslack\u002Fapi\u002Fchat.postMessage', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps:\u002F\u002Fgateway.maton.ai\u002Fslack\u002F{method}\n```\n\nThe gateway proxies requests to `slack.com` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https:\u002F\u002Fmaton.ai)\n2. Go to [maton.ai\u002Fsettings](https:\u002F\u002Fmaton.ai\u002Fsettings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Slack OAuth connections at `https:\u002F\u002Fctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections?app=slack&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'slack'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https:\u002F\u002Fconnect.maton.ai\u002F?session_token=...\",\n    \"app\": \"slack\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple Slack connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'channel': 'C0123456789', 'text': 'Hello!'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fslack\u002Fapi\u002Fchat.postMessage', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### Post Message\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.postMessage\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"text\": \"Hello, world!\"\n}\n```\n\nWith blocks:\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.postMessage\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"blocks\": [\n    {\"type\": \"section\", \"text\": {\"type\": \"mrkdwn\", \"text\": \"*Bold* and _italic_\"}}\n  ]\n}\n```\n\n### Post Thread Reply\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.postMessage\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"thread_ts\": \"1234567890.123456\",\n  \"text\": \"This is a reply in a thread\"\n}\n```\n\n### Update Message\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.update\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"ts\": \"1234567890.123456\",\n  \"text\": \"Updated message\"\n}\n```\n\n### Delete Message\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fchat.delete\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"ts\": \"1234567890.123456\"\n}\n```\n\n### List Channels\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.list?types=public_channel,private_channel\n```\n\n### Get Channel Info\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.info?channel=C0123456789\n```\n\n### Get Channel Members\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.members?channel=C0123456789&limit=100\n```\n\n### List Messages in Channel\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.history?channel=C0123456789&limit=100\n```\n\n### Get Thread Replies\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fconversations.replies?channel=C0123456789&ts=1234567890.123456\n```\n\n### List Users\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fusers.list\n```\n\n### Get User Info\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fusers.info?user=U0123456789\n```\n\n### Search Messages\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fsearch.messages?query=keyword\n```\n\n### Open DM Conversation\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Fconversations.open\nContent-Type: application\u002Fjson\n\n{\n  \"users\": \"U0123456789\"\n}\n```\n\n### Add Reaction\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Freactions.add\nContent-Type: application\u002Fjson\n\n{\n  \"channel\": \"C0123456789\",\n  \"name\": \"thumbsup\",\n  \"timestamp\": \"1234567890.123456\"\n}\n```\n\n### Upload File\n\n```bash\nPOST \u002Fslack\u002Fapi\u002Ffiles.upload\nContent-Type: multipart\u002Fform-data\n\nchannels=C0123456789\ncontent=file content here\nfilename=example.txt\n```\n\n### Auth Test\n\nGet current user and team info:\n\n```bash\nGET \u002Fslack\u002Fapi\u002Fauth.test\n```\n\n## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch('https:\u002F\u002Fgateway.maton.ai\u002Fslack\u002Fapi\u002Fchat.postMessage', {\n  method: 'POST',\n  headers: {\n    'Content-Type': 'application\u002Fjson',\n    'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n  },\n  body: JSON.stringify({ channel: 'C0123456', text: 'Hello!' })\n});\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.post(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fslack\u002Fapi\u002Fchat.postMessage',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    json={'channel': 'C0123456', 'text': 'Hello!'}\n)\n```\n\n## Notes\n\n- Channel IDs start with `C` (public), `G` (private\u002Fgroup), or `D` (DM)\n- User IDs start with `U`, Team IDs start with `T`\n- Message timestamps (`ts`) are used as unique identifiers\n- Use `mrkdwn` type for Slack-flavored markdown formatting\n- Thread replies use `thread_ts` to reference the parent message\n- IMPORTANT: When using curl commands, use `curl -g` when URLs contain brackets (`fields[]`, `sort[]`, `records[]`) to disable glob parsing\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping.\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing Slack connection |\n| 401 | Invalid or missing Maton API key |\n| 429 | Rate limited (10 req\u002Fsec per account) |\n| 4xx\u002F5xx | Passthrough error from Slack API |\n\n### Troubleshooting: Invalid API Key\n\n**When you receive a \"Invalid API key\" error, ALWAYS follow these steps before concluding there is an issue:**\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Resources\n\n- [Slack API Overview](https:\u002F\u002Fapi.slack.com\u002Fapis)\n- [Post Message](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fchat.postMessage)\n- [Update Message](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fchat.update)\n- [Delete Message](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fchat.delete)\n- [List Channels](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fconversations.list)\n- [Channel History](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fconversations.history)\n- [Thread Replies](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fconversations.replies)\n- [List Users](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fusers.list)\n- [Get User Info](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fusers.info)\n- [Search Messages](https:\u002F\u002Fapi.slack.com\u002Fmethods\u002Fsearch.messages)\n- [Block Kit Reference](https:\u002F\u002Fapi.slack.com\u002Freference\u002Fblock-kit)\n- [LLM Reference](https:\u002F\u002Fdocs.slack.dev\u002Fllms.txt)\n",{"name":5,"metadata":42,"description":44,"compatibility":45},{"author":25,"version":43},"1.0","Slack API integration with managed OAuth. Send messages, manage channels, search conversations, and interact with Slack workspaces. Use this skill when users want to post messages, list channels, get user info, or automate Slack workflows. For other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\n","Requires network access and valid Maton API key","main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","APIs与集成\u002Fslack-api",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill slack",{"tool":60,"command":61},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill slack",{"tool":63,"command":64},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill slack","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fslack-api\u002FSKILL.md",true,[68,74],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"_meta.json","REFERENCE","参考文档",798,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fslack-api\u002F_meta.json",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"LICENSE.txt","LICENSE","许可证",1072,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fslack-api\u002FLICENSE.txt",[81,105,127,135,142,169],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":37},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[83,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":37},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[29,111,112,113,114,115,116,90,117,94,118,119,120,121,122,123,124,125,126],"zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":128,"name":129,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":37},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[29,133,134,111,112,113,114,115,116,90,117,94,119,120,121,122,123,124,125,126],"api skill","zerion api skill",{"skillNo":136,"name":137,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":37},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[113,29,141,111,112,114,115,90,117,94,118,119,120,121,122,123,124,125,126],"zerion api mcp",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":37},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data","for",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":37},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[149,150,152,176,177,178,179,180,181,160,182,23,183,184,185,186,187,188,126,167],"cli","homebrew","find","check","brew","up","local","stock","link","trending","sf","quotes","ln"]