claude-code-wrapper

Community

Auto-load Claude credentials for seamless CLI.

Authorxdrshjr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This wrapper automatically loads Claude credentials from the user's ~/.claude/config.json and exports the required environment variables so Claude Code can run without manual setup.

Core Features & Use Cases

  • Auto-loads ANTHROPIC_AUTH_TOKEN, ANTHROPIC_BASE_URL, and API_TIMEOUT_MS from ~/.claude/config.json and exports them for claude commands.
  • Simplifies running Claude Code in OpenClaw sessions across local and CI environments without manual credential configuration.
  • Includes basic error handling for missing config or absent claude installation.

Quick Start

Run the wrapper script to execute Claude Code with credentials auto-loaded from the config file.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: claude-code-wrapper
Download link: https://github.com/xdrshjr/JR-OpenClaw-Skills/archive/main.zip#claude-code-wrapper

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 223,000+ vetted skills library on demand.