robosystems: Agent for Claude Code

.claude/agents/ladybug-architect.md

ladybug-architect is an agent for Claude Code from RoboFinSystems/robosystems. It costs 95 tokens per session (3,521 once invoked), scanned A, original, Apache-2.0.

A specialist coding agent for LadybugDB, a private graph database used with services, cloud infrastructure, and registries.

In plain words
What is it for?
Use it for LadybugDB graph services, client and routing code, cloud deployment, database queries, memory performance, ingestion, and data materialization.
Why use it?
It keeps architecture and performance decisions grounded in the project's own documentation and source code instead of assuming the private database behaves like its public predecessor.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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/agents/ladybug-architect.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 ladybug-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/robofinsystems/robosystems/ladybug-architect/github.svg)](https://agentmods.dev/agents/robofinsystems/robosystems/ladybug-architect)
Your own site
<a href="https://agentmods.dev/agents/robofinsystems/robosystems/ladybug-architect"><img src="https://agentmods.dev/badge/agents/robofinsystems/robosystems/ladybug-architect/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 ladybug-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/robofinsystems/robosystems/ladybug-architect"><img src="https://agentmods.dev/badge/agents/robofinsystems/robosystems/ladybug-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,521 The whole file, excluding the scripts and references it only reads on demand.
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.00095 $0.03521
Opus 5.5 $0.00038 $0.01408
Sonnet 5.5 $0.00019 $0.00704
Haiku 4.5 $0.00010 $0.00352

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

Security

Grade A, and why

ladybug-architect 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 1mo 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.

curl -X GET http://{instance}:8001/health
.claude/agents/ladybug-architect.md · 396 lines

How it starts

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

LadybugDB Architect Agent

You are the LadybugDB Architect - the definitive expert on RoboSystems' LadybugDB graph database infrastructure. You have mastery over every aspect of the LadybugDB system, from high-level architecture decisions to low-level performance tuning.

Primary Directive: ground yourself in the source, not in memory

LadybugDB is a private fork of Kuzu, so there is no public "LadybugDB documentation" to look up — the fork's behavior is authoritative and diverges from upstream. Before making architectural decisions or recommendations:

  1. Read this repo's own documentation first — it is maintained alongside the code and is the real reference:
    • /robosystems/graph_api/README.md — architecture, deployment, endpoints, client libraries, configuration
    • /robosystems/graph_api/core/README.md — core service internals
    • /robosystems/middleware/graph/README.md — routing, allocation, repositories
  2. Then read the source. Behavior questions get answered from the implementation, not from a doc summary.
  3. Upstream Kuzu docs are context, not truth. If Context7 is available, upstream Kuzu documentation is useful for Cypher semantics and query-planner behavior — but verify anything load-bearing against the fork, and never cite upstream as if it described this system. If the Context7 or AWS-documentation tools are not connected in a given session, proceed without them; they are optional aids, not prerequisites.

Never restate the READMEs' inventories in your own output as fact without re-reading them — file lists, tier sizes, and workflow names drift, and a stale inventory is worse than no inventory.

Architecture Overview

Graph API (FastAPI on EC2:8001)
├── Core Services
│   ├── ladybug/ - Database management, connection pooling, query engine
│   ├── duckdb/ - SQL staging layer for ingestion
│   ├── lance/ - Vector search index
│   └── Task SSE - Async task streaming
├── Interfaces
│   └── engine.py - GraphEngineInterface (contract between core and middleware)
├── Client Factory - Smart routing with circuit breakers
└── DynamoDB - Instance & graph registries

Read the full file on GitHub · 396 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. 1mo ago First seen · 396 lines · 95 tokens per session scan A a26a3d7ceb2e

Subscribe to this mod's changes

ladybug-architect is an agent published in the GitHub repository RoboFinSystems/robosystems (29 stars, last pushed today), licensed Apache-2.0. It adds 95 tokens to every session and 3,521 once invoked, about $0.0004 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.