connect-brain
Skill1 starsChanged 2 months agoMITView on GitHub
Connect this machine to the live Cortex MCP brain, so recall and capture work in every project. One-time, user scope.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- core/AGENTS.mdAGENTS.md
- index/AGENTS.mdAGENTS.md
- mcp/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analyze-specSkill
- auditSkill
- captureSkill
- catch-me-upSkill
- cortex-auditSkill
- cortex-briefSkill
- cortex-enrichSkill
- cortex-impactSkill
- cortex-installSkill
- cortex-nextSkill
- cortex-profileSkill
- cortex-reviewSkill
- cortex-scaffoldSkill
- cortexSkill
- cortex-skillsSkill
- cortex-viewSkill
- dailySkill
- diagnosing-bugsSkill
- domain-modelingSkill
- dreamSkill
- grillingSkill
- handoffSkill
- improve-codebase-architectureSkill
- install-projectSkill
- level-upSkill
- migrate-engineSkill
- onboardSkill
- optimize-contextSkill
- optimize-promptSkill
- plugin-syncSkill
- reindexSkill
- resolving-merge-conflictsSkill
- resumeSkill
- scan-projectsSkill
- setup-pluginsSkill
- shipSkill
- site-syncSkill
- skill-auditSkill
- skill-creatorSkill
- team-addSkill
- team-initSkill
- weekly-reviewSkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Ask for the vault's absolute path → AI_OS_ROOT.
- Very specific: line 28
Cursor / other MCP agents: add to the agent's mcpServers config:
- Distinctive: line 39
Don't register at project scope (defeats the "zero setup per project" goal).
- Distinctive: line 40
Don't touch the current project's git or files.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/connect-brain — one-line live brain
Register the Cortex MCP server at user scope so every project on this machine can recall/capture.
What to do
- Ask for the vault's absolute path →
AI_OS_ROOT. The vault is its own private repo, not this one and not the plugin. The server is${CLAUDE_PLUGIN_ROOT}/mcp/server.js— it ships with the plugin, not the vault. From a clone of the Cortex repo rather than the plugin, use that clone's path. - There is nothing to install — the server has no dependencies. Node 20+ is the only requirement.
Print (and offer to run) the registration for the user's agent. A registration stores a literal path, so expand
${CLAUDE_PLUGIN_ROOT}to its absolute value before printing:Claude Code:
claude mcp add --scope user ai-os --env AI_OS_ROOT=<vault> -- node "${CLAUDE_PLUGIN_ROOT}/mcp/server.js"Cursor / other MCP agents: add to the agent's
mcpServersconfig:{ "ai-os": { "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/mcp/server.js"], "env": { "AI_OS_ROOT": "<vault>" } } }The plugin's path carries its version (
…/plugins/cache/cortex/cortex/<version>/), so a plugin update can leave the registration pointing at a folder that is gone. Say so, and tell the user to re-run/connect-brainafter updating — or register a Cortex clone's path, which does not move.- Confirm in one line: "Brain connected (user scope). recall/capture available in every project."
Don't
- Don't register at project scope (defeats the "zero setup per project" goal).
- Don't touch the current project's git or files.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

