cloak-env-protection - Protect .env secrets from AI agents
Cloak encrypts real .env values into a vault and replaces them on disk with structurally valid sandbox values.
Tags
Updated: 2026-09-15Capabilities
What this skill does
- Check Cloak protection status
- Run commands with real secrets
- Add or update secrets
- Edit secrets in EDITOR
- View secret diffs
- Temporarily reveal secret keys
- Initialize Cloak protection
- Recover lost keychain
- Remove Cloak protection
Inputs
- .cloak file
- .env files
- Environment variable keys and values
- CLI commands
- Recovery key
Outputs
- Sandbox .env files on disk
- Encrypted vault entries
- Process output with real env vars
- Cloak status reports
Requirements
- Cloak CLI installed
- Developer authentication (Touch ID or password)
- macOS, Linux, or Windows environment
