# output-credentials-env-vars

> Claude/Codex skill by [@growthxai](https://omgskills.com/library/growthxai/index.md) · 443 stars · Updated 2026-10-22

Wire encrypted credentials to environment variables using the credential: convention. Use when setting up LLM provider keys (ANTHROPIC\_API\_KEY, OPENAI\_API\_KEY) or any env var that should come from encrypted credentials.

Tags: agents, ai, ai-agents, ai-sdk, claude, claude-code, javascript, llm, nodejs, open-source, reliability, temporal, typescript, workflow-engine, workflows

## Install

```sh
git clone https://github.com/growthxai/output /tmp/output && ln -s /tmp/output/coding_assistants/claude/plugins/outputai/skills/output-credentials-env-vars ~/.claude/skills/output-credentials-env-vars
```

## From README

Credentials as Environment Variables When to Use This Skill Setting up ANTHROPICAPIKEY or OPENAIAPIKEY from encrypted credentials Wiring any credential path to a process.env variable automatically Migrating from plaintext .env secrets to encrypted credentials Understanding why an env var is being resolved at worker startup The credential: Convention Any env var whose value starts with credential: is resolved from encrypted credentials at worker startup. The format is: Example .env Encrypted credentials (config/credentials.yml.enc) How It Works When the worker starts, every env var set to credential: is replaced with the decrypted value at that path. By the time a workflow runs, ANTHROPICAPIKEY holds the real key and LLM SDKs read it as usual. Values come from the global credentials for the current environment: config/credentials/ .yml.enc when it exists, otherwise config/credentials.yml.enc.

## Links

- HTML page: https://omgskills.com/library/growthxai/output/coding_assistants/claude/plugins/outputai/skills/output-credentials-env-vars/
- GitHub: https://github.com/growthxai/output
- Author: [@growthxai](https://omgskills.com/library/growthxai/index.md)

## More from this repo

- [output-build-workflow](https://omgskills.com/library/growthxai/output/coding_assistants/claude/plugins/outputai/skills/output-build-workflow/index.md) — Implement an Output SDK workflow from a plan document.
   - [@growthxai](https://omgskills.com/library/growthxai/index.md) · 443 stars
- [output-credentials-edit](https://omgskills.com/library/growthxai/output/coding_assistants/claude/plugins/outputai/skills/output-credentials-edit/index.md) — View, edit, and set encrypted credentials in an Output.ai project.
   - [@growthxai](https://omgskills.com/library/growthxai/index.md) · 443 stars
- [output-credentials-init](https://omgskills.com/library/growthxai/output/coding_assistants/claude/plugins/outputai/skills/output-credentials-init/index.md) — Initialize encrypted credentials for an Output.ai project.
   - [@growthxai](https://omgskills.com/library/growthxai/index.md) · 443 stars
