Agent skill · software engineering · jeremylongshore

abridge-sdk-patterns

Apply production-ready patterns for Abridge clinical AI integration.

Why this skill is useful

Adds a type-safe API client singleton and HIPAA-compliant error handling scripts that are specific to Abridge's healthcare integration.

What it needs

Requires axios, typescript installed locally. Requires abridge account access. About 4k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Abridge SDK Patterns Overview Production-ready patterns for Abridge clinical AI integration. Since Abridge operates via partner APIs (not a public SDK), these patterns wrap the REST API with type-safe clients, HIPAA-compliant logging, and healthcare-specific error handling. Prerequisites Completed abridge-install-auth setup TypeScript project with strict mode enabled Understanding of HIPAA audit logging requirements Instructions Step 1: Type-Safe API Client Singleton Step 2: HIPAA-Safe Error Handler Step 3: Retry with Exponential Backoff Step 4: Session Manager Pattern Output Type-safe singleton client with audit logging HIPAA-safe error handling (no PHI in logs) Exponential backoff with Retry-After support Session lifecycle manager with state tracking Examples In a sandbox integration test, initialize the singleton from a secret-managed environment, create a session with fictional identifiers, add a short synthetic transcript, and finalize it through withRetry. Assert that the audit stream contains a correlation ID, HTTP outcome, and redacted endpoint shape—but no transcript or patient value. Then inject a synthetic 429 and confirm the retry honors its delay and stops at the configured budget. If a safe-log assertion fails, disable the integration test output upload and fix the redaction boundary before reviewing the request trace. Error Handling Pattern Use Case Benefit --------- ---------- --------- Singleton client All API calls Single source of config, consistent headers Safe error logging HIPAA compliance Prevents PHI leakage in error logs Retry with backoff Transient failures Handles 429/5xx gracefully Session manager Encounter lifecycle Tracks state, prevents orphaned sessions Resources HIPAA Security Rule Abridge Platform Next Steps Apply these patterns in abridge-core-workflow-a for real encounter processing.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/abridge-sdk-patterns

View the source on GitHub

Browse the @skills marketplace