More screenshots
Works with the AI Agents you already use
Repair OAuth Refresh Races
Repair concurrent OAuth refresh races that invalidate credentials, overwrite newer tokens, or force users to reconnect.
$1
Repair OAuth Refresh Races
Example session with this skill installed
My background workers keep hitting invalid_grant errors when they all try to refresh the same Google OAuth token at once. Fix the race condition.
- Read your context and instructions
- Compiled the repair oauth refresh
I have implemented a single-flight refresh mechanism using a Redis lock. Added versioned token updates to the database to prevent stale overwrites. Verified the fix with a new concurrency test suite simulating 10 simultaneous refresh attempts.
Connects securely to your tools. The creator never sees your data.
About this skill
Repair apps where concurrent OAuth refreshes invalidate credentials, overwrite newer tokens, or force users to reconnect.
This skill traces token expiry, rotation, storage, retries, and multi-instance races. It adds single-flight refresh, atomic token replacement, version checks, safe recovery, and concurrency tests.
- Stop duplicate refresh requests
- Preserve rotated tokens
- Prevent stale overwrites
- Avoid reconnect loops
Ideal for SaaS integrations, APIs, and background sync.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
- Requires access to token storage and refresh logic code. - Multi-region coordination may require a shared data store like Redis. - Cannot fix revoked tokens at the provider.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 months ago
Permissions
Permissions are limited to the active local workspace and are used to inspect user-supplied or local workspace files; create or modify bounded local fixes, tests, documentation, or review artifacts; run repository-supported local tests, checks, builds, or parsing commands. The skill package does not require bundled credentials, unrestricted external network access, or automatic production changes.