← ClaudeAtlas

configuringlisted

Universal environment variable loader for AI agent environments. Loads secrets and config from Claude.ai, Claude Code, OpenAI Codex, Jules, and standard .env files.
oaustegard/claude-skills · ★ 124 · AI & Automation · score 84
Install: claude install-skill oaustegard/claude-skills
# Configuring Unified configuration management across AI coding environments. Load environment variables, secrets, and other opinionated configuration setups from any AI coding platform. ## Quick Start ```python import sys sys.path.insert(0, '/path/to/claude-skills') # or wherever skills are installed from configuring import get_env, detect_environment # Get a variable (searches all sources automatically) token = get_env("TURSO_TOKEN", required=True) # With default port = get_env("PORT", default="8080") # What environment are we in? env = detect_environment() # "claude.ai", "claude-code-desktop", "codex", "jules", etc. ``` ## Supported Environments | Environment | Config Sources | |-------------|----------------| | **Claude.ai Projects** | `/mnt/project/*.env`, `/mnt/project/*-token.txt` | | **Claude Code** | `~/.claude/settings.json` (`env` block), `.claude/settings.json` | | **OpenAI Codex** | `~/.codex/config.toml`, setup script → `~/.bashrc`, `shell_snapshots/*.sh` | | **Jules** | Environment settings UI, `.env` in repo | | **Universal** | `os.environ`, `.env`, `.env.local` | ## API Reference ```python # Core get_env(key, default=None, *, required=False, validator=None) -> str | None load_env(path) -> dict[str, str] # Load specific file load_all(force_reload=False) -> dict # Load all sources # Utilities detect_environment() -> str # Current platform mask_secret(value, show_chars=4) -> str # Safe logging debug_info() -> dict