# Brain Ops

Brain knowledge base operations.

- Repository: https://github.com/garrytan/gbrain (31427 stars)
- Category: Writing
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add garrytan/gbrain --skill brain-ops -g -a claude-code -y`
Codex: `npx skills add garrytan/gbrain --skill brain-ops -g -a codex -y`
Cursor: `npx skills add garrytan/gbrain --skill brain-ops -g -a cursor -y`
Gemini CLI: `npx skills add garrytan/gbrain --skill brain-ops -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add garrytan/gbrain`

## Description

Brain knowledge base operations. The core read/write cycle: brain-first lookup, read-enrich-write loop, source attribution, ambient enrichment, back-linking. Read this before any brain interaction.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Brain Operations, The Ambient Context Layer

Recall relevant context before responding. Save explicit requests with
provenance; automatic capture is off until the user opts in. Reading this skill
does not enable capture, delegation, or paid enrichment. A chat-only instruction
suppresses writes for that turn, including when standing capture is enabled.

> **Convention:** See `skills/conventions/brain-first.md` for the lookup chain and copyable retrieval filters.
> **Convention:** See `skills/conventions/quality.md` for citation and back-link rules.

The rest: https://github.com/garrytan/gbrain/blob/HEAD/plugin-variants/gbrain-coding/skills/brain-ops/SKILL.md
