Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloudshipai.com/llms.txt

Use this file to discover all available pages before exploring further.

Station provides an OpenCode skill plugin that teaches OpenCode how to use the Station CLI effectively.

What’s Included

ComponentDescription
stationCore CLI reference - commands, agent format, workflows
station-configConfiguration deep-dive - all config options explained
Unlike Claude Code, OpenCode doesn’t have an MCP integration or slash commands. The plugin provides skills only - comprehensive guides that teach OpenCode how to work with Station.

Quick Start

Install the Plugin

bunx @cloudshipai/station-skill install
This installs the Station skills to your OpenCode configuration.

Verify Installation

After installation, the skills are available in OpenCode:
# Load the Station skill
/skill station

# Now ask questions or give commands
Create an agent that analyzes CloudWatch logs

Prerequisites

Before using the plugin:
  1. Station CLI installed: See Installation
  2. Station initialized: Run stn init to set up your workspace
  3. OpenCode installed: OpenCode installation guide
# Verify Station
stn --version

# Initialize Station
stn init

# Verify OpenCode
opencode --version

Available Skills

station

The core Station skill - load it with /skill station. Covers:
  • Agent Management: Create, run, list, update, delete agents
  • Dotprompt Format: YAML frontmatter + Handlebars templates
  • MCP Tools: Station’s 55+ MCP tools for external integrations
  • Workflows: State machine orchestration patterns
  • Environments: Separate dev/staging/prod configurations
  • Bundles: Package and distribute agent collections

station-config

Configuration deep-dive - load it with /skill station-config. Covers:
  • Global Config: ~/.config/station/config.yaml structure
  • AI Providers: OpenAI, Anthropic, Azure, Ollama setup
  • Coding Backends: OpenCode, Claude Code integration
  • CloudShip Platform: Registration and management
  • OAuth: Provider authentication flows
  • Environment Variables: All supported env vars

Usage Examples

Creating an Agent

/skill station

Create a Station agent called "Log Analyzer" that:
- Uses Claude 3.5 Sonnet
- Has access to file reading tools
- Analyzes log files for errors and patterns

Building a Workflow

/skill station

Create a Station workflow that:
1. Receives an alert from PagerDuty
2. Investigates the issue automatically
3. Requires human approval before remediation
4. Documents the resolution

Configuration Help

/skill station-config

How do I configure Station to use Azure OpenAI instead of OpenAI directly?

Skills vs MCP Tools

FeatureOpenCode PluginClaude Code Plugin
SkillsYes (2 skills)Yes (2 skills)
MCP ToolsNoYes (55+ tools)
Slash CommandsNoYes (4 commands)
Installationbunx one-linerPlugin marketplace
OpenCode’s plugin provides skills only. For MCP tool integration, use the Station CLI directly:
# Run agents via CLI
stn agent run "My Agent" "task description"

# List agents
stn agent list

# Execute workflows
stn workflow run "My Workflow" --input '{"key": "value"}'

Troubleshooting

Skills Not Loading

  1. Verify installation succeeded:
bunx @cloudshipai/station-skill install
  1. Check OpenCode skill directory:
ls ~/.config/opencode/skills/
# Should show station.md and station-config.md
  1. Restart OpenCode after installation

Station Commands Failing

  1. Verify Station is installed:
stn --version
  1. Verify Station is initialized:
stn env list
  1. Check AI provider is configured:
stn provider status

Manual Installation

If the automated installer doesn’t work, you can manually copy the skills:
# Clone the Station repo
git clone https://github.com/cloudshipai/station.git

# Copy skills to OpenCode
mkdir -p ~/.config/opencode/skills
cp station/station-skill/skills/*.md ~/.config/opencode/skills/

Next Steps

Agent Development

Create custom AI agents

Workflows

Multi-step orchestration

Bundles

Package and distribute agents

Claude Code Plugin

Full MCP integration for Claude Code