station: Instructions file for Claude Code

CLAUDE.md

station CLAUDE.md is an instructions file for Claude Code from cloudshipai/station. It costs 8,364 tokens per session, scanned C, original, Apache-2.0.

Repository instructions for Station, a self-hosted platform for creating AI agents that work across development environments. They document its architecture, current state, known issues, and compatibility workarounds.

In plain words
What is it for?
Use them when developing Station's agent handlers, tool registration, environment integrations, and modular architecture.
Why use it?
They help developers avoid a known GenKit version problem that can make registered tools unavailable and provide context for maintaining the system.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: names the TodoWrite tool; mentions Claude Code; mentions OpenCode.

This is cloudshipai/station's own configuration. It tells Claude Code how to work on station itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything station configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/projects.

Reuse

Borrowing it

Nothing to install: this file belongs to cloudshipai/station. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cloudshipai/station/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/cloudshipai/station

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for station CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cloudshipai/station/claude-md/github.svg)](https://agentmods.dev/instructions/cloudshipai/station/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cloudshipai/station/claude-md"><img src="https://agentmods.dev/badge/instructions/cloudshipai/station/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for station CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cloudshipai/station/claude-md"><img src="https://agentmods.dev/badge/instructions/cloudshipai/station/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,364 This file is loaded in full into every session.
When invoked 8,364 The same file — it is already loaded in full.
Security scan C 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.08364 $0.08364
Opus 5.5 $0.03346 $0.03346
Sonnet 5.5 $0.01673 $0.01673
Haiku 4.5 $0.00836 $0.00836

Measured 2mo ago against content hash 439a6fbe19ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

station CLAUDE.md scanned grade C with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sSL https://install.station.dev | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

RUN apt-get update && apt-get install -y curl wget netcat

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

os.system(f"tar -czf {filename} /data/") # COMMAND INJECTION!
CLAUDE.md · 894 lines

How it starts

The opening of the file, as written. The whole thing — 894 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Agent Context for Station Development

Project Overview

Station is a secure, self-hosted platform for creating intelligent multi-environment MCP agents that integrate with Claude. The system allows users to build AI agents that understand development workflows, manage sensitive tools across environments, and run automated background tasks.

Current System State

⚠️ Known Issues

GenKit v1.2.0 Incompatibility
  • Status: Station pinned to GenKit v1.1.0 (working)
  • Issue: GenKit v1.2.0+ breaks tool registration with child registry pattern
  • Impact: "tool not found" errors on both OpenAI and Gemini
  • Root Cause: PR #3753 changed tools to register in child registry instead of parent
  • Workaround: Stay on v1.1.0 (stable, tested, works perfectly)
  • Documentation: See docs/GENKIT_V1.2.0_INCOMPATIBILITY.md for full details
  • Future Action: Need to adapt tool registration pattern or report upstream

✅ Completed Major Architecture Overhaul

  • Modular Handler Architecture: ✅ Complete - Split 5 large files (5,777 lines) into 43 focused modules

    • All handler modules now under 500 lines for maximum maintainability
    • Clean separation of concerns with agent/, file_config/, load/, mcp/, webhooks/ modules
    • Shared utilities in common/ module for DRY code organization
  • File-Based Configuration System: ✅ Fully Migrated from database-based to file-based MCP configs

    • GitOps-ready configuration management with Go template support
    • Template variable resolution for environment-specific deployments
    • Removed old mcp_configs, template_variables, and related database tables
    • Updated all services, handlers, and TUI components to use file-based system
  • CLI Agent Execution: ✅ Implemented with clean server/fallback architecture

    • Server Mode: Uses POST /api/v1/agents/:id/queue with ExecutionQueueService for full execution
    • Fallback Mode: Provides simplified execution when server not available
    • Clean DRY: Reuses existing execution architecture, no code duplication
    • Webhook Support: Full webhook notifications work in server mode
    • Graceful Degradation: Clear messaging about mode limitations

Read the full file on GitHub · 894 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 894 lines · 8,364 tokens per session scan C 439a6fbe19ec

Subscribe to this mod's changes

station CLAUDE.md is an instructions file published in the GitHub repository cloudshipai/station (430 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 8,364 tokens to every session, about $0.0335 per session on Opus 5.5. A static security scan graded it C with 3 findings (downloads and executes remote code, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

station CLAUDE.md compared with instructions from other repositories

station CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
station CLAUDE.mdcloudshipai/stationInstructions file4309mo agoApache-2.0C8,364Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode