One-click install
npx skills add https://github.com/createtree2017/createtree-office --skill use-railway-createtree2017
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-railway
Source: https://github.com/createtree2017/createtree-office/tree/main/.agents/skills/use-railway
Command: npx skills add https://github.com/createtree2017/createtree-office --skill use-railway-createtree2017

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, curl, bash, python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you safely operate Railway infrastructure by turning unclear requests (deploys, environments, variables, buckets, failures) into correct, context-aware CLI or API actions with evidence-based verification.

Core Features & Use Cases

  • Context-aware operations: resolves the correct Railway project/environment/service from a pasted Railway URL or the locally linked context, avoiding accidental actions on the wrong service.
  • Infrastructure quick operations: supports common workflows like checking status, variables, logs, deployments, buckets, and bucket credentials.
  • Failure triage and routing: routes intents to the right reference (setup, deploy, configure, operate/health/debug, or API/doc requests) and composes multi-step plans when needed.
  • Safety guardrails: includes preflight checks, recommends --json for parseable outputs, and flags destructive operations to confirm intent before executing.

Quick Start

Ask the AI to deploy and then verify health for your Railway service using the latest linked context in this repository.

Frequently Asked Questions about use-railway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I troubleshoot a failed Railway deployment using logs and metrics?

Troubleshoot a failed Railway deployment by routing the failure intent to the debug reference, retrieving deployment logs and metrics via context-aware CLI commands, and verifying health status using JSON outputs for reliable parsing.

What's the best way to manage Railway environment variables and object storage credentials?

Manage Railway environment variables and object storage by executing safe, context-aware workflows that retrieve bucket credentials and configuration changes, applying preflight checks and JSON outputs to ensure correct parsing.

How do I safely execute destructive operations on my Railway infrastructure?

Safely execute destructive Railway operations by enforcing confirmation prompts before running actions, applying preflight checks, and resolving the correct project and environment from a pasted URL or locally linked state to prevent accidental modifications.

Can I operate Railway services and domains using the GraphQL API and CLI?

Operate Railway services and domains by matching your intent to GraphQL API or CLI workflows, extracting IDs from Railway URLs, and routing requests to operational references for status verification and configuration management.

Why is my Railway environment configuration targeting the wrong service?

Railway environment configuration targets the wrong service when context is unresolved; fix this by extracting IDs from pasted Railway URLs or using locally linked state to ensure operations apply to the correct project and environment.

Do I need jq and curl to parse Railway CLI outputs for debugging?

Use jq and curl to parse Railway CLI outputs for debugging, as the Skill recommends --json flags and leverages these dependencies to extract reliable JSON data for infrastructure troubleshooting and status verification.