render-env-vars
Configures environment variables, secrets, and env groups on Render. Use when the user needs to set env vars, wire secrets between services, create env…
от fanfan-de★ 55 звёзд на GitHub
Установить render-env-vars в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Environment Variables on Render
Render exposes configuration to services as environment variables. Values are always strings at the platform layer—applications must parse numbers, booleans, and structured data explicitly.
There are three primary ways to set variables:
- Render Dashboard — per-service UI, bulk import from
.env, save/redeploy options - Blueprint —
envVars(and related keys) inrender.yaml - MCP / API — e.g.
update_environment_variableson a service
Deep wiring patterns, full platform variable tables, and language-specific notes live under references/.
When to Use This Skill
Use this skill when users want to:
- Add, change, or remove environment variables or secrets
- Understand Dashboard vs Blueprint vs API/MCP flows
- Use environment groups for shared configuration
- Wire
fromDatabase,fromService,fromGroup,sync: false, orgenerateValuein Blueprints - Debug missing vars, secret files, precedence, or platform-injected names
For full Blueprint authoring, pair with render-blueprints. For first-time deploys, render-deploy. For web service behavior and ports, render-web-services.
Setting Variables
Dashboard
- Add variables individually (name + value) or in bulk by pasting/uploading a
.env-style file. - Save options typically include:
- Save and rebuild & deploy — picks up build-time changes
- Deploy only — runtime change without a full rebuild (when applicable)
- Save only — persist without triggering a deploy
Use Dashboard edits when iterating quickly or when the repo should not carry certain values.
Blueprint (render.yaml)
Declare envVars on each service. Values can be literals, generated secrets, sync-disabled prompts, or references to databases, other services, or env groups. See Blueprint Wiring below and references/wiring-reference.md for exhaustive patterns and YAML.
MCP / API
Automation tools can set variables on existing services (e.g. update_environment_variables). Useful for CI, rotation, or keeping Dashboard state in sync with external secret stores—without committing secrets to Git.
Secret Management
sync: false— Render prompts in the Dashboard for the value only on initial Blueprint setup when the resource is first created. On Blueprint updates,sync: falseis ignored (values are not re-prompted from the file alone). These vars are excluded from preview environments and are invalid inside environment groups.generateValue: true— Render generates a base64-encoded 256-bit random value at provision time. Use for passwords, signing keys, or tokens that do not need human-chosen values.- Never commit real secrets in
render.yamlas plainvalue:entries. Prefer Dashboard, secret manager integration,generateValue, orsync: falsewith Dashboard entry.
Secret files
- Store sensitive file content as secret files (not inline env strings). They appear as plaintext files under
/etc/secrets/<filename>. - Combined limit: 1 MB total secret file payload per service or per linked env group (as applicable to your setup).
- Docker: secret files are available under
/etc/secrets/on the running instance.
Environment Groups
Environment groups are named collections of variables linked to multiple services.
- Precedence: Service-level variables override variables from linked groups with the same name.
- Multiple groups on one service: the group that was most recently created wins for overlapping keys. This ordering is not documented as stable—avoid relying on it; use distinct names or consolidate groups.
- Groups can be scoped to a project environment so staging and production differ without duplicating every service definition.
Blueprint Wiring (Summary)
Full syntax, examples, and edge cases: references/wiring-reference.md. Authoritative Blueprint docs: render-blueprints skill.
| Mechanism | Role |
|---|---|
value |
Hardcoded string (non-secret config only) |
generateValue: true |
Platform-generated secret |
sync: false |
Dashboard prompt on initial create only |
fromDatabase |
Inject DB fields (connectionString, host, port, user, password, database) |
fromService |
Key Value: type: keyvalue + properties; private/web: host, hostport, or envVarKey |
fromGroup |
Link all vars from a named group |
Platform-Injected Variables
Render sets read-only variables your app can read at runtime (and some at build). A concise list:
| Variable | Typical meaning |
|---|---|
RENDER |
"true" when running on Render |
RENDER_SERVICE_TYPE |
Service kind (e.g. web, worker) |
RENDER_SERVICE_ID |
Service identifier |
RENDER_SERVICE_NAME |
Human-readable service name |
RENDER_INSTANCE_ID |
Current instance |
| `RENDER_EXTERNAL_ |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/platform-variables.md
- references/wiring-reference.md
FAQ
Что делает скилл render-env-vars?
Configures environment variables, secrets, and env groups on Render. Use when the user needs to set env vars, wire secrets between services, create env groups, use generateValue, set sync: false, or troubleshoot missing or incorrect environment variable values in Blueprints or the Dashboard.
Как установить скилл render-env-vars?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл render-env-vars запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…