clade-multi-env-setup

Featured

Configure Claude across dev, staging, and production with different Use when working with multi-env-setup patterns. models, keys, and rate limits per environment. Trigger with "anthropic environments", "claude staging", "anthropic dev vs prod", "claude multi-environment".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Anthropic Multi-Environment Setup ## Overview Use different API keys, models, and limits across dev/staging/prod. ## Environment Configuration ```typescript // config/anthropic.ts interface AnthropicConfig { apiKey: string; model: string; maxTokens: number; maxRetries: number; } const configs: Record<string, AnthropicConfig> = { development: { apiKey: process.env.ANTHROPIC_API_KEY!, model: 'claude-haiku-4-5-20251001', // Cheap for dev maxTokens: 256, maxRetries: 1, }, staging: { apiKey: process.env.ANTHROPIC_API_KEY!, model: 'claude-sonnet-4-20250514', maxTokens: 1024, maxRetries: 2, }, production: { apiKey: process.env.ANTHROPIC_API_KEY!, model: 'claude-sonnet-4-20250514', maxTokens: 4096, maxRetries: 3, }, }; export const config = configs[process.env.NODE_ENV || 'development']; ``` ## Separate API Keys Per Environment Use different Anthropic API keys for each environment: - **Dev key**: Low tier, spending alerts at $10 - **Staging key**: Medium tier, spending alerts at $50 - **Prod key**: Highest tier, spending alerts at usage baseline + 50% ```bash # .env.development ANTHROPIC_API_KEY=sk-ant-dev-... # .env.staging ANTHROPIC_API_KEY=sk-ant-staging-... # .env.production ANTHROPIC_API_KEY=sk-ant-prod-... ``` ## Model Selection Strategy | Environment | Model | Why | |-------------|-------|-----| | Development | Haiku | Fast iteration, cheap | | Staging | Sonnet | Match prod quality | | Production | ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

anth-multi-env-setup

Configure Claude API across dev, staging, and production environments with isolated keys, model routing, and spend controls per environment. Trigger with phrases like "anthropic environments", "claude multi-env", "anthropic staging setup", "claude dev vs prod config".

2,266 Updated today
jeremylongshore
AI & Automation Featured

cohere-multi-env-setup

Configure Cohere across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment API keys, model selection, and rate limit strategies. Trigger with phrases like "cohere environments", "cohere staging", "cohere dev prod", "cohere environment setup", "cohere config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

apollo-multi-env-setup

Configure Apollo.io multi-environment setup. Use when setting up development, staging, and production environments, or managing multiple Apollo configurations. Trigger with phrases like "apollo environments", "apollo staging", "apollo dev prod", "apollo multi-tenant", "apollo env config".

2,266 Updated today
jeremylongshore
AI & Automation Featured

groq-multi-env-setup

Configure Groq across dev, staging, and production with environment-specific model selection, rate limits, and API keys. Trigger with phrases like "groq environments", "groq staging", "groq dev prod", "groq environment setup", "groq multi-env", "groq config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-multi-env-setup

Configure Klaviyo across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment API keys, or implementing environment-specific Klaviyo configurations. Trigger with phrases like "klaviyo environments", "klaviyo staging", "klaviyo dev prod", "klaviyo environment setup", "klaviyo config by env".

2,266 Updated today
jeremylongshore