Skip to content

Query resource usage metrics for Railway services, including CPU, memory, network, and disk, to debug performance.

CCM score
73 of 100
skills.sh installs
276
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers resource usage questions such as memory consumption, CPU load, network traffic, and disk usage for a service
  • Designed for debugging performance issues and checking whether a service is healthy, with railway-service as a companion
  • Gets environmentId and serviceId from the linked project by running railway status --json first

Install

$ npx -y skills add davila7/claude-code-templates --skill railway-metrics -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Railway Service Metrics

Query resource usage metrics for Railway services.

When to Use

  • User asks "how much memory is my service using?"
  • User asks about CPU usage, network traffic, disk usage
  • User wants to debug performance issues
  • User asks "is my service healthy?" (combine with railway-service skill)

Prerequisites

Get environmentId and serviceId from linked project:

railway status --json

Extract:

  • environment.id → environmentId
  • service.id → serviceId (optional - omit to get all services)

MetricMeasurement Values

MeasurementDescription
CPU_USAGECPU usage (cores)
CPU_LIMITCPU limit (cores)
MEMORY_USAGE_GBMemory usage in GB
MEMORY_LIMIT_GBMemory limit in GB
NETWORK_RX_GBNetwork received in GB
NETWORK_TX_GBNetwork transmitted in GB
DISK_USAGE_GBDisk usage in GB
EPHEMERAL_DISK_USAGE_GBEphemeral disk usage in GB
BACKUP_USAGE_GBBackup usage in GB

MetricTag Values (for groupBy)

Details

Repository
github.com/davila7/claude-code-templates
Categories
DevOps & Cloud, Debugging
First seen
Jun 3, 2026

Questions

What does the railway-metrics skill do?

railway-metrics queries resource usage metrics for Railway services, including CPU, memory, network, and disk usage. It answers questions like how much memory a Railway service is using or whether a service is slow.

How do I install railway-metrics?

Run npx -y skills add davila7/claude-code-templates --skill railway-metrics -y in a project to install it. Once installed, railway-metrics lets the agent pull CPU, memory, network, and disk metrics for your linked Railway environment.

What does railway-metrics need to run?

railway-metrics depends on the Railway CLI, and it needs environment and service IDs taken from a linked project via railway status --json. You also need access to the project to query its metrics.

Where does railway-metrics stand in DevOps & Cloud?

railway-metrics sits in the DevOps & Cloud category on Claude Marketplaces, alongside skills such as azure-diagnostics and azure-deploy. Unlike those Azure skills, railway-metrics focuses on Railway service resource usage and performance metrics.

More from davila7/claude-code-templates

All 398

Similar to Railway Metrics

More DevOps & Cloud