cohere-multi-env-setup

Featured

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".

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

# Cohere Multi-Environment Setup ## Overview Configure Cohere API v2 across dev/staging/prod with environment-specific API keys, model selection, and budget controls. ## Prerequisites - Separate Cohere API keys per environment (trial for dev, production for staging/prod) - Secret management solution (Vault, AWS Secrets Manager, GCP Secret Manager) - Environment detection in application ## Environment Strategy | Environment | API Key Type | Model | maxTokens | Caching | |-------------|-------------|-------|-----------|---------| | Development | Trial (free) | `command-r7b-12-2024` | 200 | Disabled | | Staging | Production | `command-r-08-2024` | 1000 | Enabled | | Production | Production | `command-a-03-2025` | 4096 | Enabled | ## Instructions ### Step 1: Configuration Structure ```typescript // src/config/cohere.ts type Environment = 'development' | 'staging' | 'production'; interface CohereEnvConfig { chatModel: string; embedModel: string; rerankModel: string; maxTokens: number; cacheEnabled: boolean; cacheTtlMs: number; retries: number; timeoutSeconds: number; } const configs: Record<Environment, CohereEnvConfig> = { development: { chatModel: 'command-r7b-12-2024', // Fastest, cheapest embedModel: 'embed-v4.0', rerankModel: 'rerank-v3.5', maxTokens: 200, // Limit for dev cacheEnabled: false, // See real responses cacheTtlMs: 0, retries: 1, // Fail fas...

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

clade-multi-env-setup

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".

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

hubspot-multi-env-setup

Configure HubSpot across development, staging, and production environments. Use when setting up per-environment HubSpot portals, configuring separate access tokens, or implementing environment isolation for HubSpot integrations. Trigger with phrases like "hubspot environments", "hubspot staging", "hubspot dev prod", "hubspot test account", "hubspot 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

clickhouse-multi-env-setup

Configure ClickHouse across dev, staging, and production with environment-specific settings, secrets management, and infrastructure-as-code patterns. Use when setting up per-environment ClickHouse instances, managing connection configs, or deploying to multiple environments. Trigger: "clickhouse environments", "clickhouse dev staging prod", "clickhouse multi-env", "clickhouse environment config", "clickhouse staging setup".

2,266 Updated today
jeremylongshore