davila7/claude-code-templates/service
Claude Code and agent skill by davila7/claude-code-templates
- community
Checking that the SKILL.md file is still in the repository.
Check service status, rename services, change service icons, link services, or create services with Docker images. For creating services with local code, prefer railway-new skill. For GitHub repo sources, use railway-new skill to create empty service then railway-environment skill to configure source.
Install
npx vskill@latest install davila7/claude-code-templates/serviceSKILL.md
Railway Service Management
Check status, update properties, and advanced service creation.
When to Use
- User asks about service status, health, or deployments
- User asks "is my service deployed?"
- User wants to rename a service or change service icon
- User wants to link a different service
- User wants to deploy a Docker image as a new service (advanced)
Note: For creating services with local code (the common case), prefer the railway-new skill which handles project setup, scaffolding, and service creation together.
For GitHub repo sources: Use railway-new skill to create empty service, then railway-environment skill to configure source.repo via staged changes API.
Create Service
Create a new service via GraphQL API. There is no CLI command for this.
Get Context
Extract:
project.id- for creating the serviceenvironment.id- for staging the instance config
Create Service Mutation
ServiceCreateInput Fields
| Field | Type | Description | |
|---|---|---|---|
projectId | String! | Project ID (required) | |
name | String | Service name (auto-generated if omitted) | |
source.image | String | Docker image (e.g., nginx:latest) | |
source.repo | String | GitHub repo (e.g., user/repo) | |
branch | String | Git branch for repo source | |
environmentId | String | If set and is a fork, only creates in that env |
Example: Create empty service
Example: Create service with image
Connecting a GitHub Repo
Do NOT use serviceCreate with source.repo - use staged changes API instead.
Flow:
- Create empty service:
serviceCreate(input: {projectId: "...", name: "my-service"}) - Use railway-environment skill to configure source via staged changes API
- Apply to trigger deployment
After Creating: Configure Instance
Use railway-environment skill to configure the service instance:
Critical: Always include isCreated: true for new service instances.
Then use railway-environment skill to apply and deploy.
Check Service Status
Returns current deployment status for the linked service.
Deployment History
Present Status
Show:
- Service: name and current status
- Latest Deployment: status (SUCCESS, FAILED, DEPLOYING, CRASHED, etc.)
- Deployed At: when the current deployment went live
- Recent Deployments: last 3-5 with status and timestamps
Deployment Statuses
| Status | Meaning | |
|---|---|---|
| SUCCESS | Deployed and running | |
| FAILED | Build or deploy failed | |
| DEPLOYING | Currently deploying | |
| BUILDING | Build in progress | |
| CRASHED | Runtime crash | |
| REMOVED | Deployment removed |
Update Service
Update service name or icon via GraphQL API.
Get Service ID
Extract service.id from the response.
Update Name
Update Icon
Icons can be image URLs or animated GIFs.
| Type | Example | |
|---|---|---|
| Image URL | "icon": "https://example.com/logo.png" | |
| Animated GIF | "icon": "https://example.com/animated.gif" | |
| Devicons | "icon": "https://devicons.railway.app/github" |
Railway Devicons: Query https://devicons.railway.app/{query} for common developer icons (e.g., github, postgres, redis, nodejs). Browse all at https://devicons.railway.app
ServiceUpdateInput Fields
| Field | Type | Description | |
|---|---|---|---|
name | String | Service name | |
icon | String | Emoji or image URL (including animated GIFs) |
Link Service
Switch the linked service for the current directory:
Or specify directly:
Composability
- Create service with local code: Use railway-new skill (handles scaffolding + creation)
- Configure service: Use railway-environment skill (variables, commands, image, etc.)
- Delete service: Use railway-environment skill with
isDeleted: true - Apply changes: Use railway-environment skill
- View logs: Use railway-deployment skill
- Deploy local code: Use railway-deploy skill
Error Handling
No Service Linked
No Deployments
Service Not Found
Project Not Found
User may not be in a linked project. Check railway status.
Permission Denied
User needs at least DEVELOPER role to create services.
Invalid Image
Docker image must be accessible (public or with registry credentials).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationPassed, 84 of 100Effective. 1 run. Evaluated 8 months ago.
Source
- SKILL.md in the repositoryCheckingcli-tool/components/skills/railway/service/SKILL.md
Popularity
- Repository stars
- 26,899
- Repository forks
- 2,714
- Repository npm downloads, 7 days
- 4,666
- 7-day trend score
- 71
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 7 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/davila7/claude-code-templates/service)