robosystems CLAUDE.md

robosystems CLAUDE.md is an instructions file for coding agents from RoboFinSystems/robosystems. It costs 6,081 tokens per session, scanned A, original, Apache-2.0.

Development instructions for RoboSystems, including Python, Docker, configuration, database migration, API, and extension rules.

In plain words
What is it for?
Use them when running tests and services, changing configuration, creating migrations, testing versioned APIs, or working with graph-scoped extensions.
Why use it?
They prevent project-specific mistakes such as using unsupported commands, bypassing centralized settings, or placing requests at the wrong API paths.

Instructions file

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/robofinsystems/robosystems/claude-md
Clone the repo
git clone --depth 1 https://github.com/RoboFinSystems/robosystems

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 robosystems CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/robofinsystems/robosystems/claude-md.svg)](https://agentmods.dev/instructions/robofinsystems/robosystems/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/robofinsystems/robosystems/claude-md"><img src="https://agentmods.dev/badge/instructions/robofinsystems/robosystems/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 6,081 This file is loaded in full into every session.
When invoked 6,081 The same file — it is already loaded in full.
Security scan A 1 finding. 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.06081 $0.06081
Opus 5 $0.03040 $0.03040
Sonnet 5 $0.01216 $0.01216
Haiku 4.5 $0.00608 $0.00608

Measured today against content hash 540eba1b67db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

robosystems CLAUDE.md scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

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

- **Frontend-facing auth** (JWT/Bearer) is a frontend concern; backend testing with `curl` should use the API key.
CLAUDE.md · 546 lines

How it starts

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

CLAUDE.md - RoboSystems Development Guide

Critical Rules

All Python commands MUST use uv run:

uv run python script.py    # NOT: python script.py
uv run pytest              # NOT: pytest
uv run ruff check          # NOT: ruff check

Always use Docker profile robosystems - never individual service profiles:

just start                 # Uses robosystems profile by default
just start robosystems     # Explicit form (same result)
                           # NOT: just start api

Never use os.getenv() directly - use centralized config:

from robosystems.config import env
database_url = env.DATABASE_URL  # NOT: os.getenv("DATABASE_URL")

Never create migrations manually - always autogenerate:

just migrate-create "description"  # NOT: manual alembic revision

API Endpoints (local testing)

Core platform APIs are mounted under /v1 (graphs, billing, auth, etc.). Extensions (roboledger, roboinvestor) live under /extensions and are graph-scoped at the URL level, with three sub-surfaces:

  • Typed readsPOST /extensions/{graph_id}/graphql (Strawberry + GraphiQL in dev)
  • Command writesPOST /extensions/{roboledger|roboinvestor}/{graph_id}/operations/{operation_name}
  • Analytical view operationsPOST /extensions/{domain}/{graph_id}/operations/{view_name} — graph-backed operations that query LadybugDB rather than the extensions OLTP database. Read-only, same envelope contract as command writes. build-fact-grid is the first one (pivot tables over the XBRL hypercube); gated independently of the OLTP domain flags so deployments without the corresponding tenants can still mount them

All three surfaces take graph_id as a URL path parameter — auth + per-graph access are validated by FastAPI dependencies before the handler runs. GraphQL queries do NOT take a graphId argument; the URL is the scope.

Per-domain feature flags: ROBOLEDGER_ENABLED and ROBOINVESTOR_ENABLED gate the corresponding GraphQL resolvers and operation routers. The schema is built dynamically per flag combo, so a ledger-only deployment exposes only ledger fields (no INVESTOR_NOT_INITIALIZED runtime errors).

Read the full file on GitHub · 546 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. today Changed · +2 tokens per session 540eba1b67db
  2. 4d ago First seen · 546 lines · 6,079 tokens per session scan A 4e2cb4cdecff

Subscribe to this mod's changes

robosystems CLAUDE.md is an instructions file published in the GitHub repository RoboFinSystems/robosystems (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 6,081 tokens to every session, about $0.0304 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.