codesome-setup

Configure the Codesome Claude API environment on macOS and Windows.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill codesome-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codesome-setup
Source: https://github.com/augustscl/awesome-xiawang-skills/tree/main/codesome-setup
Command: npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill codesome-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill simplifies configuring Codesome Claude API across macOS and Windows, guiding users through API key retrieval, Claude Code installation, environment variable setup, and connectivity verification so they can start using Claude Code quickly.

Core Features & Use Cases

  • Step-by-step cross-platform setup for Claude Code CLI and Codesome API integration on macOS and Windows.
  • Automated guidance for obtaining API keys, installing Claude Code, and configuring ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN.
  • Verification and troubleshooting workflow to confirm installation and API connectivity, with fallback guidance for common errors.

Quick Start

Follow the six configuration steps to install Claude Code, set environment variables, and verify the connection.

Frequently Asked Questions about codesome-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Claude Code CLI with a custom API base URL on macOS and Windows?

To set up Claude Code CLI, you must install the tool, retrieve your API key, and configure the ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN environment variables on macOS or Windows to route requests correctly.

What environment variables do I need to configure for Codesome Claude API access?

Codesome Claude API access requires configuring ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN environment variables to point the Claude Code CLI to the correct endpoint and authenticate your requests seamlessly.

Does Claude Code installation work the same way across macOS and Windows?

Claude Code installation is cross-platform, but setup differs by operating system. This process detects your OS and provides specific CLI installation and environment variable configuration steps for macOS and Windows respectively.

How do I verify Claude Code CLI connectivity after configuring the API environment?

Verify Claude Code CLI connectivity by running a post-installation check that confirms your API key and environment variables are valid, with built-in failure guidance to troubleshoot common connection errors.

Why is my Claude Code CLI not connecting after setting the API environment variables?

Claude Code CLI connection failures often stem from incorrect ANTHROPIC_BASE_URL or ANTHROPIC_AUTH_TOKEN values, so this setup includes a verification workflow with clear fallback guidance to resolve common configuration errors.

What is the process for obtaining an API key for Claude Code environment setup?

Obtaining an API key for Claude Code environment setup involves guided retrieval of your credentials, followed by installing the CLI, setting environment variables, and validating connectivity to ensure seamless workflow integration.