05 Env And Auth banner
codeaashu codeaashu

05 Env And Auth

Development community

Description

# Prompt 05: Environment Configuration & API Authentication ## Context You are working in `/workspaces/claude-code`. The CLI needs an Anthropic API key to function. The auth system supports multiple backends: - **Direct API** (`ANTHROPIC_API_KEY`) — simplest - **OAuth** (Claude.ai subscription) — complex browser flow - **AWS Bedrock** — `AWS_*` env vars - **Google Vertex AI** — GCP credentials - **Azure Foundry** — `ANTHROPIC_FOUNDRY_API_KEY` ## Task ### Part A: Create `.env` file from the e

Installation

Installs to ~/.claude/skills/codeaashu-claude-code-05-env-and-auth/SKILL.md

Terminal
mkdir -p ~/.claude/skills/codeaashu-claude-code-05-env-and-auth && curl -fsSL https://raw.githubusercontent.com/codeaashu/claude-code/HEAD/prompts/05-env-and-auth.md -o ~/.claude/skills/codeaashu-claude-code-05-env-and-auth/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository