Skip to content

DotbrainPrivate context for coding agents

Give each coding agent your project's decisions, vocabulary, and issues. Keep that context versioned and outside your code repo.

Dotbrain connected brain mark with a teal dotDotbrain connected brain mark with a teal dot

The repo stays clean ​

Each project's Brain and issue tracker live under ~/dotbrain/. Gitignored links and generated runtime files connect the code repo to that private home, so agents load the context at session start and private material stays out of commits.

Context that carries work forward ​

The Brain keeps project knowledge, the design captures current intent, and Beads tracks the issues. Focused skills connect them throughout the work.

  1. Load the context

    Start from the project's vocabulary and decisions. Surface constraints and open questions before changing code.

  2. Settle the design

    Record the approach, unknowns, and success criteria in a living design. Turn it into scoped issues.

  3. Work the issues

    Implement and check each change. Feed discoveries back into the design and affected issues.

  4. Review and learn

    Review the result, record the evidence, and keep useful decisions in the Brain for the next session.

For example, an unexpected API constraint becomes a design question before a workaround. Once settled, the design and issues carry that decision forward. Explore the skills.

Wire a project in four steps ​

  1. Install the plugin

    In Claude Code, send these as two separate prompts. For Codex, follow the installation guide.

    text
    /plugin marketplace add arminzou/dotbrain
    text
    /plugin install dotbrain@dotbrain
  2. Get the CLI

    Invoke wire-brain in your coding agent. It installs the CLI and prerequisites if needed, then wires the repo. For manual setup, follow the CLI installation guide.

  3. Wire a repo

    If you installed the CLI manually, create or repair the project's Brainspace and link it into the repo.

    bash
    dotbrain wire --repo ~/repos/my-app
  4. Check the wiring

    A read-only health check. Then start a fresh agent session in the repo.

    bash
    cd ~/repos/my-app
    dotbrain doctor

Read the docs ​

Released under the MIT License.