[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6P4A4H1A1FD3Z6NRWM28CZ5":3,"skill-same:01M6P4A4H1A1FD3Z6NRWM28CZ5":81},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":25,"commitSha":62,"skillDirectory":63,"forksCount":13,"repositoryHtmlUrl":64,"repositoryHomepageUrl":6,"ownerHtmlUrl":65,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":66,"install":67,"resources":80},"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",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"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":23,"tags":43,"tools":47,"author":51,"plugin":52,"source":26,"license":14,"category":27,"date_added":59,"description":7,"source_repo":60,"source_type":26,"license_source":61},[44,45,29,46,37],"github","attachments","gh-extension",[48,49,50,35],"claude-code","codex-cli","cursor","sudosubin",{"setup":53,"targets":57},{"docs":54,"type":55,"summary":56},"SKILL.md","manual","Installs a reviewed gh-attach release and, for uploads, uses an explicitly approved interactive browser session cookie.",{"codex":58,"claude":58},"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":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill gh-attach",{"tool":73,"command":74},"bunx","bunx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill gh-attach",{"tool":76,"command":77},"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,[],[82,105,128,152,169,188],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":38},"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",[],[89,90,91,92,93,94,84,95,96,97,98,99,26,25,100,23,101,102,103,104],"ZeRO","trust","zero trust","architecture","assessment","verification","segmentation","devops-security","access","configure","only","active","scope","scripts","relevant","implementing",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":38},"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",[],[112,113,114,115,37,116,117,118,119,120,121,122,123,99,124,26,125,126,23,127],"delegate","zcode","zcode delegate","review","orchestration","tasks","run","Bash","model","node","read","orchestrator","files","desktop app","app","agent-orchestration",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":38},"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",[],[135,136,137,138,44,139,140,141,142,143,144,145,146,26,25,147,148,149,150,151],"transcript","youtube transcript","youtube","safe","codex","research","license","https","text","fetch","tooling","clean","local","output","deepapi","youtube transcripts","blob",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":38},"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",[],[135,136,137,159,138,160,44,139,141,161,162,163,164,144,165,26,25,166,167,168],"youtube transcript skills","gemini","search","api","Video","browse","api-integration","free","card","channels",{"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":38},"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",[],[137,176,177,37,138,178,179,180,33,141,163,181,182,183,184,25,185,147,186,187],"youtube notetaker","notetaker","workflow","official","notes","markdown","slides","annotations","README","study","dair-academy","viewer",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":38},"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",[],[195,137,196,197,138,160,161,198,199,162,163,164,144,200,165,26,25,166,201,150],"youtube full","full","google","server","dlp","credits","automatic"]