Coding & Developmentโจgemini๐คclaude๐ฌgptโจ๏ธcursor๐universal
ai-brain-tool
Your personal AI memory, connected to all your AI tools
Quick Start
Install this Skill
npx skills add jorge-moreira/ai-brain-tool<div align="center"> <a href="#"><img src="https://raw.githubusercontent.com/jorge-moreira/ai-brain-tool/main/docs/logo.svg" height="150" alt="ai-brain-tool"/></a> <h3>Your personal AI memory, connected to all your AI tools</h3> <br> [](https://github.com/jorge-moreira/ai-brain-tool/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@jorge-moreira.dev/ai-brain-tool) [](https://www.npmjs.com/package/@jorge-moreira.dev/ai-brain-tool) [](https://github.com/sponsors/jorge-moreira) *Powered by* **[graphify](https://github.com/safishamsi/graphify)** <a href="https://graphifylabs.ai"><img src="https://raw.githubusercontent.com/safishamsi/graphify/v4/docs/logo-text.svg" width="260" height="64" alt="Graphify"/></a> > The knowledge graph engine that turns folders of notes, code, papers, and media into a queryable graph your AI tools can traverse. [Install](#install) ยท [Quick Start](#quick-start) ยท [Multiple Brains](#multiple-brains) ยท [Commands](#commands) ยท [Template Ownership](#template-ownership) ยท [Inside AI Tools](#inside-ai-tools) ยท [New Machine Setup](#new-machine-setup) ยท [Options](#options) ยท [Credits](#credits) </div> --- ## Install To install the tool globally: ```bash npm install -g @jorge-moreira.dev/ai-brain-tool ``` Then use anywhere: ```bash ai-brain <command> ``` > [!NOTE] > You can also opt to use the tool portable using: > ```bash > npx @jorge-moreira.dev/ai-brain-tool <command> > ``` --- ## Quick start Run the interactive wizard: creates your brain folder, installs graphify, configures every detected AI tool (Claude Code, OpenCode, Cursor, Gemini CLI, GitHub Copilot CLI, OpenAI Codex CLI), and optionally sets up Obsidian. ```bash npx @jorge-moreira.dev/ai-brain-tool setup ai-brain setup ``` --- ## Multiple brains The tool supports multiple brains. Brains configurations are stored in `~/.ai-brain-tool/config.json`. ### Brain identifier Every brain has a short identifier (e.g., `work`, `personal`) that identifies it. Use `--brain-id <id>` to target a specific brain: ```bash ai-brain <command> personal ai-brain <command> --brain-id personal ``` > [!NOTE] > If you're in a brain folder (or a subfolder), commands automatically detect which brain to use โ no need to specify the identifier. ### List brains ```bash ai-brain list ``` Shows all registered brains with their identifiers and paths. --- ## Commands ### `ai-brain setup` Run the interactive setup wizard. - **Fresh machine:** full wizard โ creates the brain folder, initialises git, installs graphify, configures AI tools, sets up Obsidian, prompts for brain identifier (defaults to folder name). - **Inside an existing brain folder** (e.g. after `git clone`): new-machine mode โ only recreates `.venv`, patches local AI tool configs, prompts for brain identifier (defaults to folder name). What the wizard configures per selected AI tool: - MCP server entry pointing to the brain's `graph.json` - `/brain` skill installed globally in the tool - Always-on context file written into the brain folder (`CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, `.cursor/rules/ai-brain.mdc`, or `.github/copilot-instructions.md`) Git options asked during setup: - Git repository or local folder only - Optional remote URL - Whether to commit the extraction cache (saves tokens on new machines) - **Auto-sync** โ whether `/brain update` should commit and push automatically after each graph rebuild ```bash ai-brain setup ``` --- ### `ai-brain update` Rebuild the knowledge graph from `raw/` using graphify. If auto-sync was enabled during setup, commits and pushes after the rebuild. ```bash ai-brain update # Used if already on the brain folder ai-brain update --brain-id work # Specify brain by identifier ``` > [!NOTE] > Inside any AI tool, `/brain update` loads the graphify skill which rebuilds the graph using AI subagents for semantic extraction. If auto-sync was enabled during setup, the skill automatically commits and pushes after the rebuild. --- ### `ai-brain status` Show brain health: tool version, graphify version, graph node/edge count, brain path. ```bash ai-brain status # Used if already on the brain folder ai-brain status work # Specify brain by identifier ``` Equivalent inside any AI tool: `status` --- ### `ai-brain templates` List all templates โ both tool-managed (`_bundled/`) and yours (`_custom/`). ```bash ai-brain templates ``` --- ### `ai-brain templates add` Create a new custom template from a minimal starter file. Places the file in `raw/templates/markdown/_custom/` or `raw/templates/web-clipper/_custom/`. Files in `_custom/` are never touched by upgrades. ```ba ... (truncated)
Repository
3stars
1forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
๐คclaude๐universal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
๐universal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
โจgemini๐คclaude๐ฌgpt๐universal
524
34
View
misakanet-failure-memory
Coding & Development๐ A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
๐คclaudeโจ๏ธcursor๐universal
424
158
View