environment — community environment, cobuilder-harness, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0

Об этом навыке

Идеально для агентов ИИ, которым требуется централизованное управление конфигурациями для оркестровки нескольких агентов с помощью Railway CLI и Claude Code. This skill should be used when the user asks whats the config, show me the configuration, what variables are set, environment config, service config, railway config, or wants to add/set/delete variables, change build/deploy settings, scale replicas, connect repos, or delete services.

bjornslib bjornslib
[2]
[0]
Updated: 3/17/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 9/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
9/11
Quality Score
60
Canonical Locale
en
Detected Body Locale
en

Идеально для агентов ИИ, которым требуется централизованное управление конфигурациями для оркестровки нескольких агентов с помощью Railway CLI и Claude Code. This skill should be used when the user asks whats the config, show me the configuration, what variables are set, environment config, service config, railway config, or wants to add/set/delete variables, change build/deploy settings, scale replicas, connect repos, or delete services.

Зачем использовать этот навык

Наделяет агентов возможностью управлять конфигурациями окружения с помощью Railway CLI v4.27.3+, предоставляя функции, такие как чтение и редактирование конфигураций окружения, и представление источника, настроек сборки, настроек развертывания и переменных для каждого сервиса в формате JSON.

Подходит лучше всего

Идеально для агентов ИИ, которым требуется централизованное управление конфигурациями для оркестровки нескольких агентов с помощью Railway CLI и Claude Code.

Реализуемые кейсы использования for environment

Чтение и редактирование конфигураций окружения Railway
Представление конфигураций окружения в формате JSON
Управление переменными для каждого сервиса для оркестровки нескольких агентов ИИ

! Безопасность и ограничения

  • Требуется Railway CLI v4.27.3+
  • Ограничен управлением конфигурациями окружения

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is environment?

Идеально для агентов ИИ, которым требуется централизованное управление конфигурациями для оркестровки нескольких агентов с помощью Railway CLI и Claude Code. This skill should be used when the user asks whats the config, show me the configuration, what variables are set, environment config, service config, railway config, or wants to add/set/delete variables, change build/deploy settings, scale replicas, connect repos, or delete services.

How do I install environment?

Run the command: npx killer-skills add bjornslib/cobuilder-harness/environment. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for environment?

Key use cases include: Чтение и редактирование конфигураций окружения Railway, Представление конфигураций окружения в формате JSON, Управление переменными для каждого сервиса для оркестровки нескольких агентов ИИ.

Which IDEs are compatible with environment?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for environment?

Требуется Railway CLI v4.27.3+. Ограничен управлением конфигурациями окружения.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add bjornslib/cobuilder-harness/environment. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use environment immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

environment

Install environment, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Environment Configuration

Read and edit Railway environment configuration using the CLI.

Prerequisites

Requires Railway CLI v4.27.3+. Check with:

bash
1railway --version

If below 4.27.3, upgrade:

bash
1railway upgrade

Quick Actions

When user asks "what's the config" or "show configuration":

bash
1railway environment config --json

Present: source (repo/image), build settings, deploy settings, variables per service.

When user asks "what variables" or "show env vars":

Same command — railway environment config --json includes variables per service and shared variables.

For rendered (resolved) variable values: railway variables --json

When to Use

  • User wants to create a new environment
  • User wants to duplicate an environment (e.g., "copy production to staging")
  • User wants to switch to a different environment
  • User asks about current build/deploy settings, variables, replicas, health checks, domains
  • User asks to change service source (Docker image, branch, commit, root directory)
  • User wants to connect a service to a GitHub repo
  • User wants to deploy from a GitHub repo (create empty service first via new skill, then use this)
  • User asks to change build or start command
  • User wants to add/update/delete environment variables
  • User wants to change replica count or configure health checks
  • User asks to delete a service, volume, or bucket
  • Auto-fixing build errors detected in logs

Create Environment

Create a new environment in the linked project:

bash
1railway environment new <name>

Duplicate an existing environment:

bash
1railway environment new staging --duplicate production

With service-specific variables:

bash
1railway environment new staging --duplicate production --service-variable api PORT=3001

Switch Environment

Link a different environment to the current directory:

bash
1railway environment <name>

Or by ID:

bash
1railway environment <environment-id>

Get Context

JSON output — project/environment IDs and service list:

bash
1railway status --json

