Skip to content

Instantly share code, notes, and snippets.

@vpzed
Created February 18, 2026 00:04
Show Gist options
  • Select an option

  • Save vpzed/11a97c4eae1b0aa36222636a31bbb0ba to your computer and use it in GitHub Desktop.

Select an option

Save vpzed/11a97c4eae1b0aa36222636a31bbb0ba to your computer and use it in GitHub Desktop.
Draft PAI 3.0 env template
# PAI 3.0 Environment Variables Template
# Generated: 2026-02-16 by PAI 3.0
#
# IMPORTANT: Never commit .env files to version control!
#
# =============================================================================
# AI/ML SERVICES
# =============================================================================
# --- Anthropic Claude API ---
# Required by: Telos Dashboard
# Purpose: Claude API access for dashboard functionality
# Get key at: https://console.anthropic.com/
#ANTHROPIC_API_KEY=your_api_key_here
# Required by: Statusline (optional feature)
# Purpose: Display workspace cost and usage in statusline
# Get key at: https://console.anthropic.com/ (Admin API access)
#ANTHROPIC_ADMIN_API_KEY=your_admin_api_key_here
# --- OpenAI API ---
# Required by: PAI transcription tools, Art skill (DALL-E)
# Purpose: Whisper transcription, DALL-E image generation (gpt-image-1 model)
# Get key at: https://platform.openai.com/api-keys
#OPENAI_API_KEY=sk-your_openai_key_here
# --- Google AI (Gemini) ---
# Required by: Art skill (Gemini image generation)
# Purpose: Generate images using Gemini models
# Get key at: https://makersuite.google.com/app/apikey
#GOOGLE_API_KEY=your_google_ai_key_here
# --- ElevenLabs TTS ---
# Required by: VoiceServer (HIGHLY RECOMMENDED)
# Purpose: Text-to-speech voice notifications and spoken responses
# Get key at: https://elevenlabs.io/
# Note: VoiceServer warns but continues if missing (silent mode)
#ELEVENLABS_API_KEY=your_elevenlabs_key_here
# Optional: Override default voice ID (normally set in settings.json)
#ELEVENLABS_VOICE_ID=your_voice_id_here
# --- Replicate API (Image Generation) ---
# Required by: Art skill (Flux 1.1 Pro, Nano Banana models)
# Purpose: Generate images using Flux, Nano Banana, Nano Banana Pro models
# Get key at: https://replicate.com/account/api-tokens
#REPLICATE_API_TOKEN=r8_your_replicate_token_here
# =============================================================================
# RESEARCH & DATA SERVICES
# =============================================================================
# --- Apify (Social Media Scraping) ---
# Required by: Apify skill
# Purpose: Scrape Twitter/X, Instagram, LinkedIn, TikTok, YouTube, Facebook, Google Maps, Amazon
# Get key at: https://console.apify.com/account/integrations
# Note: Both APIFY_TOKEN and APIFY_API_KEY are supported (interchangeable)
#APIFY_TOKEN=apify_api_your_token_here
#APIFY_API_KEY=apify_api_your_token_here
# --- ProjectDiscovery Chaos ---
# Required by: Recon skill (subdomain enumeration)
# Purpose: Access ProjectDiscovery Chaos subdomain dataset
# Get key at: https://chaos.projectdiscovery.io/
#PDCP_API_KEY=your_pdcp_key_here
# --- IPinfo ---
# Required by: Recon skill (IP geolocation)
# Purpose: IP geolocation, ASN lookup, network intelligence
# Get key at: https://ipinfo.io/account/token
# Note: Free tier available, degrades gracefully if missing
#IPINFO_API_KEY=your_ipinfo_token_here
# --- Federal Reserve Economic Data (FRED) ---
# Required by: USMetrics skill (required with EIA_API_KEY)
# Purpose: Access GDP, inflation, unemployment, and economic indicators
# Get key at: https://fred.stlouisfed.org/docs/api/api_key.html
#FRED_API_KEY=your_fred_api_key_here
# --- Energy Information Administration (EIA) ---
# Required by: USMetrics skill (required with FRED_API_KEY)
# Purpose: Energy data, gas prices, electricity statistics
# Get key at: https://www.eia.gov/opendata/register.php
#EIA_API_KEY=your_eia_api_key_here
# --- YouTube Data API ---
# Required by: PAI YouTube monitoring tools
# Purpose: Monitor YouTube channels, fetch video metadata
# Get key at: https://console.cloud.google.com/apis/credentials
#YOUTUBE_API_KEY=your_youtube_api_key_here
# Optional: Default channel ID to monitor (defaults to danielmiessler's channel)
#YOUTUBE_CHANNEL_ID=UCnCikd0s4i9KoDtaHPlK-JA
# --- ZenQuotes API ---
# Required by: Statusline (optional feature)
# Purpose: Display inspirational quotes in statusline
# Get key at: https://zenquotes.io/
#ZENQUOTES_API_KEY=your_zenquotes_key_here
# --- GitHub API ---
# Required by: PAIUpgrade skill
# Purpose: Check for PAI updates, access Anthropic GitHub repos with higher rate limits
# Get token at: https://github.com/settings/tokens
#GITHUB_TOKEN=ghp_your_github_token_here
# =============================================================================
# IMAGE & MEDIA SERVICES
# =============================================================================
# --- Remove.bg ---
# Required by: Art skill, PAI RemoveBg tool
# Purpose: Remove backgrounds from images
# Get key at: https://www.remove.bg/api
#REMOVEBG_API_KEY=your_removebg_key_here
# --- Discord Bot (Midjourney Integration) ---
# Required by: Art skill (Midjourney image generation)
# Purpose: Discord bot token for Midjourney integration
# Setup: Create Discord bot at https://discord.com/developers/applications
#DISCORD_BOT_TOKEN=your_discord_bot_token_here
# Required by: Art skill (Midjourney)
# Purpose: Discord channel ID where Midjourney bot is active
# Find: Right-click channel in Discord (Developer Mode enabled) → Copy ID
#MIDJOURNEY_CHANNEL_ID=your_channel_id_here
# Optional: Midjourney generation defaults
#MIDJOURNEY_DEFAULT_VERSION=6.1
#MIDJOURNEY_DEFAULT_STYLIZE=100
#MIDJOURNEY_DEFAULT_QUALITY=1
# =============================================================================
# NOTIFICATIONS
# =============================================================================
# --- Ntfy.sh Push Notifications ---
# Required by: PAI notification system (RECOMMENDED)
# Purpose: Push notifications for long tasks, background agents, errors
# Setup: Choose a unique topic name at https://ntfy.sh/
#NTFY_TOPIC=your_unique_topic_name_here
# --- Discord Webhook ---
# Required by: PAI notification system (errors, security alerts)
# Purpose: Send error and security notifications to Discord channel
# Setup: Server Settings → Integrations → Webhooks → New Webhook
#DISCORD_WEBHOOK=https://discord.com/api/webhooks/your/webhook/url
# --- Twilio SMS ---
# Required by: PAI notification system (SMS alerts)
# Purpose: Send SMS notifications for critical events
# Setup: Twilio account at https://www.twilio.com/
# Format: E.164 format (+1234567890)
#TWILIO_TO_NUMBER=+1234567890
# =============================================================================
# CLOUD & INFRASTRUCTURE
# =============================================================================
# --- Cloudflare Workers/Pages ---
# Required by: Cloudflare skill (deployment)
# Purpose: Deploy and manage Cloudflare Workers and Pages
# Get token at: https://dash.cloudflare.com/profile/api-tokens
# Permissions needed: Edit Workers
# Note: Both CLOUDFLARE_API_TOKEN_WORKERS_EDIT and CF_API_TOKEN are supported
#CLOUDFLARE_API_TOKEN_WORKERS_EDIT=your_cloudflare_token_here
#CF_API_TOKEN=your_cloudflare_token_here
# Required by: Cloudflare skill
# Purpose: Cloudflare account identifier
# Find: Cloudflare Dashboard → Account ID (right sidebar)
#CLOUDFLARE_ACCOUNT_ID=your_account_id_here
# Optional: Custom subdomain for worker URLs (defaults to 'workers')
#CF_ACCOUNT_SUBDOMAIN=your_subdomain
# =============================================================================
# OPTIONAL CONFIGURATION
# =============================================================================
# --- VoiceServer ---
# Optional: Override VoiceServer port (defaults to 8888)
#PORT=8888
# --- Browser Automation ---
# Optional: Configure browser automation behavior
#BROWSER_PORT=9222
#BROWSER_HEADLESS=false
#BROWSER_WIDTH=1920
#BROWSER_HEIGHT=1080
# Alternative headless flag (checked by Browse.ts)
#HEADLESS=false
# --- Miscellaneous ---
# Optional: Pipeline monitor URL (for PipelineOrchestrator tool)
#MONITOR_URL=http://localhost:8765
# Optional: Timezone override for hooks (defaults to America/Los_Angeles)
#TIME_ZONE=America/Chicago
#TZ=America/Chicago
# =============================================================================
# END OF TEMPLATE
# =============================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment