---
title: "Skill Issue, Writing /skills to solve agent failures"
description: "Agents driving Railway failed because they lacked platform knowledge: they guessed CLI flags, ignored the 30-tool MCP server unless told to call it, and invented features."
url: "https://swe.quest/articles/skill-issue-writing-skills-to-solve-agent-failures-84b24819a17adea0"
canonical: "https://blog.railway.com/p/skills-issue-writing-skills"
source: "Railway"
published: "2026-06-24"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["ai-agents","ai-coding","developer-tools"]
---

# Skill Issue, Writing /skills to solve agent failures

A post on [Railway](https://swe.quest/sources/railway.md), published 2026-06-24, 6 min read, Case study. Original: [https://blog.railway.com/p/skills-issue-writing-skills](https://blog.railway.com/p/skills-issue-writing-skills)

## Summary

Agents driving Railway failed because they lacked platform knowledge: they guessed CLI flags, ignored the 30-tool MCP server unless told to call it, and invented features. Railway fixed this with Agent Skills, first turning internal runbooks into skills scoped to allowed tools. They then published twelve public skills, but agents were bad at loading and unloading them on demand, so the set was collapsed into a single \`use-railway\` skill. In that skill, SKILL.md acts as a router that loads one or two intent-specific reference files and supporting scripts. A \`railway skills install\` CLI command distributes the skills to Claude Code, Cursor, Codex and other agent directories, with background auto-updates.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- LLM coding agents ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- Model Context Protocol basics

## Keywords

Railway, Agent Skills, SKILL.md, MCP, Claude Code, Cursor, Railway CLI

## Related posts

- [Agent Skills in 2026](https://swe.quest/articles/agent-skills-in-2026-5af883e143d09f0c.md): Neon · 2026-01-22 · Medium · 5 min read · AI agents, AI for coding, Developer tools, PostgreSQL
  Neon is launching neondatabase/agent-skills, a single \`using-neon\` skill installable via \`npx skills add\`, built on the Agent Skills spec that originated with Anthropic and became portable across Claude Code, Cursor, VS Code and others once Vercel's \`npx skills\` CLI solved distribution.
- [Less Dashboards. More Robots. Railway, for Agents](https://swe.quest/articles/less-dashboards-more-robots-railway-for-agents-d92651b984548ff3.md): Railway · 2026-06-03 · Easy · 11 min read · AI agents, Developer tools, Deployment, Cloud platforms
  Railway is repositioning its platform around coding agents, bundling the CLI, MCP configuration and agent skills behind a single installer (\`install.sh --agents -y\`) so harnesses like Claude or Codex can deploy, configure and debug services without the dashboard.
- [Agent experience and agent-led growth: a chat with Caelean Barnes](https://swe.quest/articles/agent-experience-and-agent-led-growth-a-chat-with-caelean-barnes-92e47c9e7361bcbe.md): Mux · 2026-11-03 · Easy · 21 min read · AI agents, AI for coding, Evaluation, Developer tools, Documentation
  Coding agents like Claude Code and Codex increasingly choose which developer tools get adopted, and Gauge measures that choice by running agents in sandboxes, checkpointing sessions, and testing variants of prompts, docs, skills and CLIs against success criteria over many trials.
- [Getting Started with Claude Skills](https://swe.quest/articles/getting-started-with-claude-skills-d47771a791983ab7.md): Neon · 2025-10-30 · Medium · 7 min read · AI for coding, AI agents, PostgreSQL
  Claude Skills are folders of markdown instructions (a SKILL.md entrypoint with name, description and steps) that Claude Code loads lazily: only each skill's name and description sit in global context, and the full workflow is pulled in when a request matches.
- [Agents hate friction: early thoughts on building for agents](https://swe.quest/articles/agents-hate-friction-early-thoughts-on-building-for-agents-c67afa5894bd3968.md): ClickHouse · 2026-06-29 · Easy · 9 min read · AI agents, Developer tools, Evaluation, LLMs
  Tools designed with good human developer experience (CLIs, SDKs) work with agents but often only adequately, because agents use them differently and abandon products when they hit friction.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
