Station provides an OpenCode skill plugin that teaches OpenCode how to use the Station CLI effectively.
What’s Included
| Component | Description |
|---|
| station | Core CLI reference - commands, agent format, workflows |
| station-config | Configuration 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:
- Station CLI installed: See Installation
- Station initialized: Run
stn init to set up your workspace
- 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?
| Feature | OpenCode Plugin | Claude Code Plugin |
|---|
| Skills | Yes (2 skills) | Yes (2 skills) |
| MCP Tools | No | Yes (55+ tools) |
| Slash Commands | No | Yes (4 commands) |
| Installation | bunx one-liner | Plugin 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
- Verify installation succeeded:
bunx @cloudshipai/station-skill install
- Check OpenCode skill directory:
ls ~/.config/opencode/skills/
# Should show station.md and station-config.md
- Restart OpenCode after installation
Station Commands Failing
- Verify Station is installed:
- Verify Station is initialized:
- Check AI provider is configured:
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