[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B4FM3PENYBJP42YMVG0H54":3,"skill-same:01M7B4FM3PENYBJP42YMVG0H54":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7B4FM3PENYBJP42YMVG0H54","gh-attach-image",null,"Upload local image or video files (screenshots, rendered diagrams,\nbefore\u002Fafter comparisons, walkthrough recordings) so they render inline in\na GitHub PR description, issue description, or PR\u002Fissue comment — without\ncommitting the files to the repo and without a browser session. Use this\nwhenever a task calls for attaching, embedding, or including a\nscreenshot\u002Fimage\u002Fdiagram\u002Fvideo in a GitHub PR or issue via `gh`, or when\nasked to \"show\" or \"visually verify\" a change and the result needs to land\nin a PR\u002Fissue body. Also use this if you're about to commit screenshot or\nvideo files into a repo just so they can be referenced by a\nraw.githubusercontent.com URL in a PR description, or about to create a\ngist for the same purpose — this skill is the correct, lighter-weight\nalternative to both of those workarounds.\nAlso use this when an uploaded github.com\u002Fuser-attachments URL returns 404\nor looks broken: the upload usually did not fail, the URL only resolves once\na saved PR\u002Fissue body or comment references it.","dfadler\u002Fagent-config","dfadler","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F728299?v=4","01M7B4BA8FAJ5P24T90G3PC8TY","Dustin Fadler","01M7B4BA97E5D2066FW0XMDQQY",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gh-attach-image\ndescription: |\n  Upload local image or video files (screenshots, rendered diagrams,\n  before\u002Fafter comparisons, walkthrough recordings) so they render inline in\n  a GitHub PR description, issue description, or PR\u002Fissue comment — without\n  committing the files to the repo and without a browser session. Use this\n  whenever a task calls for attaching, embedding, or including a\n  screenshot\u002Fimage\u002Fdiagram\u002Fvideo in a GitHub PR or issue via `gh`, or when\n  asked to \"show\" or \"visually verify\" a change and the result needs to land\n  in a PR\u002Fissue body. Also use this if you're about to commit screenshot or\n  video files into a repo just so they can be referenced by a\n  raw.githubusercontent.com URL in a PR description, or about to create a\n  gist for the same purpose — this skill is the correct, lighter-weight\n  alternative to both of those workarounds.\n  Also use this when an uploaded github.com\u002Fuser-attachments URL returns 404\n  or looks broken: the upload usually did not fail, the URL only resolves once\n  a saved PR\u002Fissue body or comment references it.\nlicense: MIT\nmetadata:\n  version: \"1.1.0\"\n---\n\n# Attaching images to GitHub PRs\u002Fissues via `gh`\n\n## The problem this solves\n\nThe official `gh` CLI has no flag for attaching images to a PR or issue body\n(`gh pr create --image` doesn't exist — it's an open, unimplemented feature\nrequest: [cli\u002Fcli#12960](https:\u002F\u002Fgithub.com\u002Fcli\u002Fcli\u002Fissues\u002F12960),\n[cli\u002Fcli#12788](https:\u002F\u002Fgithub.com\u002Fcli\u002Fcli\u002Fdiscussions\u002F12788)). Without\nthis skill, the natural-seeming fallbacks are all worse:\n\n- **Committing the image to the repo** and linking its `raw.githubusercontent.com`\n  URL — pollutes repo history with binary files that have nothing to do\n  with the actual change, and doesn't work at all for private repos unless\n  the viewer already has read access via git (still doesn't work for\n  `raw.githubusercontent.com` on a private repo without a token in the URL).\n- **Creating a Gist** — works, but publishes the images to an external,\n  separately-managed resource for what should be a self-contained PR.\n- **Driving a real browser to paste\u002Fdrag-drop the image** — the actual\n  mechanism GitHub's web UI uses, but it needs a real authenticated browser\n  session; a computer-use-style browser tool that only clicks\u002Ftypes on page\n  elements can't feed it real local file data.\n\nGitHub's actual drag-and-drop upload hits an internal endpoint that turns\nout to accept a plain bearer token — no browser, no cookies, no session.\nThat's what this skill uses.\n\n## Quick path: use the bundled script\n\n`node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts` implements the whole flow. Prefer it\nover reconstructing the curl calls by hand — it already handles content-type\ndetection, URL encoding, and the two usage patterns below.\n\n```bash\n# Default: upload and print markdown lines — use this when the images need\n# to go in a specific spot in a hand-crafted body (a table, a particular\n# section) rather than a simple append.\nnode ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts --repo OWNER\u002FNAME before.png after.png\n# -> ![before](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F\u003Cuuid>)\n#    ![after](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F\u003Cuuid>)\n\n# Convenience: upload AND append to an existing PR\u002Fissue body under a heading\nnode ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts --repo OWNER\u002FNAME --pr 42 screenshot.png\n\n# Or post as a new comment instead of editing the body\nnode ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts --repo OWNER\u002FNAME --issue 7 --comment diagram.png\n```\n\nRun `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts` with no arguments (or read the\ntop of the file) for the full flag list — it also documents itself inline.\n\nIf the default mode is used (no `--pr`\u002F`--issue`), the script prints the\nmarkdown lines and stops — you're then responsible for placing them into\nthe body (e.g. building a full body file with `Write`, then\n`gh pr edit N --repo OWNER\u002FNAME --body-file file.md`) and saving it. See the\ngotcha below for why the save step isn't optional.\n\n**Video works too** — `.mp4`, `.mov`, and `.webm` are all recognized\nalongside the image extensions. For video the script prints a bare URL\ninstead of `![alt](url)`, since that's what GitHub needs to render an\ninline `\u003Cvideo>` player (image markdown around a video URL shows a\nbroken-image icon instead).\n\n## The mechanics, if you need to do this by hand\n\n```bash\nTOKEN=\"$(gh auth token)\"\nREPO_ID=\"$(gh api repos\u002FOWNER\u002FNAME --jq .id)\"\n\n# Write the auth header to a temp file — keeps the token out of process args.\nAUTH_HDR=\"$(mktemp)\"\nprintf 'Authorization: Bearer %s\\n' \"$TOKEN\" > \"$AUTH_HDR\"\n\ncurl -s \"https:\u002F\u002Fuploads.github.com\u002Fuser-attachments\u002Fassets?name=\u003Cfilename>&content_type=\u003Cmime-type>&repository_id=${REPO_ID}\" \\\n  -X POST \\\n  --header @\"$AUTH_HDR\" \\\n  -H \"Accept: application\u002Fjson\" \\\n  --data-binary \"@\u003Clocal-file-path>\"\nrm -f \"$AUTH_HDR\"\n# -> {\"url\":\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F\u003Cuuid>\"}\n```\n\n`content_type` is a standard MIME type: `image\u002Fpng`, `image\u002Fjpeg`,\n`image\u002Fgif`, `image\u002Fwebp`, `image\u002Fsvg+xml`, `image\u002Fapng` for images, or\n`video\u002Fmp4`, `video\u002Fquicktime`, `video\u002Fwebm` for video. Match it to the\nactual file — verified working for PNG and MP4; the others follow the same\nupload path GitHub's own UI uses so there's no reason to expect them to\ndiffer. For video, put the returned URL on its own line in the body rather\nthan wrapping it in `![alt](url)` — see the \"Quick path\" section above.\n\n## The one gotcha that looks like a bug but isn't\n\n**The returned URL 404s immediately after upload.** This is not a failure —\nit's the same behavior as GitHub's own drag-and-drop: the asset is only\n\"claimed\" once something references its URL inside a PR\u002Fissue\u002Fcomment body\nthat actually gets *saved*. Upload alone leaves it in limbo.\n\nThe fix is always the same: make sure the markdown line\n(`![alt](that url)`) ends up inside a body you save via\n`gh pr edit --body-file`, `gh issue edit --body-file`, `gh pr comment`, or\n`gh issue comment` — then the URL starts resolving (302 → signed S3 URL →\nthe actual image). Don't re-upload or try a different endpoint if the first\ncheck 404s; save the body first, then check again.\n\nIf you want to confirm it worked, don't just check for a 404 going away —\nfollow the redirect and confirm the content type matches what you sent:\n\n```bash\ncurl -sI -L \"\u003Cthe url>\" | grep -i content-type\n```\n\n## What NOT to do\n\nDon't fall back to committing the images to the repo or creating a Gist\n\"just to be safe\" if this upload flow seems to fail — the 404-before-save\nbehavior above is the most likely reason it looks broken, not an actual\nfailure. If `gh auth token` errors, that means the caller isn't logged in\n(`gh auth login`) — don't paper over it by switching to a workaround;\nsurface the actual error so it gets fixed at the source.\n\n## Testing note\n\nThis was empirically verified (curl request\u002Fresponse shape, the\nupload-then-404-until-claimed behavior, and the final resolved image\ncontent-type) against a real GitHub repo in August 2026. The endpoint is\nundocumented and internal to GitHub, so if it stops working entirely\n(not just the claim-behavior gotcha above), that's a sign GitHub changed\nsomething — fall back to telling the user to attach the image manually in\nthe GitHub web UI rather than guessing at a new endpoint shape.\n","# Attaching images to GitHub PRs\u002Fissues via `gh`\n\n## The problem this solves\n\nThe official `gh` CLI has no flag for attaching images to a PR or issue body\n(`gh pr create --image` doesn't exist — it's an open, unimplemented feature\nrequest: [cli\u002Fcli#12960](https:\u002F\u002Fgithub.com\u002Fcli\u002Fcli\u002Fissues\u002F12960),\n[cli\u002Fcli#12788](https:\u002F\u002Fgithub.com\u002Fcli\u002Fcli\u002Fdiscussions\u002F12788)). Without\nthis skill, the natural-seeming fallbacks are all worse:\n\n- **Committing the image to the repo** and linking its `raw.githubusercontent.com`\n  URL — pollutes repo history with binary files that have nothing to do\n  with the actual change, and doesn't work at all for private repos unless\n  the viewer already has read access via git (still doesn't work for\n  `raw.githubusercontent.com` on a private repo without a token in the URL).\n- **Creating a Gist** — works, but publishes the images to an external,\n  separately-managed resource for what should be a self-contained PR.\n- **Driving a real browser to paste\u002Fdrag-drop the image** — the actual\n  mechanism GitHub's web UI uses, but it needs a real authenticated browser\n  session; a computer-use-style browser tool that only clicks\u002Ftypes on page\n  elements can't feed it real local file data.\n\nGitHub's actual drag-and-drop upload hits an internal endpoint that turns\nout to accept a plain bearer token — no browser, no cookies, no session.\nThat's what this skill uses.\n\n## Quick path: use the bundled script\n\n`node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts` implements the whole flow. Prefer it\nover reconstructing the curl calls by hand — it already handles content-type\ndetection, URL encoding, and the two usage patterns below.\n\n```bash\n# Default: upload and print markdown lines — use this when the images need\n# to go in a specific spot in a hand-crafted body (a table, a particular\n# section) rather than a simple append.\nnode ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts --repo OWNER\u002FNAME before.png after.png\n# -> ![before](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F\u003Cuuid>)\n#    ![after](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F\u003Cuuid>)\n\n# Convenience: upload AND append to an existing PR\u002Fissue body under a heading\nnode ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts --repo OWNER\u002FNAME --pr 42 screenshot.png\n\n# Or post as a new comment instead of editing the body\nnode ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts --repo OWNER\u002FNAME --issue 7 --comment diagram.png\n```\n\nRun `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fts\u002Fupload.ts` with no arguments (or read the\ntop of the file) for the full flag list — it also documents itself inline.\n\nIf the default mode is used (no `--pr`\u002F`--issue`), the script prints the\nmarkdown lines and stops — you're then responsible for placing them into\nthe body (e.g. building a full body file with `Write`, then\n`gh pr edit N --repo OWNER\u002FNAME --body-file file.md`) and saving it. See the\ngotcha below for why the save step isn't optional.\n\n**Video works too** — `.mp4`, `.mov`, and `.webm` are all recognized\nalongside the image extensions. For video the script prints a bare URL\ninstead of `![alt](url)`, since that's what GitHub needs to render an\ninline `\u003Cvideo>` player (image markdown around a video URL shows a\nbroken-image icon instead).\n\n## The mechanics, if you need to do this by hand\n\n```bash\nTOKEN=\"$(gh auth token)\"\nREPO_ID=\"$(gh api repos\u002FOWNER\u002FNAME --jq .id)\"\n\n# Write the auth header to a temp file — keeps the token out of process args.\nAUTH_HDR=\"$(mktemp)\"\nprintf 'Authorization: Bearer %s\\n' \"$TOKEN\" > \"$AUTH_HDR\"\n\ncurl -s \"https:\u002F\u002Fuploads.github.com\u002Fuser-attachments\u002Fassets?name=\u003Cfilename>&content_type=\u003Cmime-type>&repository_id=${REPO_ID}\" \\\n  -X POST \\\n  --header @\"$AUTH_HDR\" \\\n  -H \"Accept: application\u002Fjson\" \\\n  --data-binary \"@\u003Clocal-file-path>\"\nrm -f \"$AUTH_HDR\"\n# -> {\"url\":\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F\u003Cuuid>\"}\n```\n\n`content_type` is a standard MIME type: `image\u002Fpng`, `image\u002Fjpeg`,\n`image\u002Fgif`, `image\u002Fwebp`, `image\u002Fsvg+xml`, `image\u002Fapng` for images, or\n`video\u002Fmp4`, `video\u002Fquicktime`, `video\u002Fwebm` for video. Match it to the\nactual file — verified working for PNG and MP4; the others follow the same\nupload path GitHub's own UI uses so there's no reason to expect them to\ndiffer. For video, put the returned URL on its own line in the body rather\nthan wrapping it in `![alt](url)` — see the \"Quick path\" section above.\n\n## The one gotcha that looks like a bug but isn't\n\n**The returned URL 404s immediately after upload.** This is not a failure —\nit's the same behavior as GitHub's own drag-and-drop: the asset is only\n\"claimed\" once something references its URL inside a PR\u002Fissue\u002Fcomment body\nthat actually gets *saved*. Upload alone leaves it in limbo.\n\nThe fix is always the same: make sure the markdown line\n(`![alt](that url)`) ends up inside a body you save via\n`gh pr edit --body-file`, `gh issue edit --body-file`, `gh pr comment`, or\n`gh issue comment` — then the URL starts resolving (302 → signed S3 URL →\nthe actual image). Don't re-upload or try a different endpoint if the first\ncheck 404s; save the body first, then check again.\n\nIf you want to confirm it worked, don't just check for a 404 going away —\nfollow the redirect and confirm the content type matches what you sent:\n\n```bash\ncurl -sI -L \"\u003Cthe url>\" | grep -i content-type\n```\n\n## What NOT to do\n\nDon't fall back to committing the images to the repo or creating a Gist\n\"just to be safe\" if this upload flow seems to fail — the 404-before-save\nbehavior above is the most likely reason it looks broken, not an actual\nfailure. If `gh auth token` errors, that means the caller isn't logged in\n(`gh auth login`) — don't paper over it by switching to a workaround;\nsurface the actual error so it gets fixed at the source.\n\n## Testing note\n\nThis was empirically verified (curl request\u002Fresponse shape, the\nupload-then-404-until-claimed behavior, and the final resolved image\ncontent-type) against a real GitHub repo in August 2026. The endpoint is\nundocumented and internal to GitHub, so if it stops working entirely\n(not just the claim-behavior gotcha above), that's a sign GitHub changed\nsomething — fall back to telling the user to attach the image manually in\nthe GitHub web UI rather than guessing at a new endpoint shape.\n",{"name":5,"license":15,"metadata":24,"description":26},{"version":25},"1.1.0","Upload local image or video files (screenshots, rendered diagrams,\nbefore\u002Fafter comparisons, walkthrough recordings) so they render inline in\na GitHub PR description, issue description, or PR\u002Fissue comment — without\ncommitting the files to the repo and without a browser session. Use this\nwhenever a task calls for attaching, embedding, or including a\nscreenshot\u002Fimage\u002Fdiagram\u002Fvideo in a GitHub PR or issue via `gh`, or when\nasked to \"show\" or \"visually verify\" a change and the result needs to land\nin a PR\u002Fissue body. Also use this if you're about to commit screenshot or\nvideo files into a repo just so they can be referenced by a\nraw.githubusercontent.com URL in a PR description, or about to create a\ngist for the same purpose — this skill is the correct, lighter-weight\nalternative to both of those workarounds.\nAlso use this when an uploaded github.com\u002Fuser-attachments URL returns 404\nor looks broken: the upload usually did not fail, the URL only resolves once\na saved PR\u002Fissue body or comment references it.\n","main","a924e3abb0a831866902dd0835353e108826e0a3","plugins\u002Fgh-attach-image",0,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config","https:\u002F\u002Fgithub.com\u002Fdfadler","http:\u002F\u002Fdfadler.com","2026-11-15 05:22:24",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add dfadler\u002Fagent-config --skill gh-attach-image",{"tool":41,"command":42},"bunx","bunx skills add dfadler\u002Fagent-config --skill gh-attach-image",{"tool":44,"command":45},"pnpm","pnpm dlx skills add dfadler\u002Fagent-config --skill gh-attach-image","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002FSKILL.md",true,[49,55,59,63,67,71,75,79,85],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},".claude-plugin\u002Fplugin.json","REFERENCE","参考文档",566,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002F.claude-plugin\u002Fplugin.json",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"evals\u002Fgh-attach-image-declines-commit-workaround\u002Fcase.yaml",2829,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002Fevals\u002Fgh-attach-image-declines-commit-workaround\u002Fcase.yaml",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"evals\u002Fgh-attach-image-explains-404-before-save\u002Fcase.yaml",2758,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002Fevals\u002Fgh-attach-image-explains-404-before-save\u002Fcase.yaml",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"evals\u002Fgh-attach-image-places-images-in-table\u002Fcase.yaml",3120,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002Fevals\u002Fgh-attach-image-places-images-in-table\u002Fcase.yaml",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"evals\u002Fgh-attach-image-stays-quiet-on-image-resize\u002Fcase.yaml",2309,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002Fevals\u002Fgh-attach-image-stays-quiet-on-image-resize\u002Fcase.yaml",{"path":72,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":73,"sourceHtmlUrl":74},"evals\u002Fgh-attach-image-stays-quiet-on-pr-create\u002Fcase.yaml",2271,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002Fevals\u002Fgh-attach-image-stays-quiet-on-pr-create\u002Fcase.yaml",{"path":76,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":77,"sourceHtmlUrl":78},"evals\u002Fgh-attach-image-uploads-video-as-comment\u002Fcase.yaml",2944,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002Fevals\u002Fgh-attach-image-uploads-video-as-comment\u002Fcase.yaml",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fts\u002Fupload.test.ts","SCRIPT","脚本",9311,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002Fscripts\u002Fts\u002Fupload.test.ts",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"scripts\u002Fts\u002Fupload.ts",10835,"https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fgh-attach-image\u002Fscripts\u002Fts\u002Fupload.ts",[90,97,104,111,118,125],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7B4V2WXAHE2FC90KSD4GKRV","youtube-transcript","ALWAYS invoke before fetching a transcript, captions or description for a\nYouTube video, even when only asked how you would get them. Given a YouTube\nURL (youtube.com\u002Fwatch, youtu.be, shorts), save the video's English\nauto-captions as plain text and its description to files with `yt-dlp`, and\nprint the title, channel and duration. Use when asked to \"get the transcript\nfor this video\", \"grab the captions\", \"summarize this YouTube video\", \"put\nthese videos' transcripts in an artifact\", or when a YouTube link is pasted\nand its spoken content is needed. Do not drive the browser's transcript panel\nor try `youtube-transcript-api` first: both were tried and are slower or\nempty.","https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7B4TNSGRRKJZ9A5B9TSRCC3","git-worktree-usage","Load this before pushing to, or opening a PR from, a branch whose earlier PR\nalready merged (a squash merge leaves its commits off the default branch, so\na new PR from it shows stale history), even when only advising: it defines\nthe fresh-branch and cherry-pick fix.\nCreate worktrees with the `EnterWorktree` tool, never raw `git worktree add`.\nGit worktree and branch mechanics for isolating non-trivial work: locking and\nthe stale-worktree sweep, picking what to parallelize by file surface, the\nrepo-wide `git stash` collision hazard and its `git restore` alternative,\nbranch naming, catching a branch up to a moved `main` via merge (not\nrebase), CI\u002Fcoverage gotchas after a merge, conflict-resolution escalation\nlevels, and PR-splitting sequencing. Also ships two SessionStart hooks that\nself-heal a project's own symlinked-worktree-directory convention and\nauto-prune merged worktrees, and a commit-branch guard hook that asks before\na git commit lands on the default or an unrelated checked-out branch. Use when creating, entering, or cleaning up a\ngit worktree, including before starting work in an existing worktree that\nanother session may be using; deciding how to parallelize agent sessions across a repo;\nhitting a `git stash` collision between sessions; resolving a merge\u002Frebase\nconflict; splitting an already-written diff into multiple PRs; or a stale\nor wrongly-linked worktree directory needs diagnosing. Do not use for a\nplain `git stash` in a single clone with no other worktrees or sessions,\nfor rewriting an unpushed branch's history, or for running commands in a\nworktree the user just created.","https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fworktree-core\u002Fskills\u002Fgit-worktree-usage\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7B4SGD3481322E9ZDQAFMTK","url-to-audio","ALWAYS invoke before answering any request to narrate or convert a URL or\narticle to audio, even when only asked what you would do or which backend you\nwould use (including when `OPENAI_API_KEY` is unset and the fallback is `say`).\nTurn a web article into a narrated audio file: fetch the page, extract the\nclean reading text, and synthesize it with macOS `say` by default (free,\nlocal, already installed, no API key) or OpenAI TTS optionally (when\n`OPENAI_API_KEY` is set and a `say` voice isn't good enough). Voice and\nspeed are configurable per call, with env var defaults. Produces a\n`.m4a`\u002F`.mp3` file at a predictable path and prints it. Use when asked to\n\"read this article to me\", \"convert this page\u002FURL to audio\", \"make an\naudio version of this link\", or \"text-to-speech this article\" — including\nwhen asked only for the commands or plan, or when `OPENAI_API_KEY` is unset.","https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Furl-to-audio\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7B4RKYJQ16XGH8GR1WQ69ZT","subagent-orchestration","Use FIRST, before answering or planning, whenever the user hands over a list of two\nor more separate tasks (\"do A, B and C\", numbered or in no order) that each need real\nexploration, even if they only ask how you would tackle them: it triages which can run\nas parallel sub-agents and which must stay serial. Also use when asked how to\nconfigure a sub-agent already chosen for a large search or exploration (agent type,\nmodel tier), and when about to spawn a sub-agent, fan out with the Workflow tool, or run a task\nthat would put large tool output (more than ~50 lines, or ~3 file reads) into the\nmain context. Routes the work to the main context, a single Agent call, or a\nWorkflow; defines the compact handback a delegated agent should return; and picks\nthe model tier. Use for \"should I delegate this\", \"which agent do I use\", or\n\"keep my context small\".","https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fsubagent-orchestration\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M7B4Q35VB7TKPF3Z3KA4E0YB","config","Internal primitive that reads YAML frontmatter from vault config files via\nmcp__obsidian__* tools, and returns it as merged key-value data. Not a\nuser-facing slash command — this skill is never triggered by a user\nrequest directly; other agent-config skills (screen-capture, and\nsecond-brain's own capture\u002Fquery skills) invoke it to load their own\nsettings. Degrades to an empty config, never a hard failure, when the\nObsidian MCP is disconnected or the config file doesn't exist. Parse\n`$ARGUMENTS` as `\u003Cskill-name> [project-name]`.","https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fsecond-brain\u002Fskills\u002Fconfig\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":19},"01M7B4PQ6KE886C346DH55GESM","lighthouse","Run a Lighthouse CLI pass (mobile + desktop) against a URL and store the results in the second-brain vault under knowledge\u002Flighthouse\u002F\u003Cproject>\u002F. ALWAYS invoke this skill first when asked to run, repeat or script a Lighthouse pass or performance\u002Faccessibility audit against a URL, before writing any `lighthouse` command, including when the config disables it (it defines the no-op behaviour). Complements, not replaces, a manual responsive resize-and-look pass. Not for advice about fixing a Lighthouse finding. Config-driven: which form factors run, whether the skill runs at all, and where results land are all controlled by lighthouse_enabled, lighthouse_form_factors, and lighthouse_output_dir.","https:\u002F\u002Fgithub.com\u002Fdfadler\u002Fagent-config\u002Fblob\u002Fmain\u002Fplugins\u002Fscreen-capture\u002Fskills\u002Flighthouse\u002FSKILL.md",[],[]]