{
  "schemaVersion": "1.0",
  "item": {
    "slug": "railway-skill",
    "name": "Railway",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/leicao-me/railway-skill",
    "canonicalUrl": "https://clawhub.ai/leicao-me/railway-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/railway-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=railway-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "railway-skill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T21:49:15.463Z",
      "expiresAt": "2026-05-14T21:49:15.463Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=railway-skill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=railway-skill",
        "contentDisposition": "attachment; filename=\"railway-skill-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "railway-skill"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/railway-skill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/railway-skill",
    "agentPageUrl": "https://openagent3.xyz/skills/railway-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/railway-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/railway-skill/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Railway",
        "body": "Deploy and manage applications on Railway.app - a modern cloud platform with zero-config deployments."
      },
      {
        "title": "Authentication",
        "body": "# Login (opens browser)\nrailway login\n\n# Login with token (CI/CD)\nrailway login --token <TOKEN>\n\n# Check login status\nrailway whoami\n\n# Logout\nrailway logout"
      },
      {
        "title": "Link & Initialize",
        "body": "# Link current directory to existing project\nrailway link\n\n# Link to specific project\nrailway link --project <PROJECT_ID>\n\n# Create new project\nrailway init\n\n# Unlink project\nrailway unlink"
      },
      {
        "title": "View Projects",
        "body": "# List all projects\nrailway list\n\n# Open project in browser\nrailway open\n\n# Show project status\nrailway status"
      },
      {
        "title": "Deploy",
        "body": "# Deploy current directory\nrailway up\n\n# Deploy without watching logs\nrailway up --detach\n\n# Deploy specific service\nrailway up --service <SERVICE_NAME>\n\n# Deploy to specific environment\nrailway up --environment production\n\n# Redeploy latest version\nrailway redeploy\n\n# Redeploy specific service\nrailway redeploy --service <SERVICE_NAME>"
      },
      {
        "title": "Deploy from Template",
        "body": "# Deploy a template\nrailway deploy --template <TEMPLATE_NAME>\n\n# With variables\nrailway deploy --template postgres --variable POSTGRES_USER=myuser"
      },
      {
        "title": "Services",
        "body": "# List services in project\nrailway service\n\n# Create new service\nrailway service create\n\n# Delete service\nrailway service delete <SERVICE_NAME>"
      },
      {
        "title": "Environment Variables",
        "body": "# List all variables\nrailway variables\n\n# Set variable\nrailway variables set KEY=value\n\n# Set multiple variables\nrailway variables set KEY1=value1 KEY2=value2\n\n# Delete variable\nrailway variables delete KEY\n\n# View specific variable\nrailway variables get KEY"
      },
      {
        "title": "Logs",
        "body": "# View logs (live)\nrailway logs\n\n# View logs for specific service\nrailway logs --service <SERVICE_NAME>\n\n# View recent logs (not live)\nrailway logs --no-follow\n\n# View logs with timestamps\nrailway logs --timestamps"
      },
      {
        "title": "Run Commands",
        "body": "# Run command with Railway env vars\nrailway run <command>\n\n# Examples\nrailway run npm start\nrailway run python manage.py migrate\nrailway run prisma db push\n\n# SSH into running service\nrailway ssh\n\n# SSH into specific service\nrailway ssh --service <SERVICE_NAME>"
      },
      {
        "title": "Domains",
        "body": "# List domains\nrailway domain\n\n# Add custom domain\nrailway domain add <DOMAIN>\n\n# Remove domain\nrailway domain delete <DOMAIN>"
      },
      {
        "title": "Databases",
        "body": "Railway supports one-click database provisioning:\n\n# Add PostgreSQL\nrailway add --plugin postgresql\n\n# Add MySQL\nrailway add --plugin mysql\n\n# Add Redis\nrailway add --plugin redis\n\n# Add MongoDB\nrailway add --plugin mongodb\n\nDatabase connection strings are automatically added to environment variables."
      },
      {
        "title": "Environments",
        "body": "# List environments\nrailway environment\n\n# Switch environment\nrailway environment <ENV_NAME>\n\n# Create environment\nrailway environment create <ENV_NAME>\n\n# Delete environment\nrailway environment delete <ENV_NAME>"
      },
      {
        "title": "Volumes",
        "body": "# List volumes\nrailway volume\n\n# Create volume\nrailway volume create --mount /data\n\n# Delete volume\nrailway volume delete <VOLUME_ID>"
      },
      {
        "title": "Deploy a New Project",
        "body": "# 1. Initialize in your project directory\ncd my-app\nrailway init\n\n# 2. Add a database if needed\nrailway add --plugin postgresql\n\n# 3. Set environment variables\nrailway variables set NODE_ENV=production\n\n# 4. Deploy\nrailway up"
      },
      {
        "title": "Connect to Production Database",
        "body": "# Run local command with production env vars\nrailway run psql $DATABASE_URL\n\n# Or use SSH\nrailway ssh\n# Then inside container:\npsql $DATABASE_URL"
      },
      {
        "title": "View Deployment Status",
        "body": "# Check status\nrailway status\n\n# View logs\nrailway logs\n\n# Open dashboard\nrailway open"
      },
      {
        "title": "Rollback Deployment",
        "body": "# View deployments in dashboard\nrailway open\n\n# Redeploy previous version (via dashboard)\n# Or redeploy current code\nrailway redeploy"
      },
      {
        "title": "CI/CD Integration",
        "body": "For GitHub Actions or other CI:\n\n# .github/workflows/deploy.yml\nname: Deploy to Railway\non:\n  push:\n    branches: [main]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Railway CLI\n        run: npm i -g @railway/cli\n      - name: Deploy\n        run: railway up --detach\n        env:\n          RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}"
      },
      {
        "title": "Resources",
        "body": "Railway Documentation\nRailway CLI Reference\nRailway Templates\nRailway GitHub"
      }
    ],
    "body": "Railway\n\nDeploy and manage applications on Railway.app - a modern cloud platform with zero-config deployments.\n\nAuthentication\n# Login (opens browser)\nrailway login\n\n# Login with token (CI/CD)\nrailway login --token <TOKEN>\n\n# Check login status\nrailway whoami\n\n# Logout\nrailway logout\n\nProject Management\nLink & Initialize\n# Link current directory to existing project\nrailway link\n\n# Link to specific project\nrailway link --project <PROJECT_ID>\n\n# Create new project\nrailway init\n\n# Unlink project\nrailway unlink\n\nView Projects\n# List all projects\nrailway list\n\n# Open project in browser\nrailway open\n\n# Show project status\nrailway status\n\nDeployment\nDeploy\n# Deploy current directory\nrailway up\n\n# Deploy without watching logs\nrailway up --detach\n\n# Deploy specific service\nrailway up --service <SERVICE_NAME>\n\n# Deploy to specific environment\nrailway up --environment production\n\n# Redeploy latest version\nrailway redeploy\n\n# Redeploy specific service\nrailway redeploy --service <SERVICE_NAME>\n\nDeploy from Template\n# Deploy a template\nrailway deploy --template <TEMPLATE_NAME>\n\n# With variables\nrailway deploy --template postgres --variable POSTGRES_USER=myuser\n\nServices\n# List services in project\nrailway service\n\n# Create new service\nrailway service create\n\n# Delete service\nrailway service delete <SERVICE_NAME>\n\nEnvironment Variables\n# List all variables\nrailway variables\n\n# Set variable\nrailway variables set KEY=value\n\n# Set multiple variables\nrailway variables set KEY1=value1 KEY2=value2\n\n# Delete variable\nrailway variables delete KEY\n\n# View specific variable\nrailway variables get KEY\n\nLogs\n# View logs (live)\nrailway logs\n\n# View logs for specific service\nrailway logs --service <SERVICE_NAME>\n\n# View recent logs (not live)\nrailway logs --no-follow\n\n# View logs with timestamps\nrailway logs --timestamps\n\nRun Commands\n# Run command with Railway env vars\nrailway run <command>\n\n# Examples\nrailway run npm start\nrailway run python manage.py migrate\nrailway run prisma db push\n\n# SSH into running service\nrailway ssh\n\n# SSH into specific service\nrailway ssh --service <SERVICE_NAME>\n\nDomains\n# List domains\nrailway domain\n\n# Add custom domain\nrailway domain add <DOMAIN>\n\n# Remove domain\nrailway domain delete <DOMAIN>\n\nDatabases\n\nRailway supports one-click database provisioning:\n\n# Add PostgreSQL\nrailway add --plugin postgresql\n\n# Add MySQL\nrailway add --plugin mysql\n\n# Add Redis\nrailway add --plugin redis\n\n# Add MongoDB\nrailway add --plugin mongodb\n\n\nDatabase connection strings are automatically added to environment variables.\n\nEnvironments\n# List environments\nrailway environment\n\n# Switch environment\nrailway environment <ENV_NAME>\n\n# Create environment\nrailway environment create <ENV_NAME>\n\n# Delete environment\nrailway environment delete <ENV_NAME>\n\nVolumes\n# List volumes\nrailway volume\n\n# Create volume\nrailway volume create --mount /data\n\n# Delete volume\nrailway volume delete <VOLUME_ID>\n\nCommon Workflows\nDeploy a New Project\n# 1. Initialize in your project directory\ncd my-app\nrailway init\n\n# 2. Add a database if needed\nrailway add --plugin postgresql\n\n# 3. Set environment variables\nrailway variables set NODE_ENV=production\n\n# 4. Deploy\nrailway up\n\nConnect to Production Database\n# Run local command with production env vars\nrailway run psql $DATABASE_URL\n\n# Or use SSH\nrailway ssh\n# Then inside container:\npsql $DATABASE_URL\n\nView Deployment Status\n# Check status\nrailway status\n\n# View logs\nrailway logs\n\n# Open dashboard\nrailway open\n\nRollback Deployment\n# View deployments in dashboard\nrailway open\n\n# Redeploy previous version (via dashboard)\n# Or redeploy current code\nrailway redeploy\n\nCI/CD Integration\n\nFor GitHub Actions or other CI:\n\n# .github/workflows/deploy.yml\nname: Deploy to Railway\non:\n  push:\n    branches: [main]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Railway CLI\n        run: npm i -g @railway/cli\n      - name: Deploy\n        run: railway up --detach\n        env:\n          RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}\n\nResources\nRailway Documentation\nRailway CLI Reference\nRailway Templates\nRailway GitHub"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/leicao-me/railway-skill",
    "publisherUrl": "https://clawhub.ai/leicao-me/railway-skill",
    "owner": "leicao-me",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/railway-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/railway-skill",
    "agentUrl": "https://openagent3.xyz/skills/railway-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/railway-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/railway-skill/agent.md"
  }
}