external-auth-bridge-reuse

Community

Safely reuse external CLI credentials.

Authorliuyu520
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Read-only credential bridge that reads credentials from external CLI tools (e.g., Codex, gcloud, aws-cli) and caches tokens in memory, never writing back to their credential stores.

Core Features & Use Cases

  • Read-only parsing of external tool credentials to avoid race conditions with editors/CLIs.
  • In-memory token caching with TTL and proactive refresh to ensure up-to-date access.
  • Multi-source credential priority chain (env var > memory cache > on-disk file) for seamless workflows.
  • Promise-based token refresh with exponential backoff to prevent thundering refreshes.

Quick Start

Configure your application to load credentials via the read-only bridge and rely on in-memory caching for token refresh.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: external-auth-bridge-reuse
Download link: https://github.com/liuyu520/cc_source/archive/main.zip#external-auth-bridge-reuse

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.