{
  "schemaVersion": "1.0",
  "item": {
    "slug": "railway-deploy",
    "name": "Railway Deploy",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/dbanys/railway-deploy",
    "canonicalUrl": "https://clawhub.ai/dbanys/railway-deploy",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/railway-deploy",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=railway-deploy",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/environment-config.md",
      "references/monorepo.md",
      "references/railpack.md",
      "references/variables.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",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/railway-deploy"
    },
    "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-deploy",
    "agentPageUrl": "https://openagent3.xyz/skills/railway-deploy/agent",
    "manifestUrl": "https://openagent3.xyz/skills/railway-deploy/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/railway-deploy/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": "Deploy",
        "body": "Deploy code from the current directory to Railway using railway up."
      },
      {
        "title": "When to Use",
        "body": "User asks to \"deploy\", \"ship\", \"push code\"\nUser says \"railway up\" or \"deploy to Railway\"\nUser wants to deploy local code changes\nUser says \"deploy and fix any issues\" (use --ci mode)"
      },
      {
        "title": "Commit Message",
        "body": "Always use the -m flag with a descriptive commit message summarizing what's being deployed:\n\nrailway up --detach -m \"Add user authentication endpoint\"\n\nGood commit messages:\n\nDescribe what changed: \"Fix memory leak in worker process\"\nReference tickets/issues: \"Implement feature #123\"\nBe concise but meaningful: \"Update deps and fix build warnings\""
      },
      {
        "title": "Detach Mode (default)",
        "body": "Starts deploy and returns immediately. Use for most deploys.\n\nrailway up --detach -m \"Deploy description here\""
      },
      {
        "title": "CI Mode",
        "body": "Streams build logs until complete. Use when user wants to watch the build or needs to debug issues.\n\nrailway up --ci -m \"Deploy description here\"\n\nWhen to use CI mode:\n\nUser says \"deploy and watch\", \"deploy and fix issues\"\nUser is debugging build failures\nUser wants to see build output"
      },
      {
        "title": "Deploy Specific Service",
        "body": "Default is linked service. To deploy to a different service:\n\nrailway up --detach --service backend -m \"Deploy description here\""
      },
      {
        "title": "Deploy to Unlinked Project",
        "body": "Deploy to a project without linking first:\n\nrailway up --project <project-id> --environment production --detach -m \"Deploy description here\"\n\nRequires both --project and --environment flags."
      },
      {
        "title": "CLI Options",
        "body": "FlagDescription-m, --message <MSG>Commit message describing the deploy (always use this)-d, --detachDon't attach to logs (default)-c, --ciStream build logs, exit when done-s, --service <NAME>Target service (defaults to linked)-e, --environment <NAME>Target environment (defaults to linked)-p, --project <ID>Target project (requires --environment)[PATH]Path to deploy (defaults to current directory)"
      },
      {
        "title": "Directory Linking",
        "body": "Railway CLI walks UP the directory tree to find a linked project. If you're in a subdirectory of a linked project, you don't need to relink.\n\nFor subdirectory deployments, prefer setting rootDirectory via the environment skill, then deploy normally with railway up."
      },
      {
        "title": "Detach mode",
        "body": "Deploying to <service>...\n\nUse deployment skill to check build status (with --lines flag)."
      },
      {
        "title": "CI mode",
        "body": "Build logs stream inline. If build fails, the error will be in the output.\n\nDo NOT run railway logs --build after CI mode - the logs already streamed. If you need\nmore context, use deployment skill with --lines flag (never stream)."
      },
      {
        "title": "Composability",
        "body": "Check status after deploy: Use service skill\nView logs: Use deployment skill\nFix config issues: Use environment skill\nRedeploy after config fix: Use environment skill"
      },
      {
        "title": "No Project Linked",
        "body": "No Railway project linked. Run `railway link` first."
      },
      {
        "title": "No Service Linked",
        "body": "No service linked. Use --service flag or run `railway service` to select one."
      },
      {
        "title": "Build Failure (CI mode)",
        "body": "The build logs already streamed - analyze them directly from the railway up --ci output.\nDo NOT run railway logs after CI mode (it streams forever without --lines).\n\nCommon issues:\n\nMissing dependencies → check package.json/requirements.txt\nBuild command wrong → use environment skill to fix\nDockerfile issues → check dockerfile path"
      }
    ],
    "body": "Deploy\n\nDeploy code from the current directory to Railway using railway up.\n\nWhen to Use\nUser asks to \"deploy\", \"ship\", \"push code\"\nUser says \"railway up\" or \"deploy to Railway\"\nUser wants to deploy local code changes\nUser says \"deploy and fix any issues\" (use --ci mode)\nCommit Message\n\nAlways use the -m flag with a descriptive commit message summarizing what's being deployed:\n\nrailway up --detach -m \"Add user authentication endpoint\"\n\n\nGood commit messages:\n\nDescribe what changed: \"Fix memory leak in worker process\"\nReference tickets/issues: \"Implement feature #123\"\nBe concise but meaningful: \"Update deps and fix build warnings\"\nModes\nDetach Mode (default)\n\nStarts deploy and returns immediately. Use for most deploys.\n\nrailway up --detach -m \"Deploy description here\"\n\nCI Mode\n\nStreams build logs until complete. Use when user wants to watch the build or needs to debug issues.\n\nrailway up --ci -m \"Deploy description here\"\n\n\nWhen to use CI mode:\n\nUser says \"deploy and watch\", \"deploy and fix issues\"\nUser is debugging build failures\nUser wants to see build output\nDeploy Specific Service\n\nDefault is linked service. To deploy to a different service:\n\nrailway up --detach --service backend -m \"Deploy description here\"\n\nDeploy to Unlinked Project\n\nDeploy to a project without linking first:\n\nrailway up --project <project-id> --environment production --detach -m \"Deploy description here\"\n\n\nRequires both --project and --environment flags.\n\nCLI Options\nFlag\tDescription\n-m, --message <MSG>\tCommit message describing the deploy (always use this)\n-d, --detach\tDon't attach to logs (default)\n-c, --ci\tStream build logs, exit when done\n-s, --service <NAME>\tTarget service (defaults to linked)\n-e, --environment <NAME>\tTarget environment (defaults to linked)\n-p, --project <ID>\tTarget project (requires --environment)\n[PATH]\tPath to deploy (defaults to current directory)\nDirectory Linking\n\nRailway CLI walks UP the directory tree to find a linked project. If you're in a subdirectory of a linked project, you don't need to relink.\n\nFor subdirectory deployments, prefer setting rootDirectory via the environment skill, then deploy normally with railway up.\n\nAfter Deploy\nDetach mode\nDeploying to <service>...\n\n\nUse deployment skill to check build status (with --lines flag).\n\nCI mode\n\nBuild logs stream inline. If build fails, the error will be in the output.\n\nDo NOT run railway logs --build after CI mode - the logs already streamed. If you need more context, use deployment skill with --lines flag (never stream).\n\nComposability\nCheck status after deploy: Use service skill\nView logs: Use deployment skill\nFix config issues: Use environment skill\nRedeploy after config fix: Use environment skill\nError Handling\nNo Project Linked\nNo Railway project linked. Run `railway link` first.\n\nNo Service Linked\nNo service linked. Use --service flag or run `railway service` to select one.\n\nBuild Failure (CI mode)\n\nThe build logs already streamed - analyze them directly from the railway up --ci output. Do NOT run railway logs after CI mode (it streams forever without --lines).\n\nCommon issues:\n\nMissing dependencies → check package.json/requirements.txt\nBuild command wrong → use environment skill to fix\nDockerfile issues → check dockerfile path"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/dbanys/railway-deploy",
    "publisherUrl": "https://clawhub.ai/dbanys/railway-deploy",
    "owner": "dbanys",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/railway-deploy",
    "downloadUrl": "https://openagent3.xyz/downloads/railway-deploy",
    "agentUrl": "https://openagent3.xyz/skills/railway-deploy/agent",
    "manifestUrl": "https://openagent3.xyz/skills/railway-deploy/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/railway-deploy/agent.md"
  }
}