Agent skill

Mg Railway Deploy All

by modelguide in modelguide/modelguide

Deploy all ModelGuide services (API, UI, LB) to a Railway environment.

MITAuto-check passed

Install Mg Railway Deploy All

skills CLI
$ npx skills add modelguide/modelguide --skill mg-railway-deploy-all -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install modelguide/modelguide mg-railway-deploy-all --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/modelguide/modelguide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/mg-railway-deploy-all .claude/skills/mg-railway-deploy-all && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mg-railway-deploy-all
GitHub stars
108
Token cost
~667 tokens
SKILL.md length
295 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Deploy all ModelGuide services (API, UI, LB) to a Railway environment.

  • Works in 5 steps: Link to the correct project and… → Deploy all three services in parallel… → Wait ~45 seconds for builds to complete. → …
  • The user asks to deploy all
  • SKILL.md covers Inputs, Service Directory Mapping, Preflight and Procedure, plus 1 more section
  • Calls railway

What it does

Mg Railway Deploy All is an agent skill from modelguide/modelguide. Deploy all ModelGuide services (API, UI, LB) to a Railway environment. Use when the user asks to "deploy all", "deploy to railway", "deploy services", "deploy everything", or "deploy all to environment".

Its SKILL.md is about 670 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Railway and Model Context Protocol. The repository describes itself as: Open-source voice agent orchestration framework - build production voice AI pipelines without vendor lock-in. The licence is MIT.

When your agent uses it

  • The user asks to deploy all
  • Deploy to railway
  • Deploy services
  • Deploy everything

Example prompts

  • “deploy all”
  • “deploy to railway”
  • “deploy services”
  • “/mg-railway-deploy-all”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Link to the correct project and environment using Railway MCP link-environment tool
  2. Deploy all three services in parallel using Railway MCP deploy tool
  3. Wait ~45 seconds for builds to complete.
  4. Check deploy logs using Railway MCP get-logs tool for all three services (logType: deploy, lines: 30).
  5. Report status of each service to the user, including the LB URL: lb-.up.railway.app

What it can do on your machine

Read from SKILL.md and the folder at commit 554caa0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • railway

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mg Railway Deploy All loads about 667 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 295 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~667

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from modelguide/modelguide at commit 554caa0, republished under its MIT licence (© modelguide). 295 words, ~667 tokens.

