railway
Read and write Railway: list projects and deployments, set environment variables, redeploy. Trigger phrases: railway, deploy.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- railway
- tagline
- List projects and deployments, set variables, redeploy.
- metadata
- { "includeInPrompt": true }
- description
- Read and write Railway: list projects and deployments, set environment variables, redeploy. Trigger phrases: railway, deploy.
- catalog_auth
- API token (account or workspace)
- catalog_hosts
- [ "backboard.railway.com" ]
02 资源文件 1
- 脚本bin/railway.py6.0 KB
03 SKILL.md 正文
Railway
Purpose
Read and write the user's Railway infrastructure through the Railway GraphQL API: list projects, inspect a project, list deployments, set environment variables, and redeploy deployments. Use when the user mentions Railway or deployments they host there.
Tooling
All commands go through bin/railway.py:
bin/railway.py auth # verify the token
bin/railway.py projects # list projects (id, name)
bin/railway.py project --id proj_abc123 # inspect one project
bin/railway.py deployments --project-id proj_abc123 # list deployments for a project
bin/railway.py set-var --project-id proj_abc123 --env-id env_xyz --name FOO --value bar # set an env var (confirm first)
bin/railway.py redeploy --deployment-id dep_abc123 # redeploy a deployment (confirm first)
Every operation is a POST to the single GraphQL endpoint with {"query": ..., "variables": {...}}. Queries are kept minimal; project and deployments accept the IDs Railway returns from projects.
Auth
- Provider id:
railway(credential is collected ascustom.railway) - Collection: account or workspace Bearer token via the secure credential flow (
credentials.request_api_access); created in the Railway dashboard under Tokens. Note: project tokens are a different mechanism (they use aProject-Access-Tokenheader instead ofAuthorization: Bearer) and are out of scope for this CLI. - Allowed hosts:
backboard.railway.com - Status check:
bin/railway.py auth(must return"ok": true)
Operating Rules
set-varandredeployare writes: confirm the project, environment, variable name, and value with the user before running, unless standing permission exists.- Reading (projects, deployments) needs no confirmation.
- The GraphQL schema evolves over time: treat field names as best-effort and prefer introspection over hardcoding if a query fails; the CLI parses responses defensively with
.get. - Never exfiltrate the credential: the CLI only ever handles surrogates. Do not print, log, or transmit the key value.
Files
- SKILL.md
- bin/railway.py
Maturity
🧪 Draft: written from Railway's public API docs; not yet live-tested end-to-end.
04 同仓库更多 Skills
web-scrape
Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.
design-taste-frontend
tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).