using-redis-token-buckets vs db-repair
using-redis-token-buckets and db-repair are both databases skills. db-repair scores higher (94 vs 82 out of 100). using-redis-token-buckets has more GitHub stars (41k), and db-repair was updated more recently (5 days ago). The table compares them side by side.
| using-redis-token-buckets | db-repair | |
|---|---|---|
| Score | 82 / 100 | 94 / 100 |
| What it does | Use when adding a bucket-like rate limit backed by Redis: a per-caller budget with burst capacity and continuous refill, a refund path for requests that did no work, or a limit whose Retry-After must be a real wait rather than a window edge. `posthog/token_bucket.py` provides an atomic Lua token bucket (`consume`, `refund`, `peek`) over `posthog.redis.get_client()`. Choose it over DRF `SimpleRateThrottle`/fixed-window cache counters when boundary bursts, top-of-window lockouts, or charge-then-refund semantics matter. Trigger terms: token bucket, rate limit, burst, refill, quota, Retry-After, fixed window, throttle. | Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe. |
| Publisher | Community: PostHog | Community: garrytan |
| Grades | Maintenance A, Licence F, Quality A | Maintenance A, Licence A, Quality A |
| npm downloads a week | Not on npm | Not on npm |
| Runs | Skill | Skill |
| Works with | Claude Code, Claude apps | Claude Code, Claude apps |
| GitHub stars | 41,115 | 33,756 |
| Last commit | 25 Nov 2026 | 30 Nov 2026 |
| Licence | NOASSERTION | MIT |
| Listed since | 25 Nov 2026 | 25 Oct 2026 |
| Install using-redis-token-buckets | Install db-repair |
Questions
Is using-redis-token-buckets or db-repair more popular?
using-redis-token-buckets has more GitHub stars: 41,115.
Can I use using-redis-token-buckets and db-repair together?
Yes. AI assistants can load several skills at once. Install both and the assistant picks the right one for each task.