abridge-rate-limits

Featured

Implement Abridge rate limiting, backoff, and session throttling patterns. Use when handling 429 errors, managing concurrent encounter sessions, or optimizing API throughput for high-volume clinical deployments. Trigger: "abridge rate limit", "abridge 429", "abridge throttling", "abridge concurrent sessions".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Abridge Rate Limits ## Overview Abridge enforces rate limits per organization to ensure platform stability across thousands of concurrent clinical encounters. Limits vary by contract tier and are enforced at the org_id level. ## Rate Limit Tiers | Tier | Concurrent Sessions | API Calls/min | Note Generations/min | WebSocket Connections | |------|---------------------|---------------|---------------------|-----------------------| | Pilot | 10 | 60 | 10 | 10 | | Standard | 100 | 600 | 50 | 100 | | Enterprise | 1,000+ | 6,000 | 500 | 1,000 | ## Response Headers ``` X-RateLimit-Limit: 600 X-RateLimit-Remaining: 42 X-RateLimit-Reset: 1711234567 Retry-After: 30 ``` ## Instructions ### Step 1: Rate Limit Aware Client ```typescript // src/abridge/rate-limiter.ts interface RateLimitState { remaining: number; limit: number; resetAt: Date; retryAfter?: number; } class AbridgeRateLimiter { private state: RateLimitState = { remaining: Infinity, limit: Infinity, resetAt: new Date(), }; private queue: Array<{ resolve: () => void; reject: (err: Error) => void }> = []; private processing = false; updateFromHeaders(headers: Record<string, string>): void { if (headers['x-ratelimit-remaining']) { this.state.remaining = parseInt(headers['x-ratelimit-remaining']); } if (headers['x-ratelimit-limit']) { this.state.limit = parseInt(headers['x-ratelimit-limit']); } if (headers['x-ratelimit-reset']) { this.state.resetAt = ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category