render-private-services — скилл для Claude Code: приватные сервисы
Скилл помогает агенту настроить приватный сервис на Render: внутренний API, gRPC-сервер или микросервис без публичного URL.
npx skills add render-oss/skills --skill render-private-services -a claude-codeЧто делает render-private-services
Скилл объясняет агенту, как устроены private services на Render. Это приложения без публичного адреса: трафик к ним идёт только от других сервисов в том же регионе и воркспейсе по приватной сети. Внутри — инструкции по Blueprint-конфигурации, привязке портов и подключению через fromService.
Агент разберёт, чем приватный сервис отличается от background worker. Если процесс слушает порт и его вызывают другие сервисы — это private service. Если он только забирает задачи из очереди — worker. Скилл также подскажет, как связать gateway с внутренними сервисами через hostport.
Приватные сервисы доступны на платных планах Render. Процесс должен слушать 0.0.0.0, а не 127.0.0.1. Сервис с подключённым диском остаётся одноинстансным: автомасштабирование и деплой без простоя для него недоступны. Это повод проверить конфигурацию заранее, если вы рассчитывали на масштабирование.
Какие задачи решает
- поднять внутренний API, недоступный из интернета
- связать gateway с микросервисами по приватной сети
- развернуть gRPC-сервер, который вызывают только свои сервисы
- выбрать между приватным сервисом и background worker
- описать приватный сервис в
render.yamlчерезfromService
Примеры запросов агенту
- Настрой приватный сервис Render для внутреннего API на Node, чтобы его видел только gateway
- Помоги описать в
render.yamlприватный gRPC-сервер и передать его адрес в переменную окружения - У меня процесс слушает порт и его дёргают другие сервисы — это private service или background worker?
Как установить render-private-services
1Через Skills CLI (Vercel)
npx skills add render-oss/skills --skill render-private-services -a claude-code2Вручную: положить файлы
~/.claude/skills/render-private-services/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/render-private-services/
1Через Skills CLI (Vercel)
npx skills add render-oss/skills --skill render-private-services -a codex2Вручную: положить файлы
.agents/skills/render-private-services/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add render-oss/skills --skill render-private-services -a cursor2Вручную: положить файлы
.cursor/skills/render-private-services/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install render-oss/skills render-private-services2Вручную: положить файлы
.github/skills/render-private-services/SKILL.md1Через Skills CLI (Vercel)
npx skills add render-oss/skills --skill render-private-services -a gemini-cli2Командой платформы
gemini skills install https://github.com/render-oss/skills --path skills/render-private-servicesВручную: положить файлы
.devin/skills/render-private-services/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add render-oss/skills --skill render-private-services -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о render-private-services
Как установить render-private-services в Claude?
Выполните npx skills add render-oss/skills --skill render-private-services -a claude-code. Скилл появится в ~/.claude/skills/render-private-services/SKILL.md.
Что делает render-private-services?
Помогает агенту настроить приватный сервис Render: внутренний API, микросервис, gRPC-сервер или sidecar без публичного URL. Также подсказывает, когда вместо него нужен background worker.
Что нужно для работы приватного сервиса на Render?
Платный план и привязка хотя бы к одному порту на 0.0.0.0. Обращаться к сервису можно по внутреннему имени вида <service-name>:<port> из того же региона и воркспейса.
Исходный текст
SKILL.md · MIT
---
name: render-private-services
description: >-
Configures Render private services—internal-only apps that accept traffic
exclusively from other Render services over the private network. Use when
the user needs an internal API, microservice, gRPC server, sidecar, or any
service that should not be publicly accessible. Also use when choosing
between a private service and a background worker.
Trigger terms: private service, pserv, internal service, internal API,
microservice, gRPC, not public, private network service.
license: MIT
compatibility: Render private services (paid plans)
metadata:
author: Render
version: "1.0.0"
category: compute
---
# Render Private Services
Private services are identical to web services except they have **no public URL**. They are reachable only by other Render services on the same **private network** (same region + workspace). Use them for internal APIs, microservices, gRPC servers, sidecar processes, and anything that should never face the internet.
## When to Use
- Building an **internal API** or **microservice** behind a public gateway
- Running a **gRPC**, **TCP**, or other non-HTTP server that only your services call
- Deploying infrastructure components (**Elasticsearch**, **ClickHouse**, **RabbitMQ**)
- Choosing between a **private service** and a **background worker**
For public-facing HTTP services, use **render-web-services**. For services that don't receive any traffic, use **render-background-workers**.
Before configuring or troubleshooting private connectivity, read `references/private-networking.md`.
Before attaching or changing a persistent disk, read `references/persistent-disks.md`.
When choosing between a private service, web service, and worker, read `references/service-types.md`.
## Private Service vs Background Worker
| Criterion | Private Service | Background Worker |
|-----------|----------------|-------------------|
| Binds to a port | **Yes** (required) | No |
| Receives private network traffic | **Yes** | No |
| Sends outbound traffic | Yes | Yes |
| Has internal hostname | **Yes** | No |
| Use case | Internal APIs, gRPC, TCP servers | Queue consumers, async processors |
**Rule of thumb:** If the process **listens on a port** and other services call it, it's a private service. If it **pulls work from a queue** and never receives requests, it's a background worker.
## How Private Services Work
- No `onrender.com` subdomain—not reachable from the internet
- Reachable at `<service-name>:<port>` on the private network by services in the same region and workspace
- Can listen on **any port** (except restricted system ports)—not limited to HTTP or port 10000
- Supports **any protocol**: HTTP, gRPC, TCP, WebSocket, custom binary protocols
- Same build/deploy lifecycle as web services (build command, start command, pre-deploy)
- Supports persistent disks and Docker runtime. A disk-backed private service stays **single-instance** and cannot use autoscaling or zero-downtime deploys; follow `references/persistent-disks.md` for details.
## Connecting to a Private Service
Other services reference a private service via its **internal hostname and port**:
```
http://<service-name>:<port>
```
In Blueprints, wire the address using `fromService`:
```yaml
- key: INTERNAL_API_URL
fromService:
name: my-api
type: pserv
property: hostport
```
Available `fromService` properties for `pserv`:
| Property | Value |
|----------|-------|
| `host` | Internal hostname (e.g. `my-api`) |
| `port` | Port the service listens on |
| `hostport` | `host:port` combined (e.g. `my-api:10000`) |
You can also reference a specific env var from the private service using `envVarKey` instead of `property`.
## Port Binding
Private services **must bind to at least one port**. If your process does not need to receive traffic, create a background worker instead.
- Bind to `0.0.0.0` (not `127.0.0.1` or `localhost`)
- The `PORT` env var defaults to `10000`; confirm current restrictions in `references/private-networking.md` before choosing another port
- For non-HTTP protocols (gRPC, TCP), configure your server on the desired port and tell consumers the `hostport`
## Blueprint Configuration
```yaml
services:
- type: pserv
name: internal-api
runtime: node
region: oregon
plan: starter
buildCommand: npm ci && npm run build
startCommand: npm start
envVars:
- key: DATABASE_URL
fromDatabase:
name: db
property: connectionString
```
### Microservices pattern (gateway + internal services)
```yaml
services:
- type: web
name: gateway
runtime: node
plan: starter
region: oregon
buildCommand: npm ci && npm run build
startCommand: npm start
envVars:
- key: USER_SERVICE_URL
fromService:
name: user-service
type: pserv
property: hostport
- key: BILLING_SERVICE_URL
fromService:
name: billing-service
type: pserv
property: hostport
- type: pserv
name: user-service
runtime: node
plan: starter
region: oregon
buildCommand: npm ci
startCommand: node server.js
envVars:
- key: DATABASE_URL
fromDatabase:
name: db
property: connectionString
- type: pserv
name: billing-service
runtime: python
plan: starter
region: oregon
buildCommand: pip install -r requirements.txt
startCommand: gunicorn billing:app
envVars:
- key: DATABASE_URL
fromDatabase:
name: db
property: connectionString
```
## References
| Document | Contents |
|----------|----------|
| `references/private-networking.md` | Current private-network scope, addresses, ports, discovery, isolation, and troubleshooting |
| `references/patterns.md` | Microservice topology, gRPC setup, and sidecar patterns |
| `references/persistent-disks.md` | Service-attached disk constraints, configuration, sizing, and snapshots |
| `references/service-types.md` | Service-type selection and execution models |
## Related Skills
- **render-web-services** — Public HTTP services
- **render-networking** — Private network, DNS, service discovery
- **render-background-workers** — Services that don't receive traffic
- **render-blueprints** — Full `render.yaml` schema, `fromService` wiring
- **render-scaling** — Compute plans and autoscaling for private services
<!-- shared:documentation-retrieval -->
## Current documentation retrieval
Whenever this skill directs you to consult current Render documentation:
1. Retrieve the linked Markdown document directly with an available URL-fetching tool or HTTP client, such as `curl`. Do not substitute web-search summaries for the document.
2. Confirm that retrieval succeeded and returned the expected document, then read its contents. Saving a file or printing its path is not sufficient.
3. If the request fails or your tool cannot read the Markdown response, open and read the linked HTML version instead.
4. If neither version can be retrieved, disclose that the current reference is unavailable and follow any topic-specific fallback in the skill. Use bundled guidance only for stable constraints, and do not guess at changeable platform details.
When a task requires multiple references, apply this workflow to each one and distinguish the documents you verified from those that remain unavailable.
<!-- /shared:documentation-retrieval -->
© Render · MIT · render-oss/skills