lbb-integrate

lbb-integrate is a skill for Claude Code from littlebigbrains/lbb-mcp. It costs 81 tokens per session (817 once invoked), scanned A, original, Apache-2.0.

A coding guide for adding Little Big Brain to an application as a memory, search, or retrieval service. It covers the TypeScript and Python clients, storing facts, and reading them back over HTTP.

In plain words
What is it for?
It helps developers choose an SDK, model application data as facts, avoid duplicate writes after retries, and connect to a Little Big Brain graph.
Why use it?
It removes the need to design the connection and data-handling approach from scratch when an application needs durable facts or meaning-based retrieval.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the little-big-brain plugin — 2 skills, 1 MCP server shipped together

Good fit It helps developers choose an SDK, model application data as facts, avoid duplicate writes after retries, and connect to a Little Big Brain graph.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/littlebigbrains/lbb-mcp/lbb-integrate
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.

Any agent
npx skills add littlebigbrains/lbb-mcp --skill lbb-integrate
Clone the repo
git clone --depth 1 https://github.com/littlebigbrains/lbb-mcp

Made for: Claude Code.

Or install little-big-brain, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 lbb-integrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/littlebigbrains/lbb-mcp/lbb-integrate/github.svg)](https://agentmods.dev/skills/littlebigbrains/lbb-mcp/lbb-integrate)
Your own site
<a href="https://agentmods.dev/skills/littlebigbrains/lbb-mcp/lbb-integrate"><img src="https://agentmods.dev/badge/skills/littlebigbrains/lbb-mcp/lbb-integrate/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 lbb-integrate

Your own site · 80×15
<a href="https://agentmods.dev/skills/littlebigbrains/lbb-mcp/lbb-integrate"><img src="https://agentmods.dev/badge/skills/littlebigbrains/lbb-mcp/lbb-integrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 817 The whole file, excluding the scripts and references it only reads on demand.
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.00081 $0.00817
Opus 5.5 $0.00032 $0.00327
Sonnet 5.5 $0.00016 $0.00163
Haiku 4.5 $0.00008 $0.00082

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

Security

Grade A, and why

lbb-integrate 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 yesterday.

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-plugin/skills/lbb-integrate/SKILL.md · 78 lines

How it starts

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

Adding Little Big Brain to an app

This skill is for code that talks to Little Big Brain. To work with a graph from the conversation, use the connected tools and the lbb-remote skill.

An app reaches Little Big Brain over HTTP. It sends an environment API key as a bearer token. The key comes from Connect in the console. Use a generated client instead of hand-written requests. Read concepts for the data model and the consistency rules.

Pick the client

  • TypeScript: npm i @littlebigbrain/client

    import { LbbClient } from "@littlebigbrain/client";
    const lbb = new LbbClient({ baseUrl, apiKey, graph: "main" });
    
  • Python: pip install littlebigbrain. The package imports as lbb. It has a sync LbbClient and an async AsyncLbbClient.

    from lbb import LbbClient
    with LbbClient(base_url, api_key=api_key, graph="main") as lbb:
        ...
    

Both clients wrap the same generated types, so request and response shapes match the API contract. A client instance is scoped to one graph. The client docs are at https://docs.littlebigbrain.com/sdks/typescript/ and https://docs.littlebigbrain.com/sdks/python/.

Model the domain

Store durable facts about stable things:

  • Entities: users, services, tickets, documents, customers, incidents, repositories, features. Each has a stable IRI and a label.
  • Relations: typed links between entities, such as dependsOn, writesTo, or authoredBy.
  • Evidence: the text or source that supports a fact. Keep it. It makes results explainable.

Map the isolation of your app to Little Big Brain scope. A customer or workspace maps to an environment. A product, memory, or docs collection maps to a graph.

The integration loop

  1. Extract entities, relations, confidence, and evidence from events or documents.
  2. Write the facts with a stable idempotency key. A retry with the same key does not duplicate facts.
  3. For read-after-write, pass the commit sequence of the write as min_indexed_seq. A SPARQL read with that floor and no consistency is strong, so it sees the commit at once. With eventual, it returns read_your_writes_pending until publication reaches the floor.
  4. Retrieve with SPARQL or search by meaning. Pass only bounded, evidence-backed results to the model.
  5. Store decisions and memories that the user approves as new facts.

Read the full file on GitHub · 78 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. yesterday First seen · 78 lines · 81 tokens per session scan A d9a4a508b535

Subscribe to this mod's changes

lbb-integrate is a skill published in the GitHub repository littlebigbrains/lbb-mcp (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 81 tokens to every session and 817 once invoked, about $0.0003 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-11-30.

Related

lbb-integrate compared with skills from other repositories

lbb-integrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lbb-integratelittlebigbrains/lbb-mcpSkill1yesterdayApache-2.0A81Claude Code
azure-search-documents-pysickn33/agentic-awesome-skillsSkill51kyesterdayMITA31Claude Code
azure-search-documents-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA102Claude Code
azure-search-documents-tsmicrosoft/skillsSkill3.3kyesterdayMITA48Claude Code
convex-agentopenclaw/clawhubSkill9.6ktodayMITA25Claude Code, Codex
polyrepo-boundariesxberg-io/xbergSkill9.6kyesterdayMITA13Claude Code, Codex
wegent-knowledgewecode-ai/WegentSkill896todayApache-2.0A60Claude Code, Codex