Gw Env Sync — Development skill for Claude Code
Sync .env files from root to all worktrees.
How to install Gw Env Sync
Installs to ~/.claude/skills/o-gi-claude-code-commands-gw-env-sync/SKILL.md
mkdir -p ~/.claude/skills/o-gi-claude-code-commands-gw-env-sync && curl -fsSL https://raw.githubusercontent.com/o-gi/claude-code-commands/HEAD/commands/gw-env-sync.md -o ~/.claude/skills/o-gi-claude-code-commands-gw-env-sync/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Gw Env Sync does
Sync .env files from root to all worktrees.
Purpose
Synchronize all .env* files from the root directory (and monorepo app directories) to worktrees using symbolic links. This ensures consistent environment variables across all parallel development environments.
Usage
# Sync to all worktrees
/user:gw-env-sync
# Sync to specific worktree only
/user:gw-env-sync issue-42
# List current .env files and their link status
/user:gw-env-sync --status
Workflow
0. Display se
Alternatives in Development
- Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
- Worktree Cleanup — Remove worktrees and branches that have been merged: $ARGUMENTS 23.4k ★
- 05 Env And Auth — Prompt 05: Environment Configuration & API Authentication 2.3k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Debug Blitz
Parallel debug assault — fires debug-detective + silent-failure-hunter + env-debugger simultaneously. Three ro
Workz
The environment engine for agent worktrees - zero-config dep sync + port/DB/compose isolation
Env
Manage Vercel environment variables. Commands include list, pull, add, remove, and diff. Use to sync environme
Firebase Token
Sync (or rotate) the shared Firebase App Check debug token. Source of truth is the team "Convos" 1Password vau
Repo Sync Agents
Apply .agents/skills/sync-agents/SKILL.md: run powershell -File scripts/sync-agents.ps1 (Windows) or ./scripts
Meta Sync Template
Propagate the reference (.template) vault's plugins, snippets, and root docs to one or more configured vaults.
Related Agents
Cacador Config Infra
Caçador do domínio de configuração e infraestrutura na auditoria NIST — Dockerfile como root, imagem base sem
MCP Owner
Owns mcp/ — the live MCP brain over stdio and the ai-os CLI. Use for work on the server, the Vault door, the t
Purpose
You are a git worktree creation specialist. Your sole responsibility is to create a properly configured worktr