robosystems: Instructions file for Claude Code

CLAUDE.md

robosystems CLAUDE.md is an instructions file for Claude Code from RoboFinSystems/robosystems. It costs 6,611 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is RoboFinSystems/robosystems's own configuration. It tells Claude Code how to work on robosystems 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 robosystems configures →

Reuse

Borrowing it

Nothing to install: this file belongs to RoboFinSystems/robosystems. 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/RoboFinSystems/robosystems/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/RoboFinSystems/robosystems

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/robofinsystems/robosystems/claude-md/github.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/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 robosystems CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/robofinsystems/robosystems/claude-md"><img src="https://agentmods.dev/badge/instructions/robofinsystems/robosystems/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,611 This file is loaded in full into every session.
When invoked 6,611 The same file — it is already loaded in full.
Security scan A 1 finding. 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.06611 $0.06611
Opus 5.5 $0.02644 $0.02644
Sonnet 5.5 $0.01322 $0.01322
Haiku 4.5 $0.00661 $0.00661

Measured 11d ago against content hash e6aa9052e2e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 11d 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.

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 · 555 lines

How it starts

The opening of the file, as written. The whole thing — 555 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 reads → POST /extensions/{graph_id}/graphql (Strawberry + GraphiQL in dev)
  • Command writes → POST /extensions/{roboledger|roboinvestor}/{graph_id}/operations/{operation_name}
  • Analytical view operations → POST /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 (pivot tables over the XBRL hypercube), financial-statement-analysis, and the pair disclosures (the map of a report's sections) / information-block (one section read whole — xbrlkit's own tools run over the report held whole: the published holon on sec, the report bundle on a tenant; the graph is not in that path); 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.

Read the full file on GitHub · 555 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. 11d ago Changed · +60 tokens per session e6aa9052e2e1
  2. 12d ago Changed fe75130ff860
  3. 21d ago Changed · +11 tokens per session ba08e0681d8a
  4. 1mo ago Changed · +9 lines · +374 tokens per session 04e4ff925fdf
  5. 1mo ago Changed · +85 tokens per session f292d1ce0fbd
  6. 1mo ago Changed · +2 tokens per session 540eba1b67db
  7. 1mo 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 (29 stars, last pushed today), licensed Apache-2.0. It adds 6,611 tokens to every session, about $0.0264 per session on Opus 5.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.

Related

Other instructions, from other repositories