dicklesworthstone/pi_agent_rust/fireflies-multi-env-setup

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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

Install

npx vskill@latest install dicklesworthstone/pi_agent_rust/fireflies-multi-env-setup

SKILL.md

Fireflies.ai Multi-Environment Setup

Overview

Configure Fireflies.ai across development, staging, and production environments.

Prerequisites

  • Separate Fireflies.ai accounts or API keys per environment
  • Secret management solution (Vault, AWS Secrets Manager, etc.)
  • CI/CD pipeline with environment variables
  • Environment detection in application

Environment Strategy

EnvironmentPurposeAPI KeysData
DevelopmentLocal devTest keysSandbox
StagingPre-prod validationStaging keysTest data
ProductionLive trafficProduction keysReal data

Configuration Structure

config/
├── fireflies/
│ ├── base.json # Shared config
│ ├── development.json # Dev overrides
│ ├── staging.json # Staging overrides
│ └── production.json # Prod overrides
base.json
json
{
"timeout": 30000,
"retries": 3,
"cache": {
"enabled": true,
"ttlSeconds": 60
}
}
development.json
json
{
"apiKey": "${FIREFLIES_API_KEY}",
"baseUrl": "https://api-sandbox.fireflies.com",
"debug": true,
"cache": {
"enabled": false
}
}
staging.json
json
{
"apiKey": "${FIREFLIES_API_KEY_STAGING}",
"baseUrl": "https://api-staging.fireflies.com",
"debug": false
}
production.json
json
{
"apiKey": "${FIREFLIES_API_KEY_PROD}",
"baseUrl": "https://api.fireflies.com",
"debug": false,
"retries": 5
}

Environment Detection

typescript
// src/fireflies/config.ts
import baseConfig from '../../config/fireflies/base.json';
type Environment = 'development' | 'staging' | 'production';
function detectEnvironment(): Environment {
const env = process.env.NODE_ENV || 'development';
const validEnvs: Environment[] = ['development', 'staging', 'production'];
return validEnvs.includes(env as Environment)
? (env as Environment)
: 'development';
}
export function getFireflies.aiConfig() {
const env = detectEnvironment();
const envConfig = require(`../../config/fireflies/${env}.json`);
return {
...baseConfig,
...envConfig,
environment: env,
};
}

Secret Management by Environment

Local Development
bash
# .env.local (git-ignored)
FIREFLIES_API_KEY=sk_test_dev_***
CI/CD (GitHub Actions)
yaml
env:
FIREFLIES_API_KEY: ${{ secrets.FIREFLIES_API_KEY_${{ matrix.environment }} }}
Production (Vault/Secrets Manager)
bash
# AWS Secrets Manager
aws secretsmanager get-secret-value --secret-id fireflies/production/api-key
# GCP Secret Manager
gcloud secrets versions access latest --secret=fireflies-api-key
# HashiCorp Vault
vault kv get -field=api_key secret/fireflies/production

Environment Isolation

typescript
// Prevent production operations in non-prod
function guardProductionOperation(operation: string): void {
const config = getFireflies.aiConfig();
if (config.environment !== 'production') {
console.warn(`[fireflies] ${operation} blocked in ${config.environment}`);
throw new Error(`${operation} only allowed in production`);
}
}
// Usage
async function deleteAllData() {
guardProductionOperation('deleteAllData');
// Dangerous operation here
}

Feature Flags by Environment

typescript
const featureFlags: Record<Environment, Record<string, boolean>> = {
development: {
newFeature: true,
betaApi: true,
},
staging: {
newFeature: true,
betaApi: false,
},
production: {
newFeature: false,
betaApi: false,
},
};

Instructions

Step 1: Create Config Structure

Set up the base and per-environment configuration files.

Step 2: Implement Environment Detection

Add logic to detect and load environment-specific config.

Step 3: Configure Secrets

Store API keys securely using your secret management solution.

Step 4: Add Environment Guards

Implement safeguards for production-only operations.

Output

  • Multi-environment config structure
  • Environment detection logic
  • Secure secret management
  • Production safeguards enabled

Error Handling

IssueCauseSolution
Wrong environmentMissing NODE_ENVSet environment variable
Secret not foundWrong secret pathVerify secret manager config
Config merge failsInvalid JSONValidate config files
Production guard triggeredWrong environmentCheck NODE_ENV value

Examples

Quick Environment Check
typescript
const env = getFireflies.aiConfig();
console.log(`Running in ${env.environment} with ${env.baseUrl}`);

Resources

Next Steps

For observability setup, see fireflies-observability.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1,831
Repository forks
217
7-day trend score
43

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dicklesworthstone/pi_agent_rust/fireflies-multi-env-setup/badge)](https://verified-skill.com/skills/dicklesworthstone/pi_agent_rust/fireflies-multi-env-setup)

Something wrong with this skill or its page? Tell us.