Render Skill
Deploy and manage applications on Render using Blueprints (render.yaml), the Dashboard, or the API. This skill mirrors the Codex render-deploy flow: analyze codebase β generate/validate Blueprint β commit & push β one-click Dashboard deeplink β optional API/mcporter verify or re-deploy.
When to Use This Skill
Activate when the user wants to:
- Deploy, host, or publish an application on Render
- Create or edit a
render.yamlBlueprint (new or existing repo) - Add web, static site, private, worker, or cron services; Postgres; or Key Value
- Configure env vars, health checks, scaling, disks, or regions
- Set up preview environments or projects
- Validate a Blueprint or get Dashboard/API links
Deployment Method Selection
- If
RENDER_API_KEYis set β Prefer REST API or MCP (fastest; no user click). Usereferences/rest-api-deployment.mdfor request bodies, or mcporter if configured (seereferences/mcp-integration.md). - If no API key β Use Blueprint + deeplink (user commits, pushes, then clicks the deeplink to deploy).
Check for API key:
[ -n "$RENDER_API_KEY" ] && echo "RENDER_API_KEY is set" || echo "RENDER_API_KEY is not set"
Happy Path (New Users)
Before deep analysis, use this short sequence to reduce friction:
- Ask whether they want to deploy from a Git repo (required for Blueprint and deeplink) or only get guidance. If no Git remote, they must create/push one first.
- Ask whether the app needs a database, workers, cron, or other services so you can choose the right Blueprint shape.
Then follow Deploy to Render below (Blueprint β push β deeplink β verify).
Prerequisites Check
- Git remote β Required for Blueprint deploy. Run
git remote -v; if none, ask the user to create a repo on GitHub/GitLab/Bitbucket, addorigin, and push. - Render CLI (optional) β For local validation:
render blueprints validate render.yaml. Install:brew install renderor Render CLI. - API key (optional) β For verifying deploys or triggering re-deploys: Dashboard β API Keys. Set
RENDER_API_KEYin the environment.
Security Notes
- Never commit secrets to render.yaml β always use
sync: falsefor API keys, passwords, and tokens; the user fills them in the Dashboard. - Validate before suggesting deployment β run
render blueprints validate render.yamlor use the Validate Blueprint API so invalid YAML is never pushed. - Validate user-provided values β when writing env vars or service names from user input into YAML, sanitize or quote as needed to avoid injection.
References
references/codebase-analysis.md(detect runtime, build/start commands, env vars)references/blueprint-spec.md(root keys, service types, env vars, validation)references/rest-api-deployment.md(direct API create service: ownerId, request bodies, type mapping)references/mcp-integration.md(Render MCP tools, mcporter usage, supported runtimes/plans/regions)references/post-deploy-checks.md(verify deploy status and health via API)references/troubleshooting-basics.md(build/startup/runtime failures)assets/(example Blueprints: node-express.yaml, python-web.yaml, static-site.yaml, web-with-postgres.yaml)
Blueprint Basics
- File:
render.yamlat the root of the Git repository (required). - Root-level keys (official spec):
services,databases,envVarGroups,projects,ungrouped,previews.generation,previews.expireAfterDays. - Spec: Blueprint YAML Reference. JSON Schema for IDE validation: https://render.com/schema/render.yaml.json (e.g. YAML extension by Red Hat in VS Code/Cursor).
Validation: render blueprints validate render.yaml (Render CLI v2.7.0+), or the Validate Blueprint API endpoint.
Service Types
| type | Purpose |
|---|---|
web |
Public HTTP app or static site (use runtime: static for static) |
pserv |
Private service (internal hostname only, no public URL) |
worker |
Background worker (runs continuously, e.g. job queues) |
cron |
Scheduled job (cron expression; runs and exits) |
keyvalue |
Render Key Value instance (Redis/Valkey-compatible; defined in services) |
Note: Private services use pserv, not private. Key Value is a service with type: keyvalue; do not use a separate root key for it in new Blueprints (some older blueprints use keyValueStores and fromKeyValueStoreβprefer the official format).
Runtimes
Use runtime (preferred; env is deprecated): node, python, elixir, go, ruby, rust, docker, image, static. For static sites: type: web, runtime: static, and staticPublishPath (e.g. ./build or ./dist) required.
Minimal Web Service
services:
- type: web
name: my-app
runtime: node
buildCommand: npm install
startCommand: npm start
envVars:
- key: NODE_ENV
value: production
Python example: runtime: python, buildCommand: pip install -r requirements.txt, startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT (or gunicorn). Set PYTHON_VERSION / NODE_VERSION in envVars when needed.
Static Site
- type: web
name: my-blog
runtime: static
buildCommand: yarn build
staticPublishPath: ./build
Optional: headers, routes (redirects/rewrites). See Static Sites.
Environment Variables
- Literal:
key+value(never hardcode secrets). - From Postgres:
fromDatabase.name+fromDatabase.property(e.g.connectionString). - From Key Value or other service:
fromService.type+fromService.name+fromService.property(e.g.connectionString,host,port,hostport) orfromService.envVarKeyfor another serviceβs env var. - Secret / user-set:
sync: false(user is prompted in Dashboard on first create; add new secrets manually later). Cannot be used inside env var groups. - Generated:
generateValue: true(base64 256-bit value). - Shared:
fromGroup: <envVarGroups[].name>to attach an env var group.
Env groups cannot reference other services (no fromDatabase/fromService in groups) and cannot use sync: false. Put secrets and DB/KV references in service-level envVars, or reference a group and add service-specific vars alongside.
Databases (Render Postgres)
databases:
- name: my-db
plan: basic-256mb
databaseName: my_app
user: my_user
region: oregon
postgresMajorVersion: "18"
Plans (current): free, basic-256mb, basic-1gb, basic-4gb, pro-*, accelerated-*. Legacy: starter, standard, pro, pro plus (no new DBs on legacy). Optional: diskSizeGB, ipAllowList, readReplicas, highAvailability.enabled. Reference in services: fromDatabase.name, property: connectionString.
Key Value (Redis/Valkey)
Key Value instances are services with type: keyvalue (or deprecated redis). ipAllowList is required: use [] for internal-only, or - source: 0.0.0.0/0 to allow external.
services:
- type: keyvalue
name: my-cache
ipAllowList:
- source: 0.0.0.0/0
description: everywhere
plan: free
maxmemoryPolicy: allkeys-lru
Reference in another service: fromService.type: keyvalue, fromService.name: my-cache, property: connectionString. Policies: allkeys-lru (caching), noeviction (job queues), etc. See Key Value.
Note: Some repos use root-level keyValueStores and fromKeyValueStore; the official spec uses services + fromService. Prefer the official form for new Blueprints.
Cron Jobs
- type: cron
name: my-cron
runtime: python
schedule: "0 * * * *"
buildCommand: "true"
startCommand: python scripts/daily.py
envVars: []
schedule is a cron expression (minute hour day month weekday). buildCommand is required (use "true" if no build). Free plan not available for cron/worker/pserv.
Env Var Groups
Share vars across services. No fromDatabase/fromService/sync: false inside groupsβonly literal values or generateValue: true.
envVarGroups:
- name: app-env
envVars:
- key: CONCURRENCY
value: "2"
- key: APP_SECRET
generateValue: true
services:
- type: web
name: api
envVars:
- fromGroup: app-env
- key: DATABASE_URL
fromDatabase:
name: my-db
property: connectionString
Health Check, Region, Pre-deploy
- Web only:
healthCheckPath: /healthfor zero-downtime deploys. - Region:
region: oregon(default),ohio,virginia,frankfurt,singapore(set at create; cannot change later). - Pre-deploy:
preDeployCommandruns after build, before start (e.g. migrations).
Scaling
- Manual:
numInstances: 2. - Autoscaling (Professional workspace):
scaling.minInstances,scaling.maxInstances,scaling.targetCPUPercentorscaling.targetMemoryPercent. Not available with persistent disks.
Disks, Monorepos, Docker
- Persistent disk:
disk.name,disk.mountPath,disk.sizeGB(web, pserv, worker). - Monorepo:
rootDir,buildFilter.paths/buildFilter.ignoredPaths,dockerfilePath/dockerContext. - Docker:
runtime: docker(build from Dockerfile) orruntime: image(pull from registry). UsedockerCommandinstead ofstartCommandwhen needed.
Preview Environments & Projects
- Preview environments: Root-level
previews.generation: off | manual | automatic, optionalpreviews.expireAfterDays. Per-servicepreviews.generation,previews.numInstances,previews.plan. - Projects/environments: Root-level
projectswithenvironments(each listsservices,databases,envVarGroups). Use for staging/production. Optionalungroupedfor resources not in any environment.
Common Deployment Patterns
Full stack (web + Postgres + Key Value)
Web service with fromDatabase for Postgres and fromService for Key Value. Add one databases entry and one type: keyvalue service; reference both from the web service envVars. See assets/web-with-postgres.yaml for Postgres; add a keyvalue service and fromService for Redis URL.
Microservices (API + worker + cron)
Multiple services in one Blueprint: type: web for the API, type: worker for a background processor, type: cron for scheduled jobs. Share envVarGroups or repeat env vars; use fromDatabase/fromService for shared DB/Redis. All use the same branch and buildCommand/startCommand as appropriate per runtime.
Preview environments for PRs
Set root-level previews.generation: automatic (or manual). Optionally previews.expireAfterDays: 7. Each PR gets a preview URL; per-service overrides with previews.generation, previews.numInstances, or previews.plan when needed.
Plans (Services)
plan: free | starter | standard | pro | pro plus (and for web/pserv/worker: pro max, pro ultra). Omit to keep existing or default to starter for new. Free not available for pserv, worker, cron.
Dashboard & API
- Dashboard: https://dashboard.render.com β New β Blueprint, connect repo, select
render.yaml. - Key Value: https://dashboard.render.com/new/redis
API Access
To use the Render API from the agent (verify deploys, trigger deploys, list services/logs):
- Get an API key: Dashboard β Account Settings β API Keys.
- Store as env var: Set
RENDER_API_KEYin the environment (e.g.skills.entries.render.envor process env). - Authentication: Use Bearer token:
Authorization: Bearer $RENDER_API_KEYon all requests. - API docs: https://api-docs.render.com β services, deploys, logs, validate Blueprint, etc.
Deploy to Render (same flow as Codex render-deploy skill)
Goal: get the app deployed by generating a Blueprint, then one-click via Dashboard deeplink; optionally trigger or verify via API when the user has RENDER_API_KEY.
Step 1: Analyze codebase and create render.yaml
- Use
references/codebase-analysis.mdto determine runtime, build/start commands, env vars, and datastores. - Add or update
render.yamlat repo root (see Blueprint sections above andreferences/blueprint-spec.md). Usesync: falsefor secrets. Seeassets/for examples. - Validate before asking the user to push:
- CLI:
render blueprints validate render.yaml(install:brew install renderor Render CLI install). - Or API: POST to Validate Blueprint with the YAML body.
- CLI:
- Fix any validation errors before proceeding.
Step 2: Commit and push (required)
Render reads the Blueprint from the Git remote. The file must be committed and pushed.
git add render.yaml
git commit -m "Add Render deployment configuration"
git push origin main
If there is no Git remote, stop and ask the user to create a repo on GitHub/GitLab/Bitbucket, add it as origin, and push. Without a pushed repo, the Dashboard deeplink will not work.
Step 3: Dashboard deeplink (one-click deploy)
Get the repo URL and build the Blueprint deeplink:
git remote get-url origin
If the URL is SSH, convert to HTTPS (Render needs HTTPS for the deeplink):
| SSH | HTTPS |
|---|---|
git@github.com:user/repo.git |
https://github.com/user/repo |
git@gitlab.com:user/repo.git |
https://gitlab.com/user/repo |
git@bitbucket.org:user/repo.git |
https://bitbucket.org/user/repo |
Pattern: replace git@<host>: with https://<host>/, remove .git suffix.
Deeplink format:
https://dashboard.render.com/blueprint/new?repo=<REPO_HTTPS_URL>
Example: https://dashboard.render.com/blueprint/new?repo=https://github.com/username/my-app
Give the user this checklist:
- Confirm
render.yamlis in the repo at the root (they just pushed it). - Click the deeplink to open Render Dashboard.
- Complete Git provider OAuth if prompted.
- Name the Blueprint (or accept default).
- Fill in secret env vars (those with
sync: false). - Review services/databases, then click Apply to deploy.
Deployment starts automatically. User can monitor in the Dashboard.
Step 4: Verify deployment (optional, needs API key)
If the user has set RENDER_API_KEY (e.g. in skills.entries.render.env or process env), the agent can verify after the user has applied the Blueprint:
- List services:
GET https://api.render.com/v1/servicesβ Header:Authorization: Bearer $RENDER_API_KEY. Find the service by name. - List deploys:
GET https://api.render.com/v1/services/{serviceId}/deploys?limit=1β Check forstatus: "live"to confirm success. - Logs (if needed): Render API or Dashboard β service β Logs.
Example (exec tool or curl):
curl -s -H "Authorization: Bearer $RENDER_API_KEY" "https://api.render.com/v1/services" | head -100
curl -s -H "Authorization: Bearer $RENDER_API_KEY" "https://api.render.com/v1/services/{serviceId}/deploys?limit=1"
For a short checklist and common fixes, use references/post-deploy-checks.md and references/troubleshooting-basics.md.
Triggering deploys (re-deploy without push)
- After repo is connected: Pushes to the linked branch trigger automatic deploys when auto-deploy is on.
- Trigger via API: With
RENDER_API_KEY, trigger a new deploy:- POST
https://api.render.com/v1/services/{serviceId}/deploys - Header:
Authorization: Bearer $RENDER_API_KEY - Optional body:
{ "clearCache": "do_not_clear" }or"clear"
- POST
- Deploy hook (no API key): Dashboard β service β Settings β Deploy Hook. User can set that URL as an env var (e.g.
RENDER_DEPLOY_HOOK_URL); then the agent can runcurl -X POST "$RENDER_DEPLOY_HOOK_URL"to trigger a deploy.
So: OpenClaw can deploy by (1) creating render.yaml, (2) having the user push and click the Blueprint deeplink (one-click), and optionally (3) triggering or verifying deploys via API or deploy hook when credentials are available.
Render from OpenClaw (no native MCP)
OpenClaw does not load MCP servers from config. Use one of:
Option A: REST API (recommended when API key is set)
Use RENDER_API_KEY and the Render REST API (curl/exec): create services, list services, trigger deploys, list deploys, list logs. Request bodies and endpoints: references/rest-api-deployment.md.
Option B: MCP via mcporter (if installed)
If the user has mcporter and Render configured (URL https://mcp.render.com/mcp, Bearer $RENDER_API_KEY), the agent can call Render MCP tools directly. Tool list and example commands: references/mcp-integration.md.
Example:
mcporter call render.list_services
mcporter call render.create_web_service name=my-api runtime=node buildCommand="npm ci" startCommand="npm start" repo=https://github.com/user/repo branch=main plan=free
Workspace must be set first (e.g. user: βSet my Render workspace to MyTeamβ). Use mcporter list render --schema to see current tools and parameters.
Checklist for New Deploys
- Add or update
render.yamlwithservices(and optionallydatabases,envVarGroups,projects). Useruntimeand official Key Value form (type: keyvaluein services,fromServicefor references). - Use
sync: falsefor secrets in service envVars only; tell user to set them in Dashboard. Never put secrets in env groups. - For Key Value, set
ipAllowList(required). - Validate:
render blueprints validate render.yamlor API. - User must commit and push, then use the Blueprint deeplink (
https://dashboard.render.com/blueprint/new?repo=<HTTPS_REPO_URL>) to deploy. Optionally verify or re-deploy via API ifRENDER_API_KEYis set.
Rules
- Prefer Blueprint for full app definition; suggest Dashboard/API only when Blueprint cannot express something.
- Never commit real API keys or secrets; use
sync: falseand document which env vars the user must set. - Use
runtime(not deprecatedenv). For Python/Node setPYTHON_VERSION/NODE_VERSIONin envVars when required. - When referencing Key Value or other services, use
fromServicewith correcttype(e.g.keyvalue,pserv).