Borg — Data skill for Claude Code
One brain, many hands: shared local memory (mem0 + Graphiti) for Claude/Codex/Grok agents, a grammar-shim data flywheel, LoRA students with honest promotion gates, and a steerable Codex conductor flee.
How to install Borg
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open h3ro-dev/borg and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Borg does
One brain, many hands: shared local memory (mem0 + Graphiti) for Claude/Codex/Grok agents, a grammar-shim data flywheel, LoRA students with honest promotion gates, and a steerable Codex conductor fleet. MIT.
Alternatives in Data
- OpenViking — Self-evolving Context Database for AI Agents 33.3k ★
- Opencode Mem — OpenCode plugin that gives coding agents persistent memory using local vector database 1.5k ★
- Claude Code Memory Setup — Up to 71.5x fewer tokens per session on Claude Code with Obsidian + Graphify 947 ★
README
The Borg
One brain, many hands. The Borg is a local-first shared memory system for AI agents: every agent session on the machine — Claude Code, Codex, Grok — reads from and writes to the same memory, so anything one agent learns, every agent knows. The collective grows every session.
It is not a framework you adopt. It is the working machinery of a real single-operator estate, extracted, scrubbed, and published: the recall layer, the temporal knowledge graph, the fine-tuned local extraction models, the promotion gates that keep them honest, and the conductor that turns ChatGPT-account Codex seats into a steerable worker fleet.
┌────────────┐ ┌────────────┐ ┌────────────┐
│ Claude Code│ │ Codex │ │ Grok │
└─────┬──────┘ └─────┬──────┘ └─────┬──────┘
│ MCP + hooks │ MCP + hooks │
▼ ▼ ▼
┌─────────────────────────────────────────────┐
│ mem0 recall layer │ ← facts (vector store)
│ local LLM extraction + filters │
└──────────────────────┬──────────────────────┘
▼
┌─────────────────────────────────────────────┐
│ Graphiti temporal knowledge graph │ ← entities, relations, time
│ grammar-locked local models via the shim │
└──────────────────────┬──────────────────────┘
▼
┌─────────────────────────────────────────────┐
│ LoRA students (this repo's adapters/) │ ← tiny local models learning
│ exam → canary → promote, or stay benched │ the teachers' jobs
└─────────────────────────────────────────────┘
What is in this repo
| Directory | What it holds |
|---|---|
adapters/ |
Trained LoRA adapters for local extraction students, with honest model cards — including the one that failed its promotion canary and why |
memory/ |
The mem0 |
Related Skills
Open Brain
Semantic memory for AI agents. Postgres + pgvector + MCP. Capture, classify, retrieve.
CBA
A brain-inspired AI agent with 7-phase neural pipeline, real-time memory consolidation, and evolving personali
Memfork
Git for AI agent memory. An embedded in-memory database with fork, merge, discard and rewind. Works with Claud
Shared Memory
Memory Framework based on the idea of Architectural Decision Records, shared knowledge between AI agents (Clau
Flywheel Duel
Run a state-aware /dueling-idea-wizards duel. Routes artifacts into the flywheel pipeline (discovery, plan, re
Claude Fit Logger
Log food to Google Health by talking to Claude — automatic nutrition lookup via USDA/Open Food Facts, an MCP s
Related Agents
Loom Codex Forwarder
Forwarding shim for the loom codex implementation lane. Receives a fully-specified implementation task, hands
Content SEO
Produces public SEO content briefings, drafts, reviews, and promotion checks with hard decision/check gates.
Leah
Researcher. Read-only plus web: gathers evidence from the repository, the brain and the web, and returns findi