[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F6C414PPTWW6BF76K8EZ8C":3,"skill-same:01M6F6C414PPTWW6BF76K8EZ8C":75},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6F6C414PPTWW6BF76K8EZ8C","abridge-webhooks-events",null,"Implement Abridge webhook handling for clinical documentation events.\nUse when receiving note completion notifications, encounter status changes,\nprovider enrollment events, or quality alert callbacks from Abridge.\nTrigger: \"abridge webhook\", \"abridge events\", \"abridge notifications\",\n\"abridge note completed event\", \"abridge encounter event\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fabridge-webhooks-events\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"abridge webhooks events","abridge","events","webhooks","provider","event","Callbacks","io","webhook","clinical","clinical documentation","status","edit","write","read","Bash","healthcare","notifications","code","documentation","2026-11-10 10:12:30",false,"---\nname: abridge-webhooks-events\ndescription: |\n  Implement Abridge webhook handling for clinical documentation events.\n  Use when receiving note completion notifications, encounter status changes,\n  provider enrollment events, or quality alert callbacks from Abridge.\n  Trigger: \"abridge webhook\", \"abridge events\", \"abridge notifications\",\n  \"abridge note completed event\", \"abridge encounter event\".\nallowed-tools: Read, Write, Edit, Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, healthcare, ai, abridge, webhooks]\ncompatible-with: claude-code\n---\n\n# Abridge Webhooks & Events\n\n## Overview\n\nHandle Abridge webhook events for clinical documentation lifecycle: note completion, encounter status changes, quality alerts, and provider enrollment notifications. All webhook payloads are HIPAA-scoped (contain session IDs but no PHI).\n\n## Abridge Event Types\n\n| Event | Trigger | Use Case |\n|-------|---------|----------|\n| `encounter.session.completed` | Note generation finished | Push note to EHR |\n| `encounter.session.failed` | Note generation failed | Alert clinical team |\n| `encounter.note.reviewed` | Clinician reviewed\u002Fedited note | Update EHR with final version |\n| `encounter.note.signed` | Clinician signed the note | Lock note in EHR |\n| `patient.summary.ready` | Patient summary generated | Push to patient portal |\n| `provider.enrolled` | Provider onboarded | Update provider roster |\n| `quality.alert` | Low confidence or missing content | Flag for clinical review |\n\n## Instructions\n\n### Step 1: Webhook Endpoint with Signature Verification\n\n```typescript\n\u002F\u002F src\u002Fwebhooks\u002Fabridge-webhook-handler.ts\nimport express from 'express';\nimport crypto from 'crypto';\n\nconst router = express.Router();\n\n\u002F\u002F CRITICAL: Use raw body for signature verification\nrouter.post('\u002Fwebhooks\u002Fabridge',\n  express.raw({ type: 'application\u002Fjson' }),\n  async (req, res) => {\n    const signature = req.headers['x-abridge-signature'] as string;\n    const timestamp = req.headers['x-abridge-timestamp'] as string;\n\n    if (!verifySignature(req.body, signature, timestamp)) {\n      return res.status(401).json({ error: 'Invalid signature' });\n    }\n\n    const event = JSON.parse(req.body.toString());\n\n    \u002F\u002F Idempotency check\n    if (await isProcessed(event.event_id)) {\n      return res.status(200).json({ status: 'already_processed' });\n    }\n\n    \u002F\u002F Process asynchronously — respond immediately\n    processEvent(event).catch(err =>\n      console.error(`Event processing failed: ${event.event_id}`, err)\n    );\n\n    res.status(200).json({ received: true });\n  }\n);\n\nfunction verifySignature(payload: Buffer, signature: string, timestamp: string): boolean {\n  const secret = process.env.ABRIDGE_WEBHOOK_SECRET!;\n  const maxAge = 300000; \u002F\u002F 5 minutes\n\n  if (Date.now() - parseInt(timestamp) * 1000 > maxAge) {\n    console.error('Webhook timestamp expired');\n    return false;\n  }\n\n  const expected = crypto\n    .createHmac('sha256', secret)\n    .update(`${timestamp}.${payload.toString()}`)\n    .digest('hex');\n\n  return crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));\n}\n```\n\n### Step 2: Event Router\n\n```typescript\n\u002F\u002F src\u002Fwebhooks\u002Fevent-router.ts\ninterface AbridgeEvent {\n  event_id: string;\n  type: string;\n  timestamp: string;\n  data: {\n    session_id?: string;\n    note_id?: string;\n    provider_id?: string;\n    status?: string;\n    quality_score?: number;\n  };\n}\n\ntype EventHandler = (data: AbridgeEvent['data']) => Promise\u003Cvoid>;\n\nconst handlers: Record\u003Cstring, EventHandler> = {\n  'encounter.session.completed': async (data) => {\n    console.log(`Note ready for session ${data.session_id}`);\n    \u002F\u002F Fetch note and push to EHR\n    await fetchAndPushNote(data.session_id!);\n  },\n\n  'encounter.session.failed': async (data) => {\n    console.error(`Note generation failed: ${data.session_id} — ${data.status}`);\n    \u002F\u002F Alert clinical operations team\n    await sendClinicalAlert(data.session_id!, 'Note generation failed');\n  },\n\n  'encounter.note.signed': async (data) => {\n    console.log(`Note signed: ${data.note_id}`);\n    \u002F\u002F Lock note in EHR — no further edits\n    await lockNoteInEhr(data.note_id!);\n  },\n\n  'patient.summary.ready': async (data) => {\n    console.log(`Patient summary ready: ${data.session_id}`);\n    \u002F\u002F Push to patient portal\n    await pushSummaryToPortal(data.session_id!);\n  },\n\n  'quality.alert': async (data) => {\n    console.warn(`Quality alert: session ${data.session_id}, score ${data.quality_score}`);\n    \u002F\u002F Flag for clinical review if score \u003C 0.7\n    if ((data.quality_score || 0) \u003C 0.7) {\n      await flagForReview(data.session_id!);\n    }\n  },\n};\n\nasync function processEvent(event: AbridgeEvent): Promise\u003Cvoid> {\n  const handler = handlers[event.type];\n  if (!handler) {\n    console.log(`Unhandled event: ${event.type}`);\n    return;\n  }\n  await handler(event.data);\n  await markProcessed(event.event_id);\n}\n```\n\n### Step 3: Idempotency Store\n\n```typescript\n\u002F\u002F src\u002Fwebhooks\u002Fidempotency.ts\n\u002F\u002F Use Redis or database for production — in-memory for dev\n\nconst processedEvents = new Map\u003Cstring, number>();\n\nasync function isProcessed(eventId: string): Promise\u003Cboolean> {\n  return processedEvents.has(eventId);\n}\n\nasync function markProcessed(eventId: string): Promise\u003Cvoid> {\n  processedEvents.set(eventId, Date.now());\n  \u002F\u002F Clean up events older than 7 days\n  const cutoff = Date.now() - 7 * 24 * 60 * 60 * 1000;\n  for (const [id, ts] of processedEvents) {\n    if (ts \u003C cutoff) processedEvents.delete(id);\n  }\n}\n```\n\n### Step 4: Webhook Registration\n\n```bash\n# Register webhook endpoint with Abridge\ncurl -X POST \"${ABRIDGE_BASE_URL}\u002Fwebhooks\" \\\n  -H \"Authorization: Bearer ${ABRIDGE_CLIENT_SECRET}\" \\\n  -H \"X-Org-Id: ${ABRIDGE_ORG_ID}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"url\": \"https:\u002F\u002Fyour-service.run.app\u002Fwebhooks\u002Fabridge\",\n    \"events\": [\n      \"encounter.session.completed\",\n      \"encounter.session.failed\",\n      \"encounter.note.signed\",\n      \"patient.summary.ready\",\n      \"quality.alert\"\n    ],\n    \"secret\": \"your-webhook-secret\"\n  }'\n```\n\n## Output\n\n- Secure webhook endpoint with HMAC signature verification\n- Event router with handlers for all clinical documentation events\n- Idempotency store preventing duplicate processing\n- Webhook registration via Abridge API\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Invalid signature | Wrong webhook secret | Verify secret matches Abridge config |\n| Timestamp expired | Clock drift > 5 min | Sync server clock via NTP |\n| Duplicate processing | Missing idempotency | Implement event ID tracking |\n| Handler timeout | Slow EHR push | Process async; respond 200 immediately |\n\n## Resources\n\n- [Abridge Platform](https:\u002F\u002Fwww.abridge.com\u002Fproduct)\n- [HMAC Signature Verification](https:\u002F\u002Fnodejs.org\u002Fapi\u002Fcrypto.html#cryptocreatehmacsignedalgorithm-key-options)\n\n## Next Steps\n\nFor performance optimization, see `abridge-performance-tuning`.\n\n","# Abridge Webhooks & Events\n\n## Overview\n\nHandle Abridge webhook events for clinical documentation lifecycle: note completion, encounter status changes, quality alerts, and provider enrollment notifications. All webhook payloads are HIPAA-scoped (contain session IDs but no PHI).\n\n## Abridge Event Types\n\n| Event | Trigger | Use Case |\n|-------|---------|----------|\n| `encounter.session.completed` | Note generation finished | Push note to EHR |\n| `encounter.session.failed` | Note generation failed | Alert clinical team |\n| `encounter.note.reviewed` | Clinician reviewed\u002Fedited note | Update EHR with final version |\n| `encounter.note.signed` | Clinician signed the note | Lock note in EHR |\n| `patient.summary.ready` | Patient summary generated | Push to patient portal |\n| `provider.enrolled` | Provider onboarded | Update provider roster |\n| `quality.alert` | Low confidence or missing content | Flag for clinical review |\n\n## Instructions\n\n### Step 1: Webhook Endpoint with Signature Verification\n\n```typescript\n\u002F\u002F src\u002Fwebhooks\u002Fabridge-webhook-handler.ts\nimport express from 'express';\nimport crypto from 'crypto';\n\nconst router = express.Router();\n\n\u002F\u002F CRITICAL: Use raw body for signature verification\nrouter.post('\u002Fwebhooks\u002Fabridge',\n  express.raw({ type: 'application\u002Fjson' }),\n  async (req, res) => {\n    const signature = req.headers['x-abridge-signature'] as string;\n    const timestamp = req.headers['x-abridge-timestamp'] as string;\n\n    if (!verifySignature(req.body, signature, timestamp)) {\n      return res.status(401).json({ error: 'Invalid signature' });\n    }\n\n    const event = JSON.parse(req.body.toString());\n\n    \u002F\u002F Idempotency check\n    if (await isProcessed(event.event_id)) {\n      return res.status(200).json({ status: 'already_processed' });\n    }\n\n    \u002F\u002F Process asynchronously — respond immediately\n    processEvent(event).catch(err =>\n      console.error(`Event processing failed: ${event.event_id}`, err)\n    );\n\n    res.status(200).json({ received: true });\n  }\n);\n\nfunction verifySignature(payload: Buffer, signature: string, timestamp: string): boolean {\n  const secret = process.env.ABRIDGE_WEBHOOK_SECRET!;\n  const maxAge = 300000; \u002F\u002F 5 minutes\n\n  if (Date.now() - parseInt(timestamp) * 1000 > maxAge) {\n    console.error('Webhook timestamp expired');\n    return false;\n  }\n\n  const expected = crypto\n    .createHmac('sha256', secret)\n    .update(`${timestamp}.${payload.toString()}`)\n    .digest('hex');\n\n  return crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));\n}\n```\n\n### Step 2: Event Router\n\n```typescript\n\u002F\u002F src\u002Fwebhooks\u002Fevent-router.ts\ninterface AbridgeEvent {\n  event_id: string;\n  type: string;\n  timestamp: string;\n  data: {\n    session_id?: string;\n    note_id?: string;\n    provider_id?: string;\n    status?: string;\n    quality_score?: number;\n  };\n}\n\ntype EventHandler = (data: AbridgeEvent['data']) => Promise\u003Cvoid>;\n\nconst handlers: Record\u003Cstring, EventHandler> = {\n  'encounter.session.completed': async (data) => {\n    console.log(`Note ready for session ${data.session_id}`);\n    \u002F\u002F Fetch note and push to EHR\n    await fetchAndPushNote(data.session_id!);\n  },\n\n  'encounter.session.failed': async (data) => {\n    console.error(`Note generation failed: ${data.session_id} — ${data.status}`);\n    \u002F\u002F Alert clinical operations team\n    await sendClinicalAlert(data.session_id!, 'Note generation failed');\n  },\n\n  'encounter.note.signed': async (data) => {\n    console.log(`Note signed: ${data.note_id}`);\n    \u002F\u002F Lock note in EHR — no further edits\n    await lockNoteInEhr(data.note_id!);\n  },\n\n  'patient.summary.ready': async (data) => {\n    console.log(`Patient summary ready: ${data.session_id}`);\n    \u002F\u002F Push to patient portal\n    await pushSummaryToPortal(data.session_id!);\n  },\n\n  'quality.alert': async (data) => {\n    console.warn(`Quality alert: session ${data.session_id}, score ${data.quality_score}`);\n    \u002F\u002F Flag for clinical review if score \u003C 0.7\n    if ((data.quality_score || 0) \u003C 0.7) {\n      await flagForReview(data.session_id!);\n    }\n  },\n};\n\nasync function processEvent(event: AbridgeEvent): Promise\u003Cvoid> {\n  const handler = handlers[event.type];\n  if (!handler) {\n    console.log(`Unhandled event: ${event.type}`);\n    return;\n  }\n  await handler(event.data);\n  await markProcessed(event.event_id);\n}\n```\n\n### Step 3: Idempotency Store\n\n```typescript\n\u002F\u002F src\u002Fwebhooks\u002Fidempotency.ts\n\u002F\u002F Use Redis or database for production — in-memory for dev\n\nconst processedEvents = new Map\u003Cstring, number>();\n\nasync function isProcessed(eventId: string): Promise\u003Cboolean> {\n  return processedEvents.has(eventId);\n}\n\nasync function markProcessed(eventId: string): Promise\u003Cvoid> {\n  processedEvents.set(eventId, Date.now());\n  \u002F\u002F Clean up events older than 7 days\n  const cutoff = Date.now() - 7 * 24 * 60 * 60 * 1000;\n  for (const [id, ts] of processedEvents) {\n    if (ts \u003C cutoff) processedEvents.delete(id);\n  }\n}\n```\n\n### Step 4: Webhook Registration\n\n```bash\n# Register webhook endpoint with Abridge\ncurl -X POST \"${ABRIDGE_BASE_URL}\u002Fwebhooks\" \\\n  -H \"Authorization: Bearer ${ABRIDGE_CLIENT_SECRET}\" \\\n  -H \"X-Org-Id: ${ABRIDGE_ORG_ID}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"url\": \"https:\u002F\u002Fyour-service.run.app\u002Fwebhooks\u002Fabridge\",\n    \"events\": [\n      \"encounter.session.completed\",\n      \"encounter.session.failed\",\n      \"encounter.note.signed\",\n      \"patient.summary.ready\",\n      \"quality.alert\"\n    ],\n    \"secret\": \"your-webhook-secret\"\n  }'\n```\n\n## Output\n\n- Secure webhook endpoint with HMAC signature verification\n- Event router with handlers for all clinical documentation events\n- Idempotency store preventing duplicate processing\n- Webhook registration via Abridge API\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Invalid signature | Wrong webhook secret | Verify secret matches Abridge config |\n| Timestamp expired | Clock drift > 5 min | Sync server clock via NTP |\n| Duplicate processing | Missing idempotency | Implement event ID tracking |\n| Handler timeout | Slow EHR push | Process async; respond 200 immediately |\n\n## Resources\n\n- [Abridge Platform](https:\u002F\u002Fwww.abridge.com\u002Fproduct)\n- [HMAC Signature Verification](https:\u002F\u002Fnodejs.org\u002Fapi\u002Fcrypto.html#cryptocreatehmacsignedalgorithm-key-options)\n\n## Next Steps\n\nFor performance optimization, see `abridge-performance-tuning`.\n\n",{"name":5,"tags":44,"author":47,"license":15,"version":48,"description":49,"allowed-tools":50,"compatible-with":51},[45,35,46,20,22],"saas","ai","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement Abridge webhook handling for clinical documentation events.\nUse when receiving note completion notifications, encounter status changes,\nprovider enrollment events, or quality alert callbacks from Abridge.\nTrigger: \"abridge webhook\", \"abridge events\", \"abridge notifications\",\n\"abridge note completed event\", \"abridge encounter event\".\n","Read, Write, Edit, Bash(curl:*)","claude-code","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fabridge-webhooks-events",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill abridge-webhooks-events",{"tool":67,"command":68},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill abridge-webhooks-events",{"tool":70,"command":71},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill abridge-webhooks-events","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fabridge-webhooks-events\u002FSKILL.md",true,[],[76,85,94,103,109,115],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[82,83,84],"model","model hierarchy","model hierarchy skill",{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[91,92,93],"MCP","zoom","zoom mcp",{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[100,101,102,92],"sdk","zoom apps sdk","apps",{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[105],{"skillNo":110,"name":111,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[111],{"skillNo":116,"name":117,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[117]]