Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Developer

How to Use Railway deployment template in Gemini CLI

Inspect a Railway deployment template and its packaged services. Use it to understand a specific deployment candidate after finding it in the template catalog.

Prompts to try with Railway deployment template in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Railway deployment template to inspect https://railway.com/deploy/postgres and compare its packaged service with this project's database requirements.

Railway deployment templateGemini CLI
Try asking
  • Use Railway deployment template to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Railway deployment template and tell me what changed since last week.

  • Check Railway deployment template and summarize what you find in three bullet points.

  • Pull the newest data from Railway deployment template and give me the result as a table.

How to set up Railway deployment template in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Railway deployment template

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "railway-com/developer-documentation/get_template",
        "input": {
          "code": "<code>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Railway deployment template on Spiral, shows the price and runs it.

Railway deployment template providers and prices

Spiral runs Railway deployment template through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper
Railway · Get template
railway-com/developer-documentation/get_template

What can you do with Railway deployment template in Gemini CLI?

Produce a Railway deployment review tied to your application's requirements. Use retrieved Railway material to check hosting assumptions, template choices, published changes, or operational risks against the project.

Plan a migration to Railway

Build a migration brief from technical requirements, relevant engineering articles, recent product changes, deployment candidates, plan limits, and applicable policies.

Review deployment readiness

Check the proposed template, documented behavior, resource ceilings, policies, and recent announcements. Add current platform status and relevant incident timelines to the release review.

Prepare a platform review

Evaluate Railway against a team's hosting requirements using public technical guidance, plan limits, policies, template options, product updates, and reliability reports.

Create an internal Railway reading guide

Select technical docs, engineering explanations, recent updates, policies, plan comparisons, and example templates for developers learning how their team uses Railway.

Choose a deployment template

Compare category listings, inspect the services packaged in promising templates, and check their requirements against documentation, plan limits, and applicable policies.

Prepare a Railway change briefing

Summarize relevant engineering articles and product updates, then identify documentation, template choices, plan assumptions, or policy references the team should review.

Questions about Railway deployment template in Gemini CLI

Can Gemini CLI use Railway deployment template?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Railway deployment template like any built-in tool.

How much does Railway deployment template cost in Gemini CLI?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need an Alexandria account to use Railway deployment template in Gemini CLI?

No. Spiral runs Railway deployment template on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Railway deployment template in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while Railway deployment template runs?

Railway deployment template runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

What Railway information does this source cover?

It covers public docs, blog articles, changelog entries, status reports, deployment templates, and company and legal pages. Template coverage includes machine-readable deployment manifests.

Does Railway report every outage?

No. Railway explicitly limits its status page to incidents with significant, widespread user impact and says smaller or isolated issues will not appear.

What period do Railway's uptime figures cover?

Component uptime covers the last 90 days plus today. Major outages count fully as downtime, while partial outages count at 30%.

How often does Railway publish product updates?

Railway labels its changelog as weekly product updates since 2021. Individual entries carry dates and include feature announcements and fixes.

What does an individual incident report contain?

Railway status reports identify affected components and show timestamped updates. For example, incident IFBXJTGG records monitoring and resolution updates for public networking across four regions.

Get started

Start using Railway deployment template in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options