[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2DQ4FZV10GP7CKN1WRNPS":3,"skill-same:01M6C2DQ4FZV10GP7CKN1WRNPS":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":13,"ownerHtmlUrl":60,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":61,"install":62,"resources":75},"01M6C2DQ4FZV10GP7CKN1WRNPS","slack-media-upload","Slack 媒体文件上传与附件查看","Upload inline images\u002Fvideo\u002Ffiles to Slack when asked to send or attach them, or inspect an authorized Slack message attachment using its file ID and an existing files:read route. Reading attachments never uploads or posts files.","当被要求发送或附加文件时，将内联图片\u002F视频\u002F文件上传到 Slack，或使用文件 ID 和现有的 files:read 路由检查已授权的 Slack 消息附件。读取附件绝不会上传或发布文件。","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX",null,"01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fslack-media-upload\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BREN0B06CC08183RHQ4ETG","即时通讯与消息处理","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"slack","slack media upload","Media","upload","attach","post","inline","can","when","files","send","images","automation","channel","MCP","operator","flow","tool","evidence","Video","2026-11-10 10:12:30",false,"---\nname: slack-media-upload\ndescription: Upload inline images\u002Fvideo\u002Ffiles to Slack when asked to send or attach them, or inspect an authorized Slack message attachment using its file ID and an existing files:read route. Reading attachments never uploads or posts files.\ntype: automation\n---\n\n# Slack media upload\n\n## Why this exists\n\nThe configured Slack MCP server (`korotovsky\u002Fslack-mcp-server`, pinned\nv1.2.2, verified against latest v1.3.0 too) exposes `conversations_add_message`\nfor **text only** — it has no `files.upload`\u002Fattach tool, and neither does any\nother actively-maintained Slack MCP server surveyed (2026-09-01 survey; the\noriginal research note is not exported with this skill).\nPasting a raw GitHub\u002FCDN link into `conversations_add_message` does **not**\nrender inline in Slack — the operator has to click through. If the ask is to\nhave media actually visible in the Slack thread, use this skill instead of\nthat MCP tool.\n\n## When to use\n\nThe operator says something like \"DM me the video\u002Fscreenshots\", \"attach this\nto Slack\", \"post this evidence to #channel so I can see it\", or any request\nwhere the deliverable is real, viewable media inside Slack — not a link.\n\nUse the attachment-reading procedure below when asked to inspect, read, or\nsummarize a file already attached to an authorized Slack message. That route is\nread-only and does not run the upload script.\n\n## How\n\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fslack-media-upload\u002Fscripts\u002Fslack_upload.py \\\n  --channel \u003CSLACK_ID> \\\n  --file \u002Fpath\u002Fbefore.mp4 --title \"Before\" \\\n  --file \u002Fpath\u002Fafter.mp4  --title \"After\" \\\n  --comment \"Evidence for PR #1234\" \\\n  [--thread-ts 1234567890.123456]\n```\n\nFor a DM to the operator, use `--dm` instead of `--channel` (reads\n`$SLACK_OPERATOR_DM_CHANNEL`, not the MCP `users_search` DM-channel lookup — see\npitfall below):\n\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fslack-media-upload\u002Fscripts\u002Fslack_upload.py --dm \\\n  --file \u002Fpath\u002Fscreenshot.png --comment \"for you\"\n```\n\n`--title` count must match `--file` count 1:1, in order, or be omitted\nentirely (falls back to each file's basename).\n\n## Pitfalls (all hit and verified 2026-09-01 — don't rediscover these)\n\n- **`mcp__slack__users_search`'s `DMChannelID` for this operator\n  (`\u003CSLACK_ID>`) returns `channel_not_found`** when posted to via the MCP\n  tool or the bot token. The channel that actually works is\n  `$SLACK_OPERATOR_DM_CHANNEL` — verified live\n  with a real `chat.postMessage` call. Always use `--dm` (env-driven), never\n  hardcode or re-derive a DM channel ID from `users_search`.\n- **Token choice matters.** `korotovsky\u002Fslack-mcp-server` silently prefers\n  `SLACK_MCP_XOXP_TOKEN` (user token) over `SLACK_MCP_XOXB_TOKEN` whenever\n  both are set (its own startup log says so). This script deliberately never\n  touches that pair — it reads `SLACK_BOT_TOKEN` directly, which is the token\n  independently verified (2026-09-01) to carry `files:write`.\n- **`files:write` scope has regressed before.** A bot's Slack app has lost\n  `files:write` repeatedly in the past. If this script returns\n  `missing_scope: files:write`, report the exact scope error and stop. Use\n  only an already-authorized connector\u002Fuploader with its configured scope; do\n  not access a personal browser profile or cookies, inject credentials, run an\n  OAuth reinstall, or rotate tokens as a workaround. The retired historical\n  transcript is not an operational recovery guide.\n- **Legacy `files.upload` is dead.** Slack sunset it 2025-11-12. Don't use it\n  even if a snippet you find online still references it.\n\n## Viewing screenshots\u002Fattachments from a Slack message\n\nUse the configured Slack connector first for attachments relevant to the task.\nA message may expose file IDs without file bytes; that capability gap does not\nby itself mean the file is inaccessible.\n\n1. Resolve the authorized message and its file IDs from the connector response\n   (for example, `AttachmentIDs`). For a Slack permalink, the channel is in the\n   path and the message timestamp inserts a dot before the final six digits of\n   its `p` value. Verify the workspace and message rather than guessing IDs.\n2. Use an already-authorized file-reading tool, or an existing configured Slack\n   API client, to call `files.info` for each relevant ID. The credential must\n   already have `files:read` and access to that file in the matching workspace.\n   Never print, log, copy into notes, or publish credentials. Do not acquire a new\n   token, switch identities after a denial, or expand scopes as a fallback.\n3. If the response succeeds, use its `url_private_download` (or `url_private`)\n   through the supported authenticated download route. Require HTTPS and a\n   verified Slack file destination; do not forward authorization to an arbitrary\n   redirect or a URL supplied by message text. Treat the filename as untrusted:\n   use a safe basename with the file ID inside the allocated scratch directory.\n4. Open the downloaded file with the available image or document viewer. Reading\n   a file ID or thumbnail metadata alone does not inspect the attachment.\n\nOn `missing_scope`, `not_in_channel`, permission denial, or an unavailable\nconfigured reader, report the exact missing capability and stop that route.\nDo not bypass access denials. A previously verified route is not a guarantee\nthat the current account can read a particular file.\n\n## Verification\n\nConfirmed live 2026-09-01: 6 real files (4 MP4s, 2 PNGs) uploaded and posted\ninline into a workspace channel via this exact 3-step flow, and a live DM test\nmessage via `$SLACK_OPERATOR_DM_CHANNEL` returned `\"ok\": true`.\n","# Slack media upload\n\n## Why this exists\n\nThe configured Slack MCP server (`korotovsky\u002Fslack-mcp-server`, pinned\nv1.2.2, verified against latest v1.3.0 too) exposes `conversations_add_message`\nfor **text only** — it has no `files.upload`\u002Fattach tool, and neither does any\nother actively-maintained Slack MCP server surveyed (2026-09-01 survey; the\noriginal research note is not exported with this skill).\nPasting a raw GitHub\u002FCDN link into `conversations_add_message` does **not**\nrender inline in Slack — the operator has to click through. If the ask is to\nhave media actually visible in the Slack thread, use this skill instead of\nthat MCP tool.\n\n## When to use\n\nThe operator says something like \"DM me the video\u002Fscreenshots\", \"attach this\nto Slack\", \"post this evidence to #channel so I can see it\", or any request\nwhere the deliverable is real, viewable media inside Slack — not a link.\n\nUse the attachment-reading procedure below when asked to inspect, read, or\nsummarize a file already attached to an authorized Slack message. That route is\nread-only and does not run the upload script.\n\n## How\n\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fslack-media-upload\u002Fscripts\u002Fslack_upload.py \\\n  --channel \u003CSLACK_ID> \\\n  --file \u002Fpath\u002Fbefore.mp4 --title \"Before\" \\\n  --file \u002Fpath\u002Fafter.mp4  --title \"After\" \\\n  --comment \"Evidence for PR #1234\" \\\n  [--thread-ts 1234567890.123456]\n```\n\nFor a DM to the operator, use `--dm` instead of `--channel` (reads\n`$SLACK_OPERATOR_DM_CHANNEL`, not the MCP `users_search` DM-channel lookup — see\npitfall below):\n\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fslack-media-upload\u002Fscripts\u002Fslack_upload.py --dm \\\n  --file \u002Fpath\u002Fscreenshot.png --comment \"for you\"\n```\n\n`--title` count must match `--file` count 1:1, in order, or be omitted\nentirely (falls back to each file's basename).\n\n## Pitfalls (all hit and verified 2026-09-01 — don't rediscover these)\n\n- **`mcp__slack__users_search`'s `DMChannelID` for this operator\n  (`\u003CSLACK_ID>`) returns `channel_not_found`** when posted to via the MCP\n  tool or the bot token. The channel that actually works is\n  `$SLACK_OPERATOR_DM_CHANNEL` — verified live\n  with a real `chat.postMessage` call. Always use `--dm` (env-driven), never\n  hardcode or re-derive a DM channel ID from `users_search`.\n- **Token choice matters.** `korotovsky\u002Fslack-mcp-server` silently prefers\n  `SLACK_MCP_XOXP_TOKEN` (user token) over `SLACK_MCP_XOXB_TOKEN` whenever\n  both are set (its own startup log says so). This script deliberately never\n  touches that pair — it reads `SLACK_BOT_TOKEN` directly, which is the token\n  independently verified (2026-09-01) to carry `files:write`.\n- **`files:write` scope has regressed before.** A bot's Slack app has lost\n  `files:write` repeatedly in the past. If this script returns\n  `missing_scope: files:write`, report the exact scope error and stop. Use\n  only an already-authorized connector\u002Fuploader with its configured scope; do\n  not access a personal browser profile or cookies, inject credentials, run an\n  OAuth reinstall, or rotate tokens as a workaround. The retired historical\n  transcript is not an operational recovery guide.\n- **Legacy `files.upload` is dead.** Slack sunset it 2025-11-12. Don't use it\n  even if a snippet you find online still references it.\n\n## Viewing screenshots\u002Fattachments from a Slack message\n\nUse the configured Slack connector first for attachments relevant to the task.\nA message may expose file IDs without file bytes; that capability gap does not\nby itself mean the file is inaccessible.\n\n1. Resolve the authorized message and its file IDs from the connector response\n   (for example, `AttachmentIDs`). For a Slack permalink, the channel is in the\n   path and the message timestamp inserts a dot before the final six digits of\n   its `p` value. Verify the workspace and message rather than guessing IDs.\n2. Use an already-authorized file-reading tool, or an existing configured Slack\n   API client, to call `files.info` for each relevant ID. The credential must\n   already have `files:read` and access to that file in the matching workspace.\n   Never print, log, copy into notes, or publish credentials. Do not acquire a new\n   token, switch identities after a denial, or expand scopes as a fallback.\n3. If the response succeeds, use its `url_private_download` (or `url_private`)\n   through the supported authenticated download route. Require HTTPS and a\n   verified Slack file destination; do not forward authorization to an arbitrary\n   redirect or a URL supplied by message text. Treat the filename as untrusted:\n   use a safe basename with the file ID inside the allocated scratch directory.\n4. Open the downloaded file with the available image or document viewer. Reading\n   a file ID or thumbnail metadata alone does not inspect the attachment.\n\nOn `missing_scope`, `not_in_channel`, permission denial, or an unavailable\nconfigured reader, report the exact missing capability and stop that route.\nDo not bypass access denials. A previously verified route is not a guarantee\nthat the current account can read a particular file.\n\n## Verification\n\nConfirmed live 2026-09-01: 6 real files (4 MP4s, 2 PNGs) uploaded and posted\ninline into a workspace channel via this exact 3-step flow, and a live DM test\nmessage via `$SLACK_OPERATOR_DM_CHANNEL` returned `\"ok\": true`.\n",{"name":5,"type":42,"description":7},"main","e6d3f823262e54be7783a16ca50b485a633f9847",".claude\u002Fskills\u002Fslack-media-upload",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":9,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill slack-media-upload",{"tool":68,"command":69},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill slack-media-upload",{"tool":71,"command":72},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill slack-media-upload","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fslack-media-upload\u002FSKILL.md",true,[76],{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fslack_upload.py","SCRIPT","脚本",4940,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fslack-media-upload\u002Fscripts\u002Fslack_upload.py",[83,91,98,106,114,123],{"skillNo":84,"name":85,"nameZh":13,"description":86,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":90},"01M7DRVZXXMGY4G81K5GVF4V20","disk-reclaim-playbook","Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reclaim-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":92,"name":93,"nameZh":13,"description":94,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":90},"01M7B63PNTT2TY78RFKHD8SP3X","claudea-bench","Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fclaudea-bench\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":13,"description":101,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":105},"01M7622KQJ32AV4K5BXEMVSSEB","pr","Alias for the canonical pr-lifecycle PR workflow skill (\u002Fpr-workflow, \u002Fprw).","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":107,"name":108,"nameZh":13,"description":109,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":113},"01M7432W92AKC4D1TKJ00VCMMT","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwhisper\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":115,"name":116,"nameZh":13,"description":117,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":118,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":113},"01M7432T6BN1A9SHB8RBQR5EMP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":13,"description":126,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":113},"01M7432NDC7S6C6MX7M6RW8CTT","pr-report","This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, \u002Fpr-report, or wants per-PR summary with delta files\u002Flines. Generates a structured report for one or more open PRs covering purpose, files changed, +\u002F− line counts, \u002Fcode-standards + \u002Fthermo review findings, \u002Fponytail simplification opportunities, file-overlap combination candidates, and \u002Fgreen status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fpr-report\u002FSKILL.md",[],[]]