[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6N93RF8VYNKW485CC66PTKA":3,"skill-same:01M6N93RF8VYNKW485CC66PTKA":47},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":24,"frontMatter":25,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M6N93RF8VYNKW485CC66PTKA","bubbles-external-browser-auth-capture",null,"pkirsanov\u002Fsmackerel","pkirsanov","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F138962?v=4","01M6N8NAPD2KXMVC17X6GJ0WZ5","01M6N8NATQ9SAZ00H9D61R0TPV",1,"MIT","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbubbles-external-browser-auth-capture\u002FSKILL.md",[],[17,18,19,20],"auth","browser","capture","bubbles external browser auth capture","2026-11-10 10:12:30",false,"---\nname: bubbles-external-browser-auth-capture\ndescription: Drive a REAL EXTERNAL browser via the configured browser-automation MCP tools and hand the login step to the HUMAN when you must read or capture web content that needs interactive human authentication, cookie\u002Fconsent gating, SSO\u002FOAuth login, or is JS\u002Fbot-gated so a headless fetch fails. Human-in-the-loop — the agent pauses for the user to sign in directly in the browser window, then resumes and extracts via the accessibility snapshot or DOM. Use when asked to \"read a video transcript\", \"log into a site and read a page\", \"capture content behind an interactive login\", or \"drive an external browser and let the user sign in\". Negative trigger: do NOT use the internal VS Code Simple Browser \u002F webview for auth-gated capture.\n---\n\n# External Browser Auth Capture (Human-in-the-Loop)\n\n## Core Principle\nWhen you must read web content behind **interactive human auth** (SSO\u002FOAuth, cookie\u002Fconsent walls, bot checks) **or** content a headless fetch cannot retrieve (client-rendered, gated), drive a **real external browser** via the configured browser-automation MCP tools and hand the **login step to the human**. This is a human-in-the-loop technique: the agent opens and steers the browser, then **pauses and waits for the user to sign in**, then resumes and extracts. The agent never handles the user's credentials.\n\n## Why NOT the internal VS Code browser\nDo not use the internal VS Code browser (Simple Browser \u002F `simpleBrowser.show` \u002F any webview) for auth-gated capture:\n- The agent has **no automation handle** into the VS Code webview — it cannot click, snapshot the accessibility tree, or extract the DOM.\n- OAuth\u002FSSO popups and third-party cookies frequently **break inside the embedded webview**.\n- There is **no persistent real user profile**, so a login does not stick and bot detection is more aggressive.\n- A plain `fetch_webpage` \u002F headless fetch **fails on login-gated or client-rendered pages** (e.g. the YouTube transcript panel is rendered client-side and is often gated).\n\n## Why an external automated browser\n- A **headed, real Chromium\u002FChrome window** the human can see and interact with.\n- A **persistent user-data-dir** — the human logs in **once** and the session survives subsequent navigations.\n- The agent steers it with the configured browser tool family: navigate, accessibility snapshot, click, DOM evaluation, wait, and close. Refer to the tool family **generically** because the MCP server alias\u002Fprefix varies per environment.\n\n## Triage first (decision tree)\n```\nDoes the target need interactive auth OR is it JS\u002Fbot-gated?\n├── No  → a plain fetch_webpage on the public\u002Fstatic page works\n│         → use THAT (cheaper, no browser). STOP.\n└── Yes → escalate to the external automated browser (below).\n```\n\n## Workflow\n1. **Triage.** If `fetch_webpage` on a public\u002Fstatic page returns the content, use it — do not open a browser. Only escalate when the target needs interactive auth or is JS\u002Fbot-gated.\n2. **Open the external browser** and `browser_navigate` to the target. Confirm it is the **real external window**, NOT the internal VS Code browser.\n3. **Dismiss consent\u002Fcookie dialogs** — `browser_snapshot` to find the control, then `browser_click`.\n4. **Hand off to the human for login.** Tell the user plainly, e.g. *\"A browser window has opened — please sign in to your account in that window, then tell me when you're done.\"* Pause with a user-question\u002Fwait tool (e.g. `vscode_askQuestions`, or a wait) until the user confirms. **NEVER** ask the user to paste credentials into chat; **NEVER** type the user's password yourself. The human authenticates **directly in the browser**.\n5. **Resume** after the user confirms, then navigate to the specific content.\n6. **Extract:**\n   - **YouTube transcript (primary worked example):** open the video, then open the transcript panel — expand the description and click the **\"Show transcript\"** control, or use the **\"⋯\" (more actions) menu → \"Show transcript\"**. Then collect the segments with `browser_evaluate`:\n     ```js\n     () => Array.from(document.querySelectorAll('ytd-transcript-segment-renderer')).map(s => s.innerText.replace(\u002F\\s+\u002Fg,' ').trim()).join('\\n')\n     ```\n     Segments carry **timestamps + text** — capture both if the caller needs timing.\n   - **General pages:** prefer `browser_snapshot` (accessibility tree) for structured reading; use `browser_evaluate` for specific DOM text.\n7. **Persist to a file (if needed)** with IDE file tools — **never** shell redirection (terminal-discipline).\n8. **Close** with `browser_close` when done — unless the human wants the session kept for follow-ups.\n\n## Rules \u002F non-negotiables\n- **NEVER** use the internal VS Code Simple Browser \u002F webview for auth-gated capture — always the configured external automated browser.\n- **NEVER** request, type, echo, or handle the user's credentials\u002Fsecrets — the human authenticates in the browser (mirrors terminal-discipline's \"never ask the user to paste secrets\").\n- Only capture content the **authenticated human is entitled to access**; respect site ToS\u002Frobots; do not defeat paywalls the user has no right to; do not scrape at abusive rates.\n- Prefer the accessibility `browser_snapshot` over screenshots for **reading** content.\n- This is human-in-the-loop: the agent **waits** for the human login and does **not fabricate** having read content it could not actually access (anti-fabrication).\n\n## When NOT to use\n- **Public \u002F static \u002F un-gated pages** → use `fetch_webpage` (no browser needed).\n- **Content available via an official API\u002Fexport** the user already has → prefer the API.\n- **Any path that would require the user to paste secrets into chat** → never; use in-browser login instead.\n- **Previewing a localhost dev page** you only need to LOOK at (not extract from, not auth) → the internal Simple Browser is fine there; this skill is specifically for **automated extraction behind interactive auth**.\n\n## Works well with\n- `bubbles-long-running-commands` — how to wait without polling while the human logs in.\n- `bubbles-evidence-capture` — record what was actually extracted as evidence.\n- terminal-discipline instruction — file writes via IDE tools; never echo\u002Fhandle secrets.\n","# External Browser Auth Capture (Human-in-the-Loop)\n\n## Core Principle\nWhen you must read web content behind **interactive human auth** (SSO\u002FOAuth, cookie\u002Fconsent walls, bot checks) **or** content a headless fetch cannot retrieve (client-rendered, gated), drive a **real external browser** via the configured browser-automation MCP tools and hand the **login step to the human**. This is a human-in-the-loop technique: the agent opens and steers the browser, then **pauses and waits for the user to sign in**, then resumes and extracts. The agent never handles the user's credentials.\n\n## Why NOT the internal VS Code browser\nDo not use the internal VS Code browser (Simple Browser \u002F `simpleBrowser.show` \u002F any webview) for auth-gated capture:\n- The agent has **no automation handle** into the VS Code webview — it cannot click, snapshot the accessibility tree, or extract the DOM.\n- OAuth\u002FSSO popups and third-party cookies frequently **break inside the embedded webview**.\n- There is **no persistent real user profile**, so a login does not stick and bot detection is more aggressive.\n- A plain `fetch_webpage` \u002F headless fetch **fails on login-gated or client-rendered pages** (e.g. the YouTube transcript panel is rendered client-side and is often gated).\n\n## Why an external automated browser\n- A **headed, real Chromium\u002FChrome window** the human can see and interact with.\n- A **persistent user-data-dir** — the human logs in **once** and the session survives subsequent navigations.\n- The agent steers it with the configured browser tool family: navigate, accessibility snapshot, click, DOM evaluation, wait, and close. Refer to the tool family **generically** because the MCP server alias\u002Fprefix varies per environment.\n\n## Triage first (decision tree)\n```\nDoes the target need interactive auth OR is it JS\u002Fbot-gated?\n├── No  → a plain fetch_webpage on the public\u002Fstatic page works\n│         → use THAT (cheaper, no browser). STOP.\n└── Yes → escalate to the external automated browser (below).\n```\n\n## Workflow\n1. **Triage.** If `fetch_webpage` on a public\u002Fstatic page returns the content, use it — do not open a browser. Only escalate when the target needs interactive auth or is JS\u002Fbot-gated.\n2. **Open the external browser** and `browser_navigate` to the target. Confirm it is the **real external window**, NOT the internal VS Code browser.\n3. **Dismiss consent\u002Fcookie dialogs** — `browser_snapshot` to find the control, then `browser_click`.\n4. **Hand off to the human for login.** Tell the user plainly, e.g. *\"A browser window has opened — please sign in to your account in that window, then tell me when you're done.\"* Pause with a user-question\u002Fwait tool (e.g. `vscode_askQuestions`, or a wait) until the user confirms. **NEVER** ask the user to paste credentials into chat; **NEVER** type the user's password yourself. The human authenticates **directly in the browser**.\n5. **Resume** after the user confirms, then navigate to the specific content.\n6. **Extract:**\n   - **YouTube transcript (primary worked example):** open the video, then open the transcript panel — expand the description and click the **\"Show transcript\"** control, or use the **\"⋯\" (more actions) menu → \"Show transcript\"**. Then collect the segments with `browser_evaluate`:\n     ```js\n     () => Array.from(document.querySelectorAll('ytd-transcript-segment-renderer')).map(s => s.innerText.replace(\u002F\\s+\u002Fg,' ').trim()).join('\\n')\n     ```\n     Segments carry **timestamps + text** — capture both if the caller needs timing.\n   - **General pages:** prefer `browser_snapshot` (accessibility tree) for structured reading; use `browser_evaluate` for specific DOM text.\n7. **Persist to a file (if needed)** with IDE file tools — **never** shell redirection (terminal-discipline).\n8. **Close** with `browser_close` when done — unless the human wants the session kept for follow-ups.\n\n## Rules \u002F non-negotiables\n- **NEVER** use the internal VS Code Simple Browser \u002F webview for auth-gated capture — always the configured external automated browser.\n- **NEVER** request, type, echo, or handle the user's credentials\u002Fsecrets — the human authenticates in the browser (mirrors terminal-discipline's \"never ask the user to paste secrets\").\n- Only capture content the **authenticated human is entitled to access**; respect site ToS\u002Frobots; do not defeat paywalls the user has no right to; do not scrape at abusive rates.\n- Prefer the accessibility `browser_snapshot` over screenshots for **reading** content.\n- This is human-in-the-loop: the agent **waits** for the human login and does **not fabricate** having read content it could not actually access (anti-fabrication).\n\n## When NOT to use\n- **Public \u002F static \u002F un-gated pages** → use `fetch_webpage` (no browser needed).\n- **Content available via an official API\u002Fexport** the user already has → prefer the API.\n- **Any path that would require the user to paste secrets into chat** → never; use in-browser login instead.\n- **Previewing a localhost dev page** you only need to LOOK at (not extract from, not auth) → the internal Simple Browser is fine there; this skill is specifically for **automated extraction behind interactive auth**.\n\n## Works well with\n- `bubbles-long-running-commands` — how to wait without polling while the human logs in.\n- `bubbles-evidence-capture` — record what was actually extracted as evidence.\n- terminal-discipline instruction — file writes via IDE tools; never echo\u002Fhandle secrets.\n",{},"main","ed893cc338281a0bb9bb9ecf3415716cb242bb3f",".claude\u002Fskills\u002Fbubbles-external-browser-auth-capture",0,"https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel","https:\u002F\u002Fgithub.com\u002Fpkirsanov","2026-11-07 02:54:37",{"source":7,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add pkirsanov\u002Fsmackerel --skill bubbles-external-browser-auth-capture",{"tool":39,"command":40},"bunx","bunx skills add pkirsanov\u002Fsmackerel --skill bubbles-external-browser-auth-capture",{"tool":42,"command":43},"pnpm","pnpm dlx skills add pkirsanov\u002Fsmackerel --skill bubbles-external-browser-auth-capture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbubbles-external-browser-auth-capture\u002FSKILL.md",true,[],[48,74,99,124,144,168],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":21},"01M6N9V5TBHQT20V5SCCJ1VRBC","smackerel-trace-capture","Wire Smackerel's concrete validate-plane stack into the framework trace-driven defect-discovery method. Use when running live-category tests (integration\u002Fe2e\u002Fe2e-ui\u002Fstress) against the ephemeral test stack; capturing SLO or trace evidence; hunting latency\u002Ferror\u002Fperf bugs from spans; querying the test-stack Jaeger or Prometheus; or touching `.specify\u002Fruntime\u002Fobservability`. Concrete smackerel endpoints + the exact `capture-slo.sh` command; do NOT duplicate `bubbles-observability-adapter` — this only adds the wiring.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsmackerel-trace-capture\u002FSKILL.md",[],[55,19,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73],"trace","smackerel trace capture","perf","observability","prometheus","specify","e2e","discovery","use","slo","only","evidence","do","latency","runtime","tests","adapter","error","bugs",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":21},"01M6N9TZDEV26RZ7W34HEFPQE9","smackerel-no-defaults","Enforce Smackerel's NO-DEFAULTS \u002F fail-loud SST policy. Use when editing config, Docker Compose, deploy adapters, docs, instructions, skills, env handling, host bind addresses, or any runtime value that could be hidden by fallback syntax.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsmackerel-no-defaults\u002FSKILL.md",[],[81,82,83,84,85,86,87,88,89,63,90,91,69,92,93,94,95,96,97,98],"smackerel no defaults","docker","policy","config","deploy","docker compose","syntax","editing","instructions","compose","enforce","bind","env","host","Adapters","sst","addresses","value",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":21},"01M6N9TJRS5PF83JH2W4614D4W","bubbles-workflow-mode-resolution","Resolve a Bubbles workflow mode against `bubbles\u002Fworkflows.yaml`, including template inheritance, status ceilings, gate wiring, and decision policy. Use when picking a mode for a request, when a guard reports a mode-related failure, or when extending workflows.yaml with a new mode or template. Covers natural-language intent routing and the workflow registry consistency rules.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbubbles-workflow-mode-resolution\u002FSKILL.md",[],[106,107,108,109,83,110,111,112,113,114,115,63,116,117,118,119,120,121,122,123],"workflow","resolution","mode","bubbles workflow mode resolution","workflows","routing","guard","template","decision","Rules","reports","intent","inheritance","with","consistency","natural-language","for","wiring",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":21},"01M6N9TC98D6DJR0D64SSN0SN3","bubbles-workflow-execution-loops","Run per-round synchronous workflow execution loops correctly. Use when orchestrating a multi-round workflow, dispatching specialist subagents, handling round-based remediation, or interpreting a workflow mode's execution policy. Covers authorized direct execution, dispatch-and-wait, batch-then-summarize prohibition, and mapped-mode execution.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbubbles-workflow-execution-loops\u002FSKILL.md",[],[106,131,132,133,134,83,135,136,137,138,139,63,140,141,142,143,108],"execution","loops","bubbles workflow execution loops","summarize","run","batch","remediation","direct","subagents","dispatch","wait","multi","multi-round",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":21},"01M6N9SYXQNJDQ1T1YT81JH2BG","bubbles-vscode-agent-constraints","Design agents that fit the VS Code Copilot Chat runtime instead of fighting it. Use when authoring or editing any `*.agent.md`; when adding `tools:`, `agents:`, `handoffs:`, `model:`, `user-invocable:`, or `disable-model-invocation:` frontmatter; when designing an orchestrator that dispatches specialists; when a design implies agent-calls-agent-calls-agent chaining; when a subagent dispatch silently no-ops or an agent cannot be selected in the dropdown; or when writing a governance rule about delegation that the runtime cannot actually enforce. Prevents multi-level-subagent designs, prose-only dispatch laws, and frontmatter\u002Fbody contradictions.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbubbles-vscode-agent-constraints\u002FSKILL.md",[],[151,152,153,154,155,156,157,158,159,160,161,162,88,163,65,69,164,165,166,167],"vscode","constraints","bubbles vscode agent constraints","design","writing","copilot","code","delegation","Tools","subagent","model","chaining","orchestrator","authoring","fit","subagent dispatch","frontmatter",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":21},"01M6N9SD78SK12PRT9KBRZ6TB3","bubbles-upkeep-cadence","How to schedule, dispatch, and record recurring operational upkeep tasks (backup, restore-drill, BCDR-drill, patch-cycle, secret-rotation, flag-cleanup, compliance-sweep). Use when authoring or modifying `config\u002Fupkeep-calendar.yaml`, when investigating a missed task, when reading the upkeep ledger, or when adding a new task type.","https:\u002F\u002Fgithub.com\u002Fpkirsanov\u002Fsmackerel\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbubbles-upkeep-cadence\u002FSKILL.md",[],[175,176,177,178,179,180,181,182,63,183,184,185,186,187,188,189,190,191,192,193],"cadence","bubbles upkeep cadence","tasks","cleanup","backup","sweep","schedule","recurring","patch","restore","task","cycle","record","missed","type","drill","how to","new task","rotation"]