Download SKILL.mdSave it as .claude/skills/mg-railway-deploy-all/SKILL.md (or your agent's skills folder).
name
mg-railway-deploy-all
description
Deploy all ModelGuide services (API, UI, LB) to a Railway environment. Use when the user asks to "deploy all", "deploy to railway", "deploy services", "deploy everything", or "deploy all to environment".

Railway Deploy All Services

Deploy all ModelGuide services to a specified Railway environment. Does NOT run database migrations.

Inputs

Ask the user if not provided:

  • project — Railway project name
  • environment — Railway environment to deploy to (e.g., demo-upgrade, demo, production)

Service Directory Mapping

CRITICAL — each service MUST be deployed from its specific subdirectory:

ServiceworkspacePath
api<project-root>/modelguide-api
ui<project-root>/modelguide-ui
lb<project-root>/railway/lb

NEVER deploy from the monorepo root.

Preflight

Before calling any deploy tool, confirm the Railway link resolves to the repo root — not a parent directory or a service subdir. Run railway status and check Project is set.

If it's empty or points to the wrong place, re-link from the repo root:

bash
railway link --project <projectId> --environment <env>

A stale parent link (e.g. at ~/Projects/modelguide/ instead of ~/Projects/modelguide/modelguide/) silently wins — the Railway CLI walks up the tree looking for the nearest link, then uploads sibling directories, and Railpack fails with "could not determine how to build the app". Fix the link, don't work around it by relinking at a subdir.

Procedure

  1. Link to the correct project and environment using Railway MCP link-environment tool:

    • workspacePath: <project-root>
    • environmentName: <environment>
  2. Deploy all three services in parallel using Railway MCP deploy tool:

    • api: workspacePath <project-root>/modelguide-api, service api, environment <environment>
    • ui: workspacePath <project-root>/modelguide-ui, service ui, environment <environment>
    • lb: workspacePath <project-root>/railway/lb, service lb, environment <environment>
  3. Wait ~45 seconds for builds to complete.

  4. Check deploy logs using Railway MCP get-logs tool for all three services (logType: deploy, lines: 30).

  5. Report status of each service to the user, including the LB URL: lb-<environment>.up.railway.app

Notes

  • This skill does NOT run database migrations. If schema changes are needed, run migrations separately.
  • All deploys use the current local working directory contents (not git HEAD).
  • The LB is a Caddy reverse proxy that routes to API and UI services.

© modelguide, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/mg-railway-deploy-all of modelguide/modelguide.

Open the folder on GitHubat commit 554caa0

Compare with similar skills

Mg Railway Deploy All next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mg Railway Deploy All compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mg Railway Deploy All this skillmodelguide/modelguide108—~667Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Figma use_figma Plugin API Ruleswarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
Stitch to Remotion Walkthrough Videosgoogle-labs-code/stitch-skills8.4k6 repos~3.2kAutomated safety check: NotesApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Stitch to Remotion Walkthrough Videos

    google-labs-code/stitch-skills

    Official

    Builds walkthrough videos from Stitch design projects using Remotion, with transitions, zoom effects and text overlays on each screen.

    8.4k GitHub starsUsed in 6 repos~3.2k tokens
    Media & CreativeAuto-check: notes
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed

More from modelguide/modelguide

  • Mg CLI

    modelguide/modelguide

    Generate YAML configuration files and run CLI commands to onboard organizations into ModelGuide.

    108 GitHub stars~3.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Mg Connector

    modelguide/modelguide

    A skill your agent uses when the user asks to add a connector, create a connector, implement a connector for a service, add a tool to a connector, update a connector tool, or asks about connector…

    108 GitHub stars~4.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Mg Integrity Check

    modelguide/modelguide

    Use before committing significant code changes to verify project integrity.

    108 GitHub stars~2.4k tokensUpdated 3 mo ago
    Auto-check: notes
  • Mg Local DB Restore

    modelguide/modelguide

    Trigger phrases - "reset local db", "recreate local postgres", "restore dump to local", "reset local database", "load backup locally"

    108 GitHub stars~645 tokensUpdated 3 mo ago
    Auto-check passed
  • Mg Railway DB Backup

    modelguide/modelguide

    Backup a PostgreSQL database from a Railway environment. An agent skill from modelguide/modelguide.

    108 GitHub stars~534 tokensUpdated 3 mo ago
    Auto-check passed
  • Mg Railway DB Restore

    modelguide/modelguide

    Restore a PostgreSQL database backup to a Railway environment.

    108 GitHub stars~562 tokensUpdated 3 mo ago
    Auto-check passed

Questions about Mg Railway Deploy All

What does Mg Railway Deploy All do?

Deploy all ModelGuide services (API, UI, LB) to a Railway environment. Mg Railway Deploy All is an agent skill from modelguide/modelguide. Deploy all ModelGuide services (API, UI, LB) to a Railway environment.

When should I use Mg Railway Deploy All?

Mg Railway Deploy All fits situations like: the user asks to deploy all; deploy to railway; deploy services; deploy everything.

How do I install Mg Railway Deploy All in Claude Code?

Run `npx skills add modelguide/modelguide --skill mg-railway-deploy-all -a claude-code`. Or copy the skill folder (.claude/skills/mg-railway-deploy-all in modelguide/modelguide) into .claude/skills/mg-railway-deploy-all in your project. Claude Code loads it when a task matches its description.

How do I install Mg Railway Deploy All in Codex?

Run `npx skills add modelguide/modelguide --skill mg-railway-deploy-all -a codex`. Or copy the skill folder (.claude/skills/mg-railway-deploy-all in modelguide/modelguide) into .agents/skills/mg-railway-deploy-all in your project. Codex loads it when a task matches its description.

Can I use Mg Railway Deploy All in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add modelguide/modelguide --skill mg-railway-deploy-all -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mg-railway-deploy-all, .gemini/skills/mg-railway-deploy-all, .github/skills/mg-railway-deploy-all and .opencode/skills/mg-railway-deploy-all in your project.

What does Mg Railway Deploy All need to run?

Going by SKILL.md and its folder, Mg Railway Deploy All needs the command-line tools its instructions call (railway).

Does Mg Railway Deploy All access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mg Railway Deploy All safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mg Railway Deploy All use?

Mg Railway Deploy All is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mg Railway Deploy All use?

About 667 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mg Railway Deploy All?

Skills that share tags, products or a category with Mg Railway Deploy All: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mg Railway Deploy All?

modelguide (a GitHub organization) maintains it in modelguide/modelguide, which has 108 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on June 20, 2026.

Source: modelguide/modelguide on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.