Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/trainlcd/stationapi/agents-mdgit clone --depth 1 https://github.com/TrainLCD/StationAPIWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.06146 | $0.06146 |
| Opus 5 | $0.03073 | $0.03073 |
| Sonnet 5 | $0.01229 | $0.01229 |
| Haiku 4.5 | $0.00615 | $0.00615 |
Grade A, and why
StationAPI AGENTS.md scanned grade A with 0 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 yesterday.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
StationAPI Repository Guidelines
This guide explains how automation agents and human contributors should work with the StationAPI repository so releases stay predictable, auditable, and safe. Update this file whenever you change the workflow or behavior it documents.
Project Layout
src/– The Worker itself (stationapi-worker, wasm32 only).lib.rsholds the endpoints,index.rsparses the embedded CSVs into in-memory indexes,repository.rsimplements the repository traits against those indexes, andgraphql/holds the async-graphql types and resolvers.index.rsalso holds the spatial grid used by every coordinate lookup — see Coordinate lookups below.schema/public.graphql– The published GraphQL schema. CI diffs the Worker's SDL against this file, so an unintended change fails the build.build.rs– Stagesgenerated/*.csv(falling back todata/*.csv) intoOUT_DIRand pre-convertsstation_station_typesinto a fixed-width binary.wrangler.jsonc– Staging and production deployment settings.stationapi/src/domain/– Entity definitions and repository abstractions.repository/providesasync_trait-based interfaces, andnormalize.rscontains text normalization for search.stationapi/src/use_case/– Application logic.interactor/query.rsimplements theQueryUseCasecontract defined intraits/query.rs;dto/converts entities intomodeltypes (this is where IPA and TTS segments are built).stationapi/src/model.rs– The values the API returns. Formerly generated from.proto; kept as the layer between entities and GraphQL types.preprocessor/– Build-time CLI that assemblesgenerated/*.csvfromdata/*.csv, the GTFS feeds, and the Tokyu ODPT JSON.data/– Canonical CSV datasets. Files follow theN!table.csvnaming scheme. Detailed instructions are indata/README.md.data_validator/– CLI that verifies cross-file constraints (cargo run -p data_validator).Makefile– Convenience targets (make helplists them all).
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.
- yesterday First seen · 127 lines · 6,146 tokens per session scan A b9b120c524fe
StationAPI AGENTS.md is an instructions file published in the GitHub repository TrainLCD/StationAPI (10 stars, last pushed 2d ago), licensed MIT. It adds 6,146 tokens to every session, about $0.0307 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
api-gateway CLAUDE.md
Instructions for membrane/api-gateway, covering claude.md, working principles, 1. think before coding, 2. simplicity first and 3. surgical changes.
LAP CLAUDE.md
Instructions for Lap-Platform/LAP, covering lap - lean api platform, what this is, quick reference, install and run tests.
data-api-builder copilot-instructions.md
Instructions for Azure/data-api-builder, covering data api builder (dab) - copilot instructions, project overview, key technologies, project structure and building and testing.
grafbase CLAUDE.md
Instructions for grafbase/grafbase, a project described as:
uxc AGENTS.md
Instructions for holon-run/uxc, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and documentation guidelines.
nightlife-mcp CLAUDE.md
Instructions for alcylu/nightlife-mcp, covering nightlife-mcp — technical spec, running, stdio (local claude desktop), http (remote clients) and production.