Agentenv cli
Validate required environment variables with the local `agentenv` CLI. Use when an agent workflow needs a startup check, deployment validation, or a machine-readable report of missing or empty variables.From its SKILL.md
npx -y skills add SebastianBoehler/agent-cli-utils --skill agentenv-cliAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.4 KB, 279 tokens by cl100k_base, as published. Nobody here has run it
AgentEnv CLI
Use agentenv to check environment prerequisites before running a model, sync task, or automation step.
Invoke the Tool
Prefer the installed binary when it exists:
agentenv OPENAI_API_KEY HOME
If working inside this repository or the binary is not installed, run:
go run ./cmd/agentenv -- OPENAI_API_KEY HOME
Choose Flags
- Pass variable names as positional arguments for simple checks.
- Use
-file required-env.txtto load names from a file. - Use
-allow-emptyonly when blank values are acceptable. - Use
-show-valuesonly when exposing raw values is safe. - Use
-format jsonor-format yamlfor automation. - Use
-format textfor human review.
Apply Good Defaults
- Keep
-strict=truefor CI, startup checks, and agent preflight. - Avoid
-show-valuesunless the environment is trusted and the output will not be logged. - Prefer JSON output when a caller will branch on missing keys.
Examples
Validate a known set:
go run ./cmd/agentenv -- OPENAI_API_KEY AGENT_HOME MODEL_NAME
Load from file:
go run ./cmd/agentenv -- -file required-env.txt -format json
What ships with it: 1 file
207 B alongside SKILL.md
agents/
- openai.yaml207 B