What problem does it solve?
This Skill automates the complex process of setting up and maintaining authentication for Anthropic's Claude models within the OpenClaw environment, ensuring seamless integration and preventing service interruptions due to expired tokens or misconfigurations.
Core Features & Use Cases
- Automated CLI Installation & Login: Installs the Claude Code CLI if missing and guides users through the browser-based OAuth login flow.
- Token Synchronization: Securely reads the OAuth token and registers it with OpenClaw.
- Model Name Correction: Ensures Anthropic model names in
openclaw.json use the correct dash format and are configured as fallbacks.
- Gateway Restart & Verification: Restarts the OpenClaw gateway and performs a quick verification to confirm successful integration.
- Use Case: When your Claude models stop working in OpenClaw due to an expired token or a new setup, this skill will automatically refresh the authentication and configuration, restoring access with minimal user intervention.
Quick Start
Run the claude-auth-sync skill to automatically install, log in, and sync your Claude token with OpenClaw.