skills$openclaw/env-sync
lxgicstudios7.7k

by lxgicstudios

env-sync – OpenClaw Skill

env-sync is an OpenClaw Skills integration for coding workflows. Generate .env.example from your .env files. Use when onboarding developers.

7.7k stars9.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameenv-sync
descriptionGenerate .env.example from your .env files. Use when onboarding developers. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/env-sync
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/env-sync
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains env-sync in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
cli.ts
869 B
index.ts
1.1 KB
_meta.json
287 B
package-lock.json
30.2 KB
package.json
578 B
README.md
329 B
SKILL.md
1.9 KB
tsconfig.json
251 B
SKILL.md

name: env-sync description: Generate .env.example from your .env files. Use when onboarding developers.

Env Sync

Your .env has 30 variables and nobody knows what half of them do. This tool creates a properly documented .env.example with secrets stripped out.

One command. Zero config. Just works.

Quick Start

npx ai-env-sync

What It Does

  • Reads all your .env files (.env, .env.local, .env.development)
  • Strips secret values but keeps the keys
  • Adds helpful comments explaining each variable
  • Generates a clean .env.example

Usage Examples

# Generate .env.example
npx ai-env-sync

# Specify project directory
npx ai-env-sync ./my-project

Best Practices

  • Run before committing - keep .env.example in sync
  • Add to CI - verify .env.example matches .env structure
  • Group related vars - makes it easier to configure
  • Document required vs optional - not everything needs a value

When to Use This

  • Onboarding new team members
  • Setting up CI/CD environments
  • Documenting environment requirements
  • Keeping .env.example up to date

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.

npx ai-env-sync --help

How It Works

Reads your .env files, identifies the variables, and uses GPT-4o-mini to generate helpful descriptions for each one. Sensitive values are replaced with placeholder text like "your_api_key_here".

License

MIT. Free forever. Use it however you want.

README.md

ai-env-sync

Generate .env.example from your .env files. Strips secrets, adds helpful comments.

Install

npm install -g ai-env-sync

Usage

npx ai-env-sync
# Reads .env, .env.local, etc. and generates .env.example

npx ai-env-sync ./my-project

Setup

export OPENAI_API_KEY=sk-...

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable. ```bash npx ai-env-sync --help ```

FAQ

How do I install env-sync?

Run openclaw add @lxgicstudios/env-sync in your terminal. This installs env-sync into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/env-sync. Review commits and README documentation before installing.