railtracks copilot-instructions.md

railtracks copilot-instructions.md is an instructions file for GitHub Copilot from RailtownAI/railtracks. It costs 3,308 tokens per session, scanned A, original, MIT.

A project instruction file for Railtracks, a Python framework for building AI-agent systems. It describes the package layout, required Python and uv setup, and optional feature packages.

In plain words
What is it for?
Use it when setting up Railtracks, installing all or selected optional features, importing the SDK, or working in its uv workspace.
Why use it?
It helps contributors install the right development dependencies and understand where the public SDK and its package dependencies live.

Instructions file for GitHub Copilot

Install

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.

agentmods
npx agentmods add instructions/railtownai/railtracks/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/RailtownAI/railtracks

Made for: GitHub Copilot.

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 railtracks copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/railtownai/railtracks/copilot-instructions.svg)](https://agentmods.dev/instructions/railtownai/railtracks/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/railtownai/railtracks/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/railtownai/railtracks/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,308 This file is loaded in full into every session.
When invoked 3,308 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.03308 $0.03308
Opus 5 $0.01654 $0.01654
Sonnet 5 $0.00662 $0.00662
Haiku 4.5 $0.00331 $0.00331

Measured 5d ago against content hash d1c6df427889, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

railtracks copilot-instructions.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 5d 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.

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.

.github/copilot-instructions.md · 360 lines

How it starts

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

Railtracks Development Instructions

Always reference these instructions first and fall back to search or bash commands only when you encounter unexpected information that does not match the info here.

Repository Overview

Railtracks is a Python framework for building agentic systems. The repository is a uv workspace containing a single published package:

  • packages/railtracks/ — the SDK. Everything public is re-exported at the package root and used as import railtracks as rt.

The root pyproject.toml holds workspace config and dev tooling only (docs, test, lint dependency groups). Package dependencies — including every optional extra — live in packages/railtracks/pyproject.toml.

Working Effectively

Prerequisites

  • Python 3.10+ (requires-python = ">=3.10"). CI runs 3.10.
  • uv for dependency management.

Development Environment Setup

uv sync --group dev                              # docs + test + lint tooling
uv pip install -e "packages/railtracks[all]"     # SDK with all optional extras

The SDK is deliberately thin by default; features gate behind extras declared in packages/railtracks/pyproject.toml (visual, retrieval, chroma, portkey, stores-*, …).

retrieval is not part of [all]. Install it explicitly when working on the RAG stack:

uv pip install -e "packages/railtracks[all,retrieval]"

Build and Test Commands

Linting and formatting (runs in ~1 second)

ruff is configured in the root pyproject.toml: line-length 88, target py310.

# What CI checks
ruff check . --no-fix
ruff format --check .

# What you run locally to fix it
ruff check --fix
ruff format
Testing (pytest, asyncio_mode = "auto")

Live LLM tests (tests/llm_live_tests) and retrieval end-to-end tests are excluded by addopts in the root pyproject.toml, so a bare pytest never needs an API key.

# The core suite, matching CI
pytest -s -v \
  --ignore=packages/railtracks/tests/unit_tests/retrieval \
  packages/railtracks/tests/unit_tests/ packages/railtracks/tests/integration_tests/

# Retrieval suite (needs the retrieval extra)
pytest -s -v packages/railtracks/tests/unit_tests/retrieval/

# A single test
pytest packages/railtracks/tests/unit_tests/path/to/test_file.py::test_name

Read the full file on GitHub · 360 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. 5d ago First seen · 360 lines · 3,308 tokens per session scan A d1c6df427889

Subscribe to this mod's changes

railtracks copilot-instructions.md is an instructions file published in the GitHub repository RailtownAI/railtracks (148 stars, last pushed yesterday), licensed MIT. It adds 3,308 tokens to every session, about $0.0165 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-30.

Related

Other instructions, from other repositories