Extract:

  • project.id — project ID
  • environment.id — environment ID

Plain output — linked service name:

bash
1railway status

Shows Service: <name> line with the currently linked service.

Resolve Service ID

Get service IDs from the environment config:

bash
1railway environment config --json | jq '.services | keys'

Map service IDs to names via status:

bash
1railway status --json

The project.services array contains { id, name } for each service. Match against the service keys from environment config.

Read Configuration

Fetch current environment configuration:

bash
1railway environment config --json

Response Structure

json
1{ 2 "services": { 3 "<serviceId>": { 4 "source": { "repo": "...", "branch": "main" }, 5 "build": { "buildCommand": "npm run build", "builder": "NIXPACKS" }, 6 "deploy": { 7 "startCommand": "npm start", 8 "multiRegionConfig": { "us-west2": { "numReplicas": 1 } } 9 }, 10 "variables": { "NODE_ENV": { "value": "production" } }, 11 "networking": { "serviceDomains": {}, "customDomains": {} } 12 } 13 }, 14 "sharedVariables": { "DATABASE_URL": { "value": "..." } } 15}

For complete field reference, see reference/environment-config.md.

For variable syntax and service wiring patterns, see reference/variables.md.

Get Rendered Variables

environment config returns unrendered variables — template syntax like ${{shared.DOMAIN}} is preserved. This is correct for management/editing.

To see rendered (resolved) values as they appear at runtime:

bash
1# Current linked service 2railway variables --json 3 4# Specific service 5railway variables --service <service-name> --json

When to use:

  • Debugging connection issues (see actual URLs/ports)
  • Verifying variable resolution is correct
  • Viewing Railway-injected values (RAILWAY_*)

Edit Configuration

Pass a JSON patch to railway environment edit to apply changes. The patch is merged with existing config and committed immediately, triggering deploys.

bash
1railway environment edit --json <<< '<json-patch>'

With a commit message:

bash
1railway environment edit -m "description of change" --json <<< '<json-patch>'

Examples

Set build command:

bash
1railway environment edit --json <<< '{"services":{"SERVICE_ID":{"build":{"buildCommand":"npm run build"}}}}'

Add variable:

bash
1railway environment edit -m "add API_KEY" --json <<< '{"services":{"SERVICE_ID":{"variables":{"API_KEY":{"value":"secret"}}}}}'

Delete variable:

bash
1railway environment edit --json <<< '{"services":{"SERVICE_ID":{"variables":{"OLD_VAR":null}}}}'

Delete service:

bash
1railway environment edit --json <<< '{"services":{"SERVICE_ID":{"isDeleted":true}}}'

Set replicas:

bash
1railway environment edit --json <<< '{"services":{"SERVICE_ID":{"deploy":{"multiRegionConfig":{"us-west2":{"numReplicas":3}}}}}}'

Add shared variable:

bash
1railway environment edit --json <<< '{"sharedVariables":{"DATABASE_URL":{"value":"postgres://..."}}}'

Batching Multiple Changes

Include multiple fields in a single patch to apply them atomically:

bash
1railway environment edit -m "configure build, start, and env" --json <<< '{"services":{"SERVICE_ID":{"build":{"buildCommand":"npm run build"},"deploy":{"startCommand":"npm start"},"variables":{"NODE_ENV":{"value":"production"}}}}}'

Error Handling

Command Not Found

If railway environment edit is not recognized, upgrade the CLI:

bash
1railway upgrade

Service Not Found

Service "foo" not found in project. Available services: api, web, worker

Invalid Configuration

Common issues:

  • buildCommand and startCommand cannot be identical
  • buildCommand only valid with NIXPACKS builder
  • dockerfilePath only valid with DOCKERFILE builder

No Permission

You don't have permission to modify this environment. Check your Railway role.

No Linked Project

No project linked. Run `railway link` to link a project.

Composability

  • Create service: Use service skill
  • View logs: Use deployment skill
  • Add domains: Use domain skill
  • Deploy local code: Use deploy skill

Связанные навыки

Looking for an alternative to environment or another community skill for your workflow? Explore these related open-source skills.

Показать все

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

widget-generator

Logo of f
f

Создание настраиваемых плагинов виджетов для системы ленты новостей prompts.chat

flags

Logo of vercel
vercel

Фреймворк React

138.4k
0
Браузер

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Разработчик