[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74ENP77F369AK0YPB893JZK":3,"skill-same:01M74ENP77F369AK0YPB893JZK":56},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M74ENP77F369AK0YPB893JZK","stream-transcript-dom-scrape",null,"When a Microsoft Stream recording is read-only and the transcript download says 'no permission', the player still renders the text in the DOM and Playwright captures it. Careful: this may amount to circumvention under the MS services agreement.","CarlosCaPe\u002Foctorato","CarlosCaPe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F39838249?v=4","01M72WXX4ZRR8MBH1EP1QND2FQ","dataqbs","01M72WXX5NA7YCKRSJ54GW1GQ8",18,"MIT","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fstream-transcript-dom-scrape\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: stream-transcript-dom-scrape\ndescription: \"When a Microsoft Stream recording is read-only and the transcript download says 'no permission', the player still renders the text in the DOM and Playwright captures it. Careful: this may amount to circumvention under the MS services agreement.\"\nmetadata:\n  short-description: \"Microsoft Stream transcript DOM-scrape (with legal caveat)\"\n---\n\n# Microsoft Stream Transcript DOM Scrape\n\n## What\n\nA workaround for a specific Microsoft Stream behavior: when a meeting recording is shared with a user via VIEW-only permission, the file-download UI for the transcript may explicitly deny download — but the Stream player loads the transcript text into the page DOM to render the transcript panel. Playwright can extract that rendered text.\n\nThis is a documented observation, not documented Microsoft behavior. The legal\u002FAUP risk is real and named below.\n\n## Why\n\nMany regulated engagements need meeting-transcript content for legitimate reasons:\n- Onboarding context (what was decided in past meetings)\n- Decision archaeology (cross-source search)\n- Compliance evidence (decisions logged via meeting recordings)\n\nThe defensible long-term answer is an Azure AD App Registration with admin-consented `OnlineMeetingTranscript.Read.All` scope. That requires an IT ticket and weeks of lead time.\n\nThe DOM-scrape pattern fills that gap for **historical recordings already shared with the user**, where:\n- The user has VIEW permission on the recording\n- The file-level ACL on the transcript itself denies download\n- The transcript text is nonetheless visible in the player's transcript panel\n\n## Legal \u002F AUP Caveat — READ THIS FIRST\n\nMicrosoft Services Agreement §3(b) prohibits \"circumventing technical limitations.\" When the file-download UI explicitly denies download, systematically extracting that same content via DOM may sit in a legal gray area. Specifically:\n\n| Behavior | Legal posture (author opinion, not legal advice) |\n|---|---|\n| User has VIEW permission; transcript renders in DOM during normal viewing | Likely OK — same content the user could read by scrolling |\n| User automates DOM read of one meeting they're attending live | Likely OK — read-mode of content the user can already see |\n| User automates DOM read of historical meetings shared with them | Gray — content was shared with view permission but download is denied |\n| User automates DOM read systematically across many users \u002F a tenant | Likely circumvention — beyond what was shared |\n| Productionizing this for a team \u002F tenant scope | Don't. Get the App Registration. |\n\n**Always** consult counsel before productionizing this pattern past a single-user prototype. Pursue the App Registration path in parallel.\n\n## When to Use\n\n- Your user has VIEW permission on a Stream recording shared with them\n- The transcript file-download UI denies download specifically\n- You have already filed (or are about to file) an IT ticket for the App Registration with `OnlineMeetingTranscript.Read.All`\n- Personal \u002F prototype scope, not team \u002F production\n- Counsel awareness for the engagement\n\nDo NOT use:\n- For meetings the user does not have VIEW permission on\n- Across an entire tenant or team scope\n- As a permanent production answer\n- Without disclosing the AUP\u002Flegal nuance in any client-facing doc\n\n## Workflow\n\n### 1. Discover transcript URLs\n\nThe recording metadata is reachable via Microsoft Graph (assuming the bearer-capture pattern from `browser-bearer-graph-auth`). Two paths land URLs:\n\n- `GET \u002Fme\u002Fdrive\u002FsharedWithMe` returns shared items including meeting recordings\n- Meeting chat `eventDetail` records (specifically `callRecordingEventMessageDetail`) include recording file names + sharing URLs\n\n```js\n\u002F\u002F Pseudo-code\nconst recordings = await graph.get('\u002Fme\u002Fdrive\u002FsharedWithMe?$filter=...');\nconst fromMeetingChats = await collectFromEventDetails(chats);\nconst transcriptUrls = [...recordings, ...fromMeetingChats]\n  .filter(r => r.name.match(\u002FMeeting (Transcript|Recording)\u002F))\n  .map(r => r.webUrl);\n```\n\n### 2. Convert friendly URLs to player-direct URLs\n\nThe \"friendly\" sharing URL often goes through `AccessDenied.aspx` if you arrive without the sharing token. The player-direct form is more reliable in headless:\n\n```js\nfunction toStreamPlayerUrl(friendlyUrl) {\n  \u002F\u002F Friendly: https:\u002F\u002F\u003Ctenant>-my.sharepoint.com\u002Fpersonal\u002F...\u002FDocuments\u002FRecordings\u002FMeeting.mp4\n  \u002F\u002F Direct:   https:\u002F\u002F\u003Ctenant>-my.sharepoint.com\u002Fpersonal\u002F...\u002F_layouts\u002F15\u002Fstream.aspx?id=\u003Cencoded-path>\n  const url = new URL(friendlyUrl);\n  const path = url.pathname;\n  const layoutsUrl = `${url.origin}${path.replace(\u002F\\\u002F[^\u002F]+\\.mp4$\u002F, '\u002F_layouts\u002F15\u002Fstream.aspx')}`;\n  return `${layoutsUrl}?id=${encodeURIComponent(path)}`;\n}\n```\n\n### 3. DOM scrape with multi-URL retry\n\n```js\nconst URL_FORMS = [\n  toStreamPlayerUrl,    \u002F\u002F _layouts\u002F15\u002Fstream.aspx (most reliable headless)\n  url => url,           \u002F\u002F friendly URL as fallback\n  \u002F\u002F (third form: try with\u002Fwithout query strings)\n];\n\nfor (const fn of URL_FORMS) {\n  try {\n    const text = await scrapeOnce(page, fn(originalUrl));\n    if (text && text.length > MIN_USEFUL_LENGTH) return text;\n  } catch (_) { \u002F* try next *\u002F }\n}\n```\n\n`scrapeOnce` waits for the transcript panel to render, then queries the DOM with a broad selector net + a timestamp-pattern filter:\n\n```js\nasync function scrapeOnce(page, url) {\n  await page.goto(url, { waitUntil: 'load', timeout: 60_000 });\n  await page.waitForSelector('[data-track-name*=\"transcript\"], .transcript, [class*=\"Transcript\"]', { timeout: 30_000 });\n\n  \u002F\u002F Broad selector net — Stream's CSS class names are not stable\n  const lines = await page.$$eval(\n    '[role=\"listitem\"], [class*=\"cue\"], [class*=\"transcript\"] li',\n    els => els.map(e => e.innerText)\n  );\n\n  \u002F\u002F Timestamp filter — keep lines that look like cue text, drop chrome\n  return lines\n    .filter(l => \u002F\\d{1,2}:\\d{2}\u002F.test(l) || l.length > 40)\n    .join('\\n');\n}\n```\n\n### 4. Save with provenance header\n\nEvery scraped transcript file gets a header naming where it came from, when it was captured, and the auth path used. This is the audit trail.\n\n```\n# Transcript scraped from Microsoft Stream player DOM\n# Source: \u003Crecording webUrl>\n# Captured: 2026-04-30T22:45:00Z\n# Auth: browser-bearer (Outlook Web client)\n# Note: file-download UI denied; DOM-rendered text captured under VIEW permission\n# Legal: this is a prototype-only path; counsel sign-off pending for productionization\n\n\u003Ctranscript text follows>\n```\n\n### 4b. Long recordings: drive the video, not the list\n\nScroll-and-accumulate stops working past roughly twenty minutes of recording. The transcript panel is a\nFluentUI virtualized list: at some depth it recycles its cells and snaps the scroll position back toward\nthe top, so the harvest plateaus and the tail of the meeting is never rendered and never captured.\nSending more scroll events does not help, because the reset is inside Microsoft's list control.\n\nMeasured failure signature, one real 32-minute recording: the scroller reports `scrollHeight` around\n22500 but never advances past about 13700, roughly 61 percent, and the cue count freezes while the\nscroll position bounces between earlier offsets. Two runs, one with a 400-iteration cap, both plateaued\nat the identical offset and captured only up to minute 22 of 32.\n\nThe fix is to seek the media element and let the player scroll the panel for you:\n\n```js\n\u002F\u002F inside the frame that owns the \u003Cvideo>\nawait frame.evaluate((s) => { document.querySelector('video').currentTime = s; }, minute * 60);\nawait page.waitForTimeout(2600);          \u002F\u002F let the panel auto-scroll and render\nconst rendered = await extractRenderedCues(frame);\n```\n\nWalk a ladder of stops (every 2 minutes from just before the plateau to the end), harvest whatever is\nrendered at each stop, and union the results with any earlier passes. Read `video.duration` first so the\nladder covers the real length instead of a guess, and stop when a seek yields zero new cues.\n\nMerging passes needs one rule: the same cue renders in more than one shape. A multi-line block\n(`Speaker` \u002F `MM minutes SS seconds` \u002F `MM:SS` \u002F repeated header \u002F text), a header-only block with no\ntext, and a flattened single-line form with the time inline. Parse all of them, key on\n`(timestamp, speaker)`, and **keep the longest text variant**, because some renderings truncate. Keying\non the raw string instead produces duplicate near-identical cues and still loses the full text.\n\nVerify completeness by bucketing cues per minute against the video duration and listing empty minutes.\n\"It captured a lot\" is not evidence; \"zero empty minutes across 0 to 32\" is.\n\nReference implementation: `shared\u002Fscrape-stream-transcript-seek.js` in the NFG workspace, written as a\ntail-recovery companion rather than a replacement for the scroll harvest. Run the scroll pass first, the\nseek pass second, merge both.\n\n### 5. Hand off to ingestion\n\nThe scraped text is then a normal input to `phi-aware-rag-ingestion`: PHI screen, chunk, embed, route, store, digest.\n\n## Anti-patterns\n\n| Anti-pattern | Why it fails |\n|---|---|\n| Skipping the legal caveat in client-facing docs | Hidden risk is unmanaged risk. Disclose the AUP nuance every time. |\n| Productionizing without App Registration | Eventually a tenant policy change breaks the scrape and there's no fallback. |\n| Cross-tenant scrape | Multi-tenant scope is far past \"user views their own meetings.\" Don't. |\n| Sharing the captured transcript outside the engagement | Original ACL denied download; sharing the scraped text reproduces what the ACL was preventing. |\n| Hardcoding CSS class names | Stream's CSS classes are not stable. Use multiple selectors with broad coverage + a content filter (timestamps, length). |\n| Single URL form retry | Stream sometimes sends to AccessDenied.aspx via the friendly URL but works via `_layouts\u002F15\u002Fstream.aspx?id=...`. Multi-URL retry is mandatory. |\n| Trusting a scroll-only harvest on a long recording | The virtualized list plateaus around 61 percent and silently drops the tail, which is where meetings actually converge on decisions. Seek the video instead, and prove coverage by checking for empty minutes against `video.duration`. |\n| Reporting cue count as coverage | 371 cues sounded complete and covered 22 of 32 minutes. Only the per-minute gap check against the real duration is evidence. |\n| Skipping the provenance header | Audit needs to see \"this came from a DOM scrape, captured by user X at time Y.\" Without it, the file looks like it was downloaded normally. |\n\n## Composability\n\n- `browser-bearer-graph-auth` — provides the bearer + the Playwright + Edge persistent context this skill builds on\n- `phi-aware-rag-ingestion` — consumes the scraped transcript text as input\n- `sops-age-git-encryption` — encrypts the scraped transcripts before any commit\n\n## Production Path (Replace This Skill)\n\nThe defensible long-term answer for any engagement past prototype scope:\n\n```\nFile IT ticket → request Azure AD App Registration with admin consent for:\n  - OnlineMeetingTranscript.Read.All\n  - ChannelMessage.Read.All (if channel ingestion is in scope)\n  - Mail.Read, Calendars.Read, Files.Read.All as appropriate\n  → Use Graph \u002Fcommunications\u002FonlineMeetings\u002F\u003Cid>\u002Ftranscripts to fetch transcripts directly\n  → Retire the DOM-scrape path\n```\n\nThe DOM-scrape pattern is a bridge while waiting. Once App Registration lands, retire it.\n\n## Lessons Learned\n\n- 5\u002F5 success rate scraping ~25K chars of transcript content from one user's historical recordings, using the multi-URL retry + timestamp-filter pattern. Single-URL approach got 0\u002F5 (every URL went to AccessDenied.aspx in headless without a sharing token).\n- The friendly URL works in an interactive browser but not headless. The `_layouts\u002F15\u002Fstream.aspx?id=...` form works in both. Try this form first.\n- Stream's CSS class names changed twice during the prototype window. Hardcoding selectors broke the scrape; broad selector + content filter (timestamps + line length) survived the changes.\n- The legal\u002FAUP nuance is the most important sentence in this skill. Every client-facing doc that mentions this approach must disclose it. Hiding it does not protect anyone.\n- Pursue the App Registration in parallel from day 1. The DOM-scrape gives you weeks; App Registration is the production answer.\n","# Microsoft Stream Transcript DOM Scrape\n\n## What\n\nA workaround for a specific Microsoft Stream behavior: when a meeting recording is shared with a user via VIEW-only permission, the file-download UI for the transcript may explicitly deny download — but the Stream player loads the transcript text into the page DOM to render the transcript panel. Playwright can extract that rendered text.\n\nThis is a documented observation, not documented Microsoft behavior. The legal\u002FAUP risk is real and named below.\n\n## Why\n\nMany regulated engagements need meeting-transcript content for legitimate reasons:\n- Onboarding context (what was decided in past meetings)\n- Decision archaeology (cross-source search)\n- Compliance evidence (decisions logged via meeting recordings)\n\nThe defensible long-term answer is an Azure AD App Registration with admin-consented `OnlineMeetingTranscript.Read.All` scope. That requires an IT ticket and weeks of lead time.\n\nThe DOM-scrape pattern fills that gap for **historical recordings already shared with the user**, where:\n- The user has VIEW permission on the recording\n- The file-level ACL on the transcript itself denies download\n- The transcript text is nonetheless visible in the player's transcript panel\n\n## Legal \u002F AUP Caveat — READ THIS FIRST\n\nMicrosoft Services Agreement §3(b) prohibits \"circumventing technical limitations.\" When the file-download UI explicitly denies download, systematically extracting that same content via DOM may sit in a legal gray area. Specifically:\n\n| Behavior | Legal posture (author opinion, not legal advice) |\n|---|---|\n| User has VIEW permission; transcript renders in DOM during normal viewing | Likely OK — same content the user could read by scrolling |\n| User automates DOM read of one meeting they're attending live | Likely OK — read-mode of content the user can already see |\n| User automates DOM read of historical meetings shared with them | Gray — content was shared with view permission but download is denied |\n| User automates DOM read systematically across many users \u002F a tenant | Likely circumvention — beyond what was shared |\n| Productionizing this for a team \u002F tenant scope | Don't. Get the App Registration. |\n\n**Always** consult counsel before productionizing this pattern past a single-user prototype. Pursue the App Registration path in parallel.\n\n## When to Use\n\n- Your user has VIEW permission on a Stream recording shared with them\n- The transcript file-download UI denies download specifically\n- You have already filed (or are about to file) an IT ticket for the App Registration with `OnlineMeetingTranscript.Read.All`\n- Personal \u002F prototype scope, not team \u002F production\n- Counsel awareness for the engagement\n\nDo NOT use:\n- For meetings the user does not have VIEW permission on\n- Across an entire tenant or team scope\n- As a permanent production answer\n- Without disclosing the AUP\u002Flegal nuance in any client-facing doc\n\n## Workflow\n\n### 1. Discover transcript URLs\n\nThe recording metadata is reachable via Microsoft Graph (assuming the bearer-capture pattern from `browser-bearer-graph-auth`). Two paths land URLs:\n\n- `GET \u002Fme\u002Fdrive\u002FsharedWithMe` returns shared items including meeting recordings\n- Meeting chat `eventDetail` records (specifically `callRecordingEventMessageDetail`) include recording file names + sharing URLs\n\n```js\n\u002F\u002F Pseudo-code\nconst recordings = await graph.get('\u002Fme\u002Fdrive\u002FsharedWithMe?$filter=...');\nconst fromMeetingChats = await collectFromEventDetails(chats);\nconst transcriptUrls = [...recordings, ...fromMeetingChats]\n  .filter(r => r.name.match(\u002FMeeting (Transcript|Recording)\u002F))\n  .map(r => r.webUrl);\n```\n\n### 2. Convert friendly URLs to player-direct URLs\n\nThe \"friendly\" sharing URL often goes through `AccessDenied.aspx` if you arrive without the sharing token. The player-direct form is more reliable in headless:\n\n```js\nfunction toStreamPlayerUrl(friendlyUrl) {\n  \u002F\u002F Friendly: https:\u002F\u002F\u003Ctenant>-my.sharepoint.com\u002Fpersonal\u002F...\u002FDocuments\u002FRecordings\u002FMeeting.mp4\n  \u002F\u002F Direct:   https:\u002F\u002F\u003Ctenant>-my.sharepoint.com\u002Fpersonal\u002F...\u002F_layouts\u002F15\u002Fstream.aspx?id=\u003Cencoded-path>\n  const url = new URL(friendlyUrl);\n  const path = url.pathname;\n  const layoutsUrl = `${url.origin}${path.replace(\u002F\\\u002F[^\u002F]+\\.mp4$\u002F, '\u002F_layouts\u002F15\u002Fstream.aspx')}`;\n  return `${layoutsUrl}?id=${encodeURIComponent(path)}`;\n}\n```\n\n### 3. DOM scrape with multi-URL retry\n\n```js\nconst URL_FORMS = [\n  toStreamPlayerUrl,    \u002F\u002F _layouts\u002F15\u002Fstream.aspx (most reliable headless)\n  url => url,           \u002F\u002F friendly URL as fallback\n  \u002F\u002F (third form: try with\u002Fwithout query strings)\n];\n\nfor (const fn of URL_FORMS) {\n  try {\n    const text = await scrapeOnce(page, fn(originalUrl));\n    if (text && text.length > MIN_USEFUL_LENGTH) return text;\n  } catch (_) { \u002F* try next *\u002F }\n}\n```\n\n`scrapeOnce` waits for the transcript panel to render, then queries the DOM with a broad selector net + a timestamp-pattern filter:\n\n```js\nasync function scrapeOnce(page, url) {\n  await page.goto(url, { waitUntil: 'load', timeout: 60_000 });\n  await page.waitForSelector('[data-track-name*=\"transcript\"], .transcript, [class*=\"Transcript\"]', { timeout: 30_000 });\n\n  \u002F\u002F Broad selector net — Stream's CSS class names are not stable\n  const lines = await page.$$eval(\n    '[role=\"listitem\"], [class*=\"cue\"], [class*=\"transcript\"] li',\n    els => els.map(e => e.innerText)\n  );\n\n  \u002F\u002F Timestamp filter — keep lines that look like cue text, drop chrome\n  return lines\n    .filter(l => \u002F\\d{1,2}:\\d{2}\u002F.test(l) || l.length > 40)\n    .join('\\n');\n}\n```\n\n### 4. Save with provenance header\n\nEvery scraped transcript file gets a header naming where it came from, when it was captured, and the auth path used. This is the audit trail.\n\n```\n# Transcript scraped from Microsoft Stream player DOM\n# Source: \u003Crecording webUrl>\n# Captured: 2026-04-30T22:45:00Z\n# Auth: browser-bearer (Outlook Web client)\n# Note: file-download UI denied; DOM-rendered text captured under VIEW permission\n# Legal: this is a prototype-only path; counsel sign-off pending for productionization\n\n\u003Ctranscript text follows>\n```\n\n### 4b. Long recordings: drive the video, not the list\n\nScroll-and-accumulate stops working past roughly twenty minutes of recording. The transcript panel is a\nFluentUI virtualized list: at some depth it recycles its cells and snaps the scroll position back toward\nthe top, so the harvest plateaus and the tail of the meeting is never rendered and never captured.\nSending more scroll events does not help, because the reset is inside Microsoft's list control.\n\nMeasured failure signature, one real 32-minute recording: the scroller reports `scrollHeight` around\n22500 but never advances past about 13700, roughly 61 percent, and the cue count freezes while the\nscroll position bounces between earlier offsets. Two runs, one with a 400-iteration cap, both plateaued\nat the identical offset and captured only up to minute 22 of 32.\n\nThe fix is to seek the media element and let the player scroll the panel for you:\n\n```js\n\u002F\u002F inside the frame that owns the \u003Cvideo>\nawait frame.evaluate((s) => { document.querySelector('video').currentTime = s; }, minute * 60);\nawait page.waitForTimeout(2600);          \u002F\u002F let the panel auto-scroll and render\nconst rendered = await extractRenderedCues(frame);\n```\n\nWalk a ladder of stops (every 2 minutes from just before the plateau to the end), harvest whatever is\nrendered at each stop, and union the results with any earlier passes. Read `video.duration` first so the\nladder covers the real length instead of a guess, and stop when a seek yields zero new cues.\n\nMerging passes needs one rule: the same cue renders in more than one shape. A multi-line block\n(`Speaker` \u002F `MM minutes SS seconds` \u002F `MM:SS` \u002F repeated header \u002F text), a header-only block with no\ntext, and a flattened single-line form with the time inline. Parse all of them, key on\n`(timestamp, speaker)`, and **keep the longest text variant**, because some renderings truncate. Keying\non the raw string instead produces duplicate near-identical cues and still loses the full text.\n\nVerify completeness by bucketing cues per minute against the video duration and listing empty minutes.\n\"It captured a lot\" is not evidence; \"zero empty minutes across 0 to 32\" is.\n\nReference implementation: `shared\u002Fscrape-stream-transcript-seek.js` in the NFG workspace, written as a\ntail-recovery companion rather than a replacement for the scroll harvest. Run the scroll pass first, the\nseek pass second, merge both.\n\n### 5. Hand off to ingestion\n\nThe scraped text is then a normal input to `phi-aware-rag-ingestion`: PHI screen, chunk, embed, route, store, digest.\n\n## Anti-patterns\n\n| Anti-pattern | Why it fails |\n|---|---|\n| Skipping the legal caveat in client-facing docs | Hidden risk is unmanaged risk. Disclose the AUP nuance every time. |\n| Productionizing without App Registration | Eventually a tenant policy change breaks the scrape and there's no fallback. |\n| Cross-tenant scrape | Multi-tenant scope is far past \"user views their own meetings.\" Don't. |\n| Sharing the captured transcript outside the engagement | Original ACL denied download; sharing the scraped text reproduces what the ACL was preventing. |\n| Hardcoding CSS class names | Stream's CSS classes are not stable. Use multiple selectors with broad coverage + a content filter (timestamps, length). |\n| Single URL form retry | Stream sometimes sends to AccessDenied.aspx via the friendly URL but works via `_layouts\u002F15\u002Fstream.aspx?id=...`. Multi-URL retry is mandatory. |\n| Trusting a scroll-only harvest on a long recording | The virtualized list plateaus around 61 percent and silently drops the tail, which is where meetings actually converge on decisions. Seek the video instead, and prove coverage by checking for empty minutes against `video.duration`. |\n| Reporting cue count as coverage | 371 cues sounded complete and covered 22 of 32 minutes. Only the per-minute gap check against the real duration is evidence. |\n| Skipping the provenance header | Audit needs to see \"this came from a DOM scrape, captured by user X at time Y.\" Without it, the file looks like it was downloaded normally. |\n\n## Composability\n\n- `browser-bearer-graph-auth` — provides the bearer + the Playwright + Edge persistent context this skill builds on\n- `phi-aware-rag-ingestion` — consumes the scraped transcript text as input\n- `sops-age-git-encryption` — encrypts the scraped transcripts before any commit\n\n## Production Path (Replace This Skill)\n\nThe defensible long-term answer for any engagement past prototype scope:\n\n```\nFile IT ticket → request Azure AD App Registration with admin consent for:\n  - OnlineMeetingTranscript.Read.All\n  - ChannelMessage.Read.All (if channel ingestion is in scope)\n  - Mail.Read, Calendars.Read, Files.Read.All as appropriate\n  → Use Graph \u002Fcommunications\u002FonlineMeetings\u002F\u003Cid>\u002Ftranscripts to fetch transcripts directly\n  → Retire the DOM-scrape path\n```\n\nThe DOM-scrape pattern is a bridge while waiting. Once App Registration lands, retire it.\n\n## Lessons Learned\n\n- 5\u002F5 success rate scraping ~25K chars of transcript content from one user's historical recordings, using the multi-URL retry + timestamp-filter pattern. Single-URL approach got 0\u002F5 (every URL went to AccessDenied.aspx in headless without a sharing token).\n- The friendly URL works in an interactive browser but not headless. The `_layouts\u002F15\u002Fstream.aspx?id=...` form works in both. Try this form first.\n- Stream's CSS class names changed twice during the prototype window. Hardcoding selectors broke the scrape; broad selector + content filter (timestamps + line length) survived the changes.\n- The legal\u002FAUP nuance is the most important sentence in this skill. Every client-facing doc that mentions this approach must disclose it. Hiding it does not protect anyone.\n- Pursue the App Registration in parallel from day 1. The DOM-scrape gives you weeks; App Registration is the production answer.\n",{"name":5,"metadata":24,"description":7},{"short-description":25},"Microsoft Stream transcript DOM-scrape (with legal caveat)","master","b4414608cd5a3f87d1525b518f1c6add8363540d","skills\u002Fstream-transcript-dom-scrape",6,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato","https:\u002F\u002Fwww.dataqbs.com\u002Foctorato","https:\u002F\u002Fgithub.com\u002FCarlosCaPe","www.dataqbs.com"," AI-powered data engineering\r\n& consulting\r\n\r\nWe build data platforms that turn complexity into clarity — from cloud architecture and ETL pipelines to AI-driven","2026-11-14 00:21:00",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add CarlosCaPe\u002Foctorato --skill stream-transcript-dom-scrape",{"tool":42,"command":43},"bunx","bunx skills add CarlosCaPe\u002Foctorato --skill stream-transcript-dom-scrape",{"tool":45,"command":46},"pnpm","pnpm dlx skills add CarlosCaPe\u002Foctorato --skill stream-transcript-dom-scrape","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fstream-transcript-dom-scrape\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"skill.json","REFERENCE","参考文档",371,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fstream-transcript-dom-scrape\u002Fskill.json",[57,66,74,81,89,97],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M74EVAA4A4B4AKR5TT732GP4","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M74EV4WMRDKP2NQS4YWR8PXH","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M74EV05MHTXKEXD4B2QJEYTF","workspace-skill-discovery","Discover and include ALL skills across the workspace — not just global ones. Use at the start of every session or when the user asks about available skills. Ensures project-level skills (under .claude\u002Fskills\u002F or skills\u002F in any repo) are never missed.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkspace-skill-discovery\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74ETV78525B4VP2F28Z6NRD","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M74ETR75NF67WGVEN7288ACV","winui-app","Create, build and design WinUI 3 desktop apps with C# and the Windows App SDK following Microsoft's official guidance and CommunityToolkit. Covers XAML, navigation, theming, accessibility and deployment.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\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},"01M74ETJFRNPPNSQZ36C6HD6CW","windows-brain-script-portability","Scripts in ~\u002F.claude\u002Fscripts\u002F that run on a Windows brain: use the python3.cmd shim and not bare python3, and reconfigure stdout to UTF-8 if you print symbols. Use it when writing a brain script or triaging a Windows-only crash.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwindows-brain-script-portability\u002FSKILL.md",[],[]]