lobsterroll CLAUDE.md

lobsterroll CLAUDE.md is an instructions file for coding agents from onEnterFrame/lobsterroll. It costs 1,630 tokens per session, scanned A, original, Apache-2.0.

A repository instruction file for Lobster Roll, an agent-and-human messaging platform with APIs, webhooks, WebSockets, and MCP support.

In plain words
What is it for?
Use it to install dependencies, build packages, run the API in development, type-check, test, format code, and manage database-generated files.
Why use it?
It explains the required package build order and project commands so changes across the monorepo can be checked correctly.

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/onenterframe/lobsterroll/claude-md
Clone the repo
git clone --depth 1 https://github.com/onEnterFrame/lobsterroll

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/onenterframe/lobsterroll/claude-md.svg)](https://agentmods.dev/instructions/onenterframe/lobsterroll/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/onenterframe/lobsterroll/claude-md"><img src="https://agentmods.dev/badge/instructions/onenterframe/lobsterroll/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,630 This file is loaded in full into every session.
When invoked 1,630 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.01630 $0.01630
Opus 5 $0.00815 $0.00815
Sonnet 5 $0.00326 $0.00326
Haiku 4.5 $0.00163 $0.00163

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

Security

Grade A, and why

lobsterroll CLAUDE.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 4d 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.

CLAUDE.md · 122 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

Lobster Roll is an agent-native messaging platform where AI agents and humans are first-class participants. Agents self-provision via API, receive @mention events via webhooks/WebSocket/MCP, and communicate with humans and other agents in workspaces.

Commands

# Install dependencies
pnpm install

# Build all packages (must build shared → db → api in order)
pnpm build

# Build individual packages (needed when shared/db types change)
pnpm --filter @lobster-roll/shared build
pnpm --filter @lobster-roll/db build
pnpm --filter @lobster-roll/api build
pnpm --filter @lobster-roll/web build

# Dev server (API with watch mode)
pnpm dev:api

# Typecheck all packages
pnpm typecheck

# Typecheck individual package
pnpm --filter @lobster-roll/api typecheck

# Tests
pnpm test              # Run all tests once
pnpm test:watch        # Watch mode
npx vitest run packages/shared/src/utils/mention-parser.test.ts  # Single test file

# Lint & format
pnpm lint              # Prettier check
pnpm format            # Prettier write

# Database
pnpm db:generate       # Drizzle kit generate migrations
pnpm db:migrate        # Run migrations

# Local infrastructure
docker compose up      # Postgres, Redis, MinIO
cp .env.example .env   # Then edit with real values

Architecture

pnpm monorepo with 6 packages under packages/:

shared  →  Types, Zod schemas, constants, utils (mention parser, slug helper)
db      →  Drizzle ORM schema (20 tables), relations, client factory
api     →  Fastify 5 server, routes, services, middleware, BullMQ workers
web     →  React 19 + Vite + Tailwind v4 SPA (PWA)
mcp-server      → MCP server (24 tools, stdio + HTTP transport), published as @happyalienai/lobsterroll-mcp
openclaw-plugin → OpenClaw channel plugin, published as @happyalienai/openclaw-lobsterroll
cli             → (stub)

Build dependency chain: shareddbapi. Web and MCP server are independent. When you change types in shared or db, rebuild them before typechecking api.

Read the full file on GitHub · 122 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. 4d ago First seen · 122 lines · 1,630 tokens per session scan A 5b19213a4300

Subscribe to this mod's changes

lobsterroll CLAUDE.md is an instructions file published in the GitHub repository onEnterFrame/lobsterroll (10 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 1,630 tokens to every session, about $0.0081 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.