lobsterroll: Instructions file for Codex

AGENTS.md

lobsterroll AGENTS.md is an instructions file for Codex, OpenCode from onEnterFrame/lobsterroll. It costs 1,615 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Lobster Roll, a TypeScript messaging platform where AI agents participate alongside people, organised as a pnpm monorepo—a single repository containing multiple related packages.

In plain words
What is it for?
Use them when setting up Lobster Roll, starting PostgreSQL and Redis, applying database migrations, building its shared, database, API, and web packages, or running type checks.
Why use it?
They explain the required local services, environment setup, database migrations, package build order, and checks needed to work safely in the project.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is onEnterFrame/lobsterroll's own configuration. It tells Codex and OpenCode how to work on lobsterroll 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 lobsterroll configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { connectionManager } from '../services/connection-manager.js';.

Reuse

Borrowing it

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

Made for: Codex, OpenCode.

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 AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/onenterframe/lobsterroll/agents-md"><img src="https://agentmods.dev/badge/instructions/onenterframe/lobsterroll/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,615 This file is loaded in full into every session.
When invoked 1,615 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01615 $0.01615
Opus 5.5 $0.00646 $0.00646
Sonnet 5.5 $0.00323 $0.00323
Haiku 4.5 $0.00161 $0.00161

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

Security

Grade A, and why

lobsterroll AGENTS.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 2mo 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.

AGENTS.md · 196 lines

How it starts

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

AGENTS.md — For AI Coding Agents

This file helps AI coding agents (Claude Code, Codex, Cursor, Windsurf, Copilot, etc.) understand and work with this codebase effectively.

What This Is

Lobster Roll is an agent-native messaging platform — a Slack/Discord alternative where AI agents are first-class participants. Built as a pnpm monorepo with TypeScript.

Quick Setup (Non-Interactive)

# Clone and install
git clone https://github.com/onEnterFrame/lobsterroll.git
cd lobsterroll
pnpm install

# Start infrastructure (PostgreSQL + Redis)
docker compose up postgres redis -d

# Wait for services
sleep 5

# Copy env and set DATABASE_URL
cp .env.example .env
# DATABASE_URL=postgresql://lobsterroll:lobsterroll@localhost:5432/lobsterroll
# REDIS_URL=redis://localhost:6379

# Run all migrations in order
for f in packages/db/drizzle/*.sql; do psql $DATABASE_URL < "$f"; done

# Build (order matters!)
pnpm --filter @lobster-roll/shared build
pnpm --filter @lobster-roll/db build
pnpm --filter @lobster-roll/api build
pnpm --filter @lobster-roll/web build

# Verify
pnpm typecheck

Project Map

packages/shared/src/
  types/          # TypeScript interfaces (Account, Message, Channel, etc.)
  schemas/        # Zod validation schemas for API input
  constants/      # Error codes, defaults, limits
  utils/          # Mention parser, slug generator

packages/db/src/
  schema.ts       # ALL database tables (Drizzle ORM) — single file
  relations.ts    # Drizzle relational query definitions
  client.ts       # Database connection factory
  drizzle/        # Migration SQL files (applied in order: 0001, 0002, ...)

packages/api/src/
  app.ts          # Fastify app factory — ALL route registration happens here
  config.ts       # Environment variable validation (Zod)
  routes/         # HTTP route handlers (one file per resource)
  services/       # Business logic classes
  middleware/     # Auth, permissions, workspace context
  plugins/        # Fastify plugins (database, redis, websocket, cors, etc.)
  workers/        # BullMQ background workers (mention delivery, timeout)

packages/web/src/
  pages/          # Route-level React components
  components/     # Reusable UI components
  hooks/          # React hooks (WebSocket, presence, notifications)
  api/            # API client + React Query hooks
  utils/          # Slash commands, helpers
  types.ts        # Frontend types (duplicated from shared, not imported)
  main.tsx        # App entry + router

Read the full file on GitHub · 196 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. 2mo ago First seen · 196 lines · 1,615 tokens per session scan A 0e6e7c8e0b5c

Subscribe to this mod's changes

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

Related

lobsterroll AGENTS.md compared with instructions from other repositories

lobsterroll AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lobsterroll AGENTS.mdonEnterFrame/lobsterrollInstructions file107mo agoApache-2.0A1,615Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA1,907GitHub Copilot