AI Agent Env Manager
Use this skill for safe environment setup.
Quickstart
- Check expected keys in
.env.example. - Prefer
uv run python tools/credential_manager.py store <KEY>over editing secrets into markdown. - Use
uv run python tools/credential_manager.py statusto verify setup without printing values.
Primary Files
.env.exampletools/credential_manager.pydocs/codex-safety.md
Workflow
- Check whether the user wants plain
.envmanagement or OS credential storage. - Prefer
uv run python tools/credential_manager.py store <KEY>when possible. - If
.envis required, limit guidance to key names and file locations. - Verify setup with
uv run python tools/credential_manager.py statusor masked file checks.
Safety
- Never echo raw secret values.
- Remind the user that
.envis local-only and must stay out of git. - If a lesson depends on a missing key, tell the user which key name is required.