[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6P4A4H1A1FD3Z6NRWM28CZ5":3,"skill-same:01M6P4A4H1A1FD3Z6NRWM28CZ5":86},{"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":22,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":30,"commitSha":67,"skillDirectory":68,"forksCount":13,"repositoryHtmlUrl":69,"repositoryHomepageUrl":6,"ownerHtmlUrl":70,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":71,"install":72,"resources":85},"01M6P4A4H1A1FD3Z6NRWM28CZ5","gh-attach",null,"Upload and download GitHub user-attachments (screenshots, PDFs, zips, videos) from the terminal; use when asked to attach or embed a file in a PR, issue, or comment, or download an attachment URL.","duc-duy-1612\u002FOnline-Delivery-Systems-Web","duc-duy-1612","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F192231384?v=4","01M6NSDKQQDKVTHZ8DZMZ1VYY6","01M6NSDKW8DDVTQHBT1HBDDJPT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fgh-attach\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"attach","gh attach","gh","Tools","URL","critical","browser session","main","community","developer-tools","issue","screenshots","developer","browser","release","code","pr","copilot","terminal","cli","2026-11-10 10:12:30",false,"---\nname: gh-attach\ndescription: \"Upload and download GitHub user-attachments (screenshots, PDFs, zips, videos) from the terminal; use when asked to attach or embed a file in a PR, issue, or comment, or download an attachment URL.\"\ncategory: developer-tools\nrisk: critical\nsource: community\nsource_type: community\nsource_repo: sudosubin\u002Fgh-attach\ndate_added: \"2026-08-01\"\nauthor: sudosubin\nlicense: MIT\nlicense_source: \"https:\u002F\u002Fgithub.com\u002Fsudosubin\u002Fgh-attach\u002Fblob\u002Fmain\u002FLICENSE\"\ntags:\n  - github\n  - attachments\n  - screenshots\n  - gh-extension\n  - cli\ntools:\n  - claude-code\n  - codex-cli\n  - cursor\n  - copilot\nplugin:\n  targets:\n    codex: blocked\n    claude: blocked\n  setup:\n    type: manual\n    summary: \"Installs a reviewed gh-attach release and, for uploads, uses an explicitly approved interactive browser session cookie.\"\n    docs: SKILL.md\n---\n\n# Upload and download GitHub user-attachments (gh-attach)\n\nGitHub has **no public API** for user-attachments. The web UI uses an internal\nendpoint that mints `github.com\u002Fuser-attachments` URLs whose visibility follows the\nrepository they belong to. [`gh-attach`](https:\u002F\u002Fgithub.com\u002Fsudosubin\u002Fgh-attach)\n(MIT, sudosubin) replicates that drag-and-drop flow as a `gh` CLI extension, so an\nagent can upload a local file from the terminal, get a URL back, and later download\nan attachment URL to a file.\n\n## Overview\n\nThis skill drives `gh-attach` to turn a local file (screenshot, image, PDF, zip,\nlog, or video) into a hosted GitHub `user-attachments` URL, then embeds that URL\ninto a pull request, issue, or comment. It also downloads an existing attachment\nURL back to a local file. GitHub auto-renders the URL as an image, video, or file\nwherever it is pasted, and the URL inherits the repository's visibility, so a\nprivate-repo upload stays private. It works against GitHub Cloud and GitHub\nEnterprise Server.\n\n## When to Use This Skill\n\nUse this skill when asked to:\n\n- \"Attach a screenshot to the PR\" or \"add an image to the PR description\"\n- \"Attach this file (PDF, zip, log, video) to the issue or comment\"\n- \"Embed before\u002Fafter screenshots\" in a PR, issue, or README\n- \"Download this GitHub attachment\" from a `user-attachments` URL\n\n## How It Works\n\n### Step 1: Verify prerequisites\n\n```bash\ngh auth status                                   # gh installed and authenticated\ngh extension install sudosubin\u002Fgh-attach --pin v0.4.2 --force\ngh extension list | grep -F 'sudosubin\u002Fgh-attach' # require the reviewed v0.4.2 release\n```\n\nUploads use a GitHub `user_session` browser cookie, **not** the `gh` token (that\nendpoint rejects tokens). By default `gh` must be authenticated so `gh-attach` can\nselect the matching browser account (Chromium family, Firefox family, or Safari).\nIf the wrong account is selected, add `--browser \u003Cname> --profile \u003Cname>`. Obtain\nexplicit approval before allowing the pinned extension to access that interactive\nbrowser profile. Headless and CI uploads are intentionally unsupported: never export,\nstore, or pass a raw `user_session` cookie to the extension.\n\n### Step 2: Upload\n\n```bash\n# Use an absolute quoted path; -R is optional inside a repo working dir.\nURL=$(gh attach \"\u002Fabs\u002Fpath\u002Fscreenshot.png\" -R \u003Cowner>\u002F\u003Crepo>)\n```\n\n`gh attach` prints the URL on one line to **stdout**. For GitHub Enterprise Server,\nuse `-R host\u002Fowner\u002Frepo`. Capture the output; it is the embeddable reference.\n\n### Step 3: Embed into the PR \u002F issue \u002F comment\n\n```bash\nprintf '## Screenshots\\n\\n%s\\n' \"$URL\" \\\n  | gh pr comment \u003Cpr> -R \u003Cowner>\u002F\u003Crepo> --body-file -\n```\n\nUse `gh pr edit`, `gh issue comment`, or `gh issue edit` with `--body-file -` for\nother targets. Always pass `--body-file -` (not inline `--body`) so multi-line\nbodies and special characters cannot break shell quoting. GitHub auto-renders the\nURL, so paste it as-is.\n\n### Step 4: Download\n\n```bash\n# Specify the destination explicitly.\ngh attach download \"$URL\" -O \"\u002Fabs\u002Fpath\u002Fout.png\"\n```\n\nDownloads of private attachments use the active `gh` token, with browser cookies as\nan authorization fallback.\n\n## Examples\n\n- **Attach a screenshot to PR #42:** upload the file, then append the URL under a\n  `## Screenshots` heading in the PR body with `gh pr edit ... --body-file -`.\n- **Embed before\u002Fafter screenshots in a README:** upload both files, paste the two\n  URLs into the README at the relevant section.\n- **Download an attachment for review:** run `gh attach download \"$URL\" -O out.zip`\n  to fetch a `user-attachments` file locally.\n\n## Best Practices\n\n- Resolve globs to absolute paths first, and quote paths that contain spaces or\n  Unicode.\n- For display sizing, embed an HTML tag instead of the bare URL:\n  `\u003Cimg width=\"800\" src=\"$URL\">`.\n- Keep uploads interactive. Do not place a GitHub browser session in CI, an\n  environment variable, a secret store consumed by this extension, or an agent log.\n- `gh-attach` can upload multiple files concurrently and emit Markdown or JSON\n  output with jq-style filtering when you need to script around the result.\n\n## Limitations\n\n- **Interactive session cookie required.** A `user_session` cookie grants full\n  account access and is not scoped like a PAT. The supported path is the reviewed,\n  pinned extension reading an explicitly approved local browser profile; CI and\n  headless cookie injection are out of scope.\n- **Write access to the target repo is required** to upload.\n- **Private-repo attachments stay private:** the `user-attachments` URL inherits\n  repo visibility, so an anonymous fetch on a private repo returns 404 or 403 by\n  design.\n- GitHub Cloud and GitHub Enterprise Server each decide which file extensions and\n  content types they accept.\n- The skill embeds the URL itself; `gh attach` only prints it.\n\n## Security & Safety Notes\n\n- The `user_session` cookie is a full-account credential. Never print, export,\n  paste, log, or commit it, and never make it available to CI or headless agents.\n- Do not install or upgrade `gh-attach` from a moving branch or an unpinned latest\n  release. Re-review and update the exact `--pin` only in a repository change.\n- Uploaded attachments are auto-rendered by GitHub, so only upload files you intend\n  to share with everyone who can view the target repository.\n- Confirm the destination `-R \u003Cowner>\u002F\u003Crepo>` before uploading so an attachment is\n  not created against the wrong repository.\n","# Upload and download GitHub user-attachments (gh-attach)\n\nGitHub has **no public API** for user-attachments. The web UI uses an internal\nendpoint that mints `github.com\u002Fuser-attachments` URLs whose visibility follows the\nrepository they belong to. [`gh-attach`](https:\u002F\u002Fgithub.com\u002Fsudosubin\u002Fgh-attach)\n(MIT, sudosubin) replicates that drag-and-drop flow as a `gh` CLI extension, so an\nagent can upload a local file from the terminal, get a URL back, and later download\nan attachment URL to a file.\n\n## Overview\n\nThis skill drives `gh-attach` to turn a local file (screenshot, image, PDF, zip,\nlog, or video) into a hosted GitHub `user-attachments` URL, then embeds that URL\ninto a pull request, issue, or comment. It also downloads an existing attachment\nURL back to a local file. GitHub auto-renders the URL as an image, video, or file\nwherever it is pasted, and the URL inherits the repository's visibility, so a\nprivate-repo upload stays private. It works against GitHub Cloud and GitHub\nEnterprise Server.\n\n## When to Use This Skill\n\nUse this skill when asked to:\n\n- \"Attach a screenshot to the PR\" or \"add an image to the PR description\"\n- \"Attach this file (PDF, zip, log, video) to the issue or comment\"\n- \"Embed before\u002Fafter screenshots\" in a PR, issue, or README\n- \"Download this GitHub attachment\" from a `user-attachments` URL\n\n## How It Works\n\n### Step 1: Verify prerequisites\n\n```bash\ngh auth status                                   # gh installed and authenticated\ngh extension install sudosubin\u002Fgh-attach --pin v0.4.2 --force\ngh extension list | grep -F 'sudosubin\u002Fgh-attach' # require the reviewed v0.4.2 release\n```\n\nUploads use a GitHub `user_session` browser cookie, **not** the `gh` token (that\nendpoint rejects tokens). By default `gh` must be authenticated so `gh-attach` can\nselect the matching browser account (Chromium family, Firefox family, or Safari).\nIf the wrong account is selected, add `--browser \u003Cname> --profile \u003Cname>`. Obtain\nexplicit approval before allowing the pinned extension to access that interactive\nbrowser profile. Headless and CI uploads are intentionally unsupported: never export,\nstore, or pass a raw `user_session` cookie to the extension.\n\n### Step 2: Upload\n\n```bash\n# Use an absolute quoted path; -R is optional inside a repo working dir.\nURL=$(gh attach \"\u002Fabs\u002Fpath\u002Fscreenshot.png\" -R \u003Cowner>\u002F\u003Crepo>)\n```\n\n`gh attach` prints the URL on one line to **stdout**. For GitHub Enterprise Server,\nuse `-R host\u002Fowner\u002Frepo`. Capture the output; it is the embeddable reference.\n\n### Step 3: Embed into the PR \u002F issue \u002F comment\n\n```bash\nprintf '## Screenshots\\n\\n%s\\n' \"$URL\" \\\n  | gh pr comment \u003Cpr> -R \u003Cowner>\u002F\u003Crepo> --body-file -\n```\n\nUse `gh pr edit`, `gh issue comment`, or `gh issue edit` with `--body-file -` for\nother targets. Always pass `--body-file -` (not inline `--body`) so multi-line\nbodies and special characters cannot break shell quoting. GitHub auto-renders the\nURL, so paste it as-is.\n\n### Step 4: Download\n\n```bash\n# Specify the destination explicitly.\ngh attach download \"$URL\" -O \"\u002Fabs\u002Fpath\u002Fout.png\"\n```\n\nDownloads of private attachments use the active `gh` token, with browser cookies as\nan authorization fallback.\n\n## Examples\n\n- **Attach a screenshot to PR #42:** upload the file, then append the URL under a\n  `## Screenshots` heading in the PR body with `gh pr edit ... --body-file -`.\n- **Embed before\u002Fafter screenshots in a README:** upload both files, paste the two\n  URLs into the README at the relevant section.\n- **Download an attachment for review:** run `gh attach download \"$URL\" -O out.zip`\n  to fetch a `user-attachments` file locally.\n\n## Best Practices\n\n- Resolve globs to absolute paths first, and quote paths that contain spaces or\n  Unicode.\n- For display sizing, embed an HTML tag instead of the bare URL:\n  `\u003Cimg width=\"800\" src=\"$URL\">`.\n- Keep uploads interactive. Do not place a GitHub browser session in CI, an\n  environment variable, a secret store consumed by this extension, or an agent log.\n- `gh-attach` can upload multiple files concurrently and emit Markdown or JSON\n  output with jq-style filtering when you need to script around the result.\n\n## Limitations\n\n- **Interactive session cookie required.** A `user_session` cookie grants full\n  account access and is not scoped like a PAT. The supported path is the reviewed,\n  pinned extension reading an explicitly approved local browser profile; CI and\n  headless cookie injection are out of scope.\n- **Write access to the target repo is required** to upload.\n- **Private-repo attachments stay private:** the `user-attachments` URL inherits\n  repo visibility, so an anonymous fetch on a private repo returns 404 or 403 by\n  design.\n- GitHub Cloud and GitHub Enterprise Server each decide which file extensions and\n  content types they accept.\n- The skill embeds the URL itself; `gh attach` only prints it.\n\n## Security & Safety Notes\n\n- The `user_session` cookie is a full-account credential. Never print, export,\n  paste, log, or commit it, and never make it available to CI or headless agents.\n- Do not install or upgrade `gh-attach` from a moving branch or an unpinned latest\n  release. Re-review and update the exact `--pin` only in a repository change.\n- Uploaded attachments are auto-rendered by GitHub, so only upload files you intend\n  to share with everyone who can view the target repository.\n- Confirm the destination `-R \u003Cowner>\u002F\u003Crepo>` before uploading so an attachment is\n  not created against the wrong repository.\n",{"name":5,"risk":28,"tags":48,"tools":52,"author":56,"plugin":57,"source":31,"license":14,"category":32,"date_added":64,"description":7,"source_repo":65,"source_type":31,"license_source":66},[49,50,34,51,42],"github","attachments","gh-extension",[53,54,55,40],"claude-code","codex-cli","cursor","sudosubin",{"setup":58,"targets":62},{"docs":59,"type":60,"summary":61},"SKILL.md","manual","Installs a reviewed gh-attach release and, for uploads, uses an explicitly approved interactive browser session cookie.",{"codex":63,"claude":63},"blocked","2026-08-01","sudosubin\u002Fgh-attach","https:\u002F\u002Fgithub.com\u002Fsudosubin\u002Fgh-attach\u002Fblob\u002Fmain\u002FLICENSE","f3312ba749561b6159f477dbfc9313c875d40a56",".agents\u002Fskills_archive\u002Fgh-attach","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612","2026-10-25 23:50:58",{"source":8,"skillName":5,"commands":73,"prompt":83,"zipAvailable":84},[74,77,80],{"tool":75,"command":76},"npx","npx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill gh-attach",{"tool":78,"command":79},"bunx","bunx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill gh-attach",{"tool":81,"command":82},"pnpm","pnpm dlx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill gh-attach","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fgh-attach\u002FSKILL.md",true,[],[87,115,138,162,186,209],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":98,"publishedAt":43},"01M6Q0FA5FZ410Z33Z3TFQ4DBA","zero-trust","Implement zero-trust network architecture. Configure identity-based access, micro-segmentation, and continuous verification. Use when implementing modern security architectures.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzero-trust\u002FSKILL.md",[93],{"categoryNo":94,"categoryName":95,"taxonomyType":96,"taxonomyTypeDesc":97},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[99,100,101,102,103,104,89,105,106,107,108,109,31,30,110,28,111,112,113,114],"ZeRO","trust","zero trust","architecture","assessment","verification","segmentation","devops-security","access","configure","only","active","scope","scripts","relevant","implementing",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":43},"01M6Q0F1YZJW3KX5FBKEVZ8CV4","zcode-delegate","Delegate coding tasks to the Z.AI ZCode CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzcode-delegate\u002FSKILL.md",[],[122,123,124,125,42,126,127,128,129,130,131,132,133,109,134,31,135,136,28,137],"delegate","zcode","zcode delegate","review","orchestration","tasks","run","Bash","model","node","read","orchestrator","files","desktop app","app","agent-orchestration",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":43},"01M6Q0ETK41VGNMYEXW0T00AJN","youtube-transcript","Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript\u002FSKILL.md",[],[145,146,147,148,49,149,150,151,152,153,154,155,156,31,30,157,158,159,160,161],"transcript","youtube transcript","youtube","safe","codex","research","license","https","text","fetch","tooling","clean","local","output","deepapi","youtube transcripts","blob",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":175,"publishedAt":43},"01M6Q0EPPH2PVMDW40017F8WX0","youtube-transcript-skills","Fetch YouTube video transcripts, search videos\u002Fchannels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript-skills\u002FSKILL.md",[168,171,174],{"categoryNo":169,"categoryName":170,"taxonomyType":96,"taxonomyTypeDesc":97},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":172,"categoryName":173,"taxonomyType":96,"taxonomyTypeDesc":97},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[145,146,147,176,148,177,49,149,151,178,179,180,181,154,182,31,30,183,184,185],"youtube transcript skills","gemini","search","api","Video","browse","api-integration","free","card","channels",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":196,"publishedAt":43},"01M6Q0EAB96PX83W5PTE8A0R8D","youtube-notetaker","Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-notetaker\u002FSKILL.md",[192,195],{"categoryNo":193,"categoryName":194,"taxonomyType":96,"taxonomyTypeDesc":97},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":172,"categoryName":173,"taxonomyType":96,"taxonomyTypeDesc":97},[147,197,198,42,148,199,200,201,38,151,180,202,203,204,205,30,206,157,207,208],"youtube notetaker","notetaker","workflow","official","notes","markdown","slides","annotations","README","study","dair-academy","viewer",{"skillNo":210,"name":211,"nameZh":6,"description":212,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":213,"categories":214,"keywords":216,"publishedAt":43},"01M6Q0E55F0GW5MX48V8HXS8B5","youtube-full","Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-full\u002FSKILL.md",[215],{"categoryNo":169,"categoryName":170,"taxonomyType":96,"taxonomyTypeDesc":97},[217,147,218,219,148,177,178,220,221,179,180,181,154,222,182,31,30,183,223,160],"youtube full","full","google","server","dlp","credits","automatic"]