OnurByte

SmugBrain — AI skill for Claude Code

AI community

Local-first memory for AI coding agents.

How to install SmugBrain

This entry records only its repository, not the path inside it, so there is no exact command to give. Open OnurByte/smugBrain and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What SmugBrain does

Local-first memory for AI coding agents. Plain Markdown, decisions with sources, stale-decision guard, change-impact preview, eval gate. One Rust binary for Linux, macOS, Windows, FreeBSD, Haiku. No account, no cloud. Public domain.

Alternatives in AI

  • Semble Rs — Fast, AI-agent-native code search in Rust — hybrid BM25 + semantic, Tree-sitter AST chunking, dependency & imp 210 ★
  • Base — AI builder operating system 172 ★
  • Base V1 — AI builder operating system 94 ★

README

smugBrain: local-first memory for AI coding agents

release, tests, license, platforms, MCP

smugBrain: local-first memory for AI coding agents

**smugBrain** gives Claude Code, Codex, Cursor, Gemini CLI and other MCP tools a memory you own: plain Markdown notes plus one small binary, `smug`. It records decisions **with their sources**, never returns a decision that has been replaced, reminds your agent of **what already failed before it edits a file**, shows you **what a change will break before you make it**, and refuses to apply it if your own test questions start failing. No account. No cloud. No telemetry. Nothing to compile. Public domain.

Better than your brain. Objectively.

Install

Prebuilt binaries are on the **[Releases page](https://github.com/OnurByte/smugbrain/releases/latest)**. Or paste one line; the installer verifies the SHA-256 before it installs anything. (Each block below has a copy button in the top-right corner on GitHub.)

macOS, Linux (x86-64, ARM) and Haiku:

curl -fsSL https://raw.githubusercontent.com/OnurByte/smugbrain/main/install.sh | sh

FreeBSD (uses the built-in `fetch`; with `curl` installed the line above works too):

fetch -qo - https://raw.githubusercontent.com/OnurByte/smugbrain/main/install.sh | sh

Windows (PowerShell):

irm https://raw.githubusercontent.com/OnurByte/smugbrain/main/install.ps1 | iex

Connect your coding tool

smug init my-brain          # your memory: folders, rules, .gitignore
cd my-brain
smug agent install detected # connects every supported tool it finds on this computer

Restart your coding tool, then ask it: *"Use smug to recall what we decided about the database."* Nothing is overwritten: smug merges one entry into each tool's config, refuses files it cannot parse, and `--dry-run` shows what it would do