bobs-big-brain-plugin: Instructions file for Claude Code

AGENTS.md

bobs-big-brain-plugin AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from jeremylongshore/bobs-big-brain-plugin. It costs 2,846 tokens per session, scanned A, original, Apache-2.0.

A plug-in that acts as a governed knowledge base over personal files, with an optional team mode that connects to a shared network service.

In plain words
What is it for?
Working with a local knowledge base, or proxying requests to a shared governed-brain API when a team server is configured.
Why use it?
It provides one place for managing project knowledge either locally or through a team server.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: Claude Code plugin machinery, but also the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is jeremylongshore/bobs-big-brain-plugin's own configuration. It tells Claude Code, Codex and OpenCode how to work on bobs-big-brain-plugin 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 bobs-big-brain-plugin configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is pnpm -C ../bobs-big-brain-registrar build # refresh the Registrar dist/ FIRST — the bundle inlines compiled JS; stale dist = stale bundle.

Reuse

Borrowing it

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

Made for: Claude Code, 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 bobs-big-brain-plugin AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jeremylongshore/bobs-big-brain-plugin/agents-md.svg)](https://agentmods.dev/instructions/jeremylongshore/bobs-big-brain-plugin/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/jeremylongshore/bobs-big-brain-plugin/agents-md"><img src="https://agentmods.dev/badge/instructions/jeremylongshore/bobs-big-brain-plugin/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,846 This file is loaded in full into every session.
When invoked 2,846 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.02846 $0.02846
Opus 5 $0.01423 $0.01423
Sonnet 5 $0.00569 $0.00569
Haiku 4.5 $0.00285 $0.00285

Measured 8d ago against content hash e96e9d6180ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

bobs-big-brain-plugin 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 8d 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 · 153 lines

How it starts

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

AGENTS.md

Agent + developer guidance for the Bob's Big Brain plugin repo. Tool-agnostic; CLAUDE.md points here.

What this is

The unified, public Bob's Big Brain plugin — a Claude Code + Cowork plugin that runs as a single stdio MCP server in two modes:

  • local (default): an in-process governed brain over your own files (~/.teamkb) — no daemon, no network, no API key.
  • team (when TEAMKB_API_URL is set): a remote proxy to a shared governed-brain HTTP API over your network.

This is the installable code; the landing/thesis lives in the company umbrella repo.

Repo Role
This repo jeremylongshore/bobs-big-brain-plugin (personal, public) the plugin: MCP runtime (local + team) + skills
Umbrella intent-solutions-io/bobs-big-brain-umbrella (company) landing page, thesis, competitive teardown — points here
Engines jeremylongshore/{bobs-big-brain-compiler, bobs-big-brain-registrar} Bob's Big Brain Compiler (compile) + Bob's Big Brain Registrar (govern) — separate repos
Team marketplace intent-solutions-io/team-intent-claude-plugins (private) publishes this plugin (team mode) for the internal team

The old standalone intent-brain plugin is RETIRED. It used to live in qmd-team-intent-kb/.claude-plugin/ as a separate team-only plugin; it has been folded into this plugin's team mode and removed from the team marketplace (bead compile-then-govern-650.4). There is now ONE plugin for both local and team — do not resurrect a second one.

Architecture — the dual-mode dispatch (the part that matters)

src/index.ts is the dispatcher: it reads TEAMKB_API_URL and await import()s exactly one server (an unexpanded ${...} placeholder counts as unset → local):

  • src/local-server.ts — LOCAL mode. Drives qmd + the deterministic govern kernel + ~/.teamkb directly, in-process (imports @qmd-team-intent-kb/* + better-sqlite3). Full tool surface (6): brain_search / brain_status / brain_audit_verify (read) + brain_capture / brain_govern / brain_transition (write).
  • src/remote-server.ts — TEAM mode. Proxies to the Registrar HTTP API (apps/api) over the network with a per-user bearer token. Tool surface (7): brain_search and auth-free brain_status reads; brain_capture proposals; brain_inbox, brain_approve, and brain_reject admin review; and brain_transition admin lifecycle changes. No brain_govern (govern runs server-side), and brain_audit_verify remains local-only.

Read the full file on GitHub · 153 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. 8d ago First seen · 153 lines · 2,846 tokens per session scan A e96e9d6180ae

Subscribe to this mod's changes

bobs-big-brain-plugin AGENTS.md is an instructions file published in the GitHub repository jeremylongshore/bobs-big-brain-plugin (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 2,846 tokens to every session, about $0.0142 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.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens