make your coding agent understand the power of BrainX
- Node.js 18 or newer
- macOS, Linux, or Windows
The current examples target BrainX 2026.10.25 with Python 3.12 or newer.
Use the original skill snapshot and runtime to reproduce earlier evaluations.
Use the BrainSpike skill for point-neuron models. Install the Python distribution as brainspikes and import brainspike. The BrainX release still includes BrainPy at runtime; earlier skill snapshots retain the BrainPy-State guidance.
From the checkout, run the single-neuron CPU smoke test in an environment with the pinned BrainX release:
python skills/package-skills/brainspike/scripts/lif_smoke.pyThe test checks that a 500 pA current drives the LIF neuron to fire and that
100 ms of simulation produces a (1000, 1) spike recording.
npx brainx-skill install# Claude Code, current project
npx skills add chaobrain/BrainX-skill --agent claude-code
# Codex, current project
npx skills add chaobrain/BrainX-skill --agent codex
# Claude Code, globally
npx skills add chaobrain/BrainX-skill --agent claude-code --global
# Specific project
cd /actual/path/to/project
npx skills add chaobrain/BrainX-skill --agent codexnpx brainx-skill update# install
npx --registry=https://registry.npmmirror.com brainx-skill install
# update
npx --registry=https://registry.npmmirror.com brainx-skill updateInstall and activate every BrainX MCP integration in Codex with one command:
npx brainx-skill mcp installThis installs durable runtimes under ~/.brainx/mcp and registers:
| Server | Registration | Purpose |
|---|---|---|
| Europe PMC search | europepmc |
Search biology and neuroscience literature and retrieve structured article metadata. |
| Full-text resolver | fulltext_resolver |
Resolve PMC, OpenAlex, and bioRxiv/medRxiv full-text versions with provenance. |
| BrainX Codex reviewer | codex |
Run independent BrainX iteration reviews. |
The command requires the Codex CLI, a working Codex login, and uv. It refuses to overwrite unrelated registrations. An exact reviewer registration from this repository is retained so its existing approval and timeout settings remain intact. Restart Codex or reload MCP configuration after installation.
Remove only the registrations and runtime owned by this installer:
npx brainx-skill mcp removeSee mcp-servers/fulltext-resolver/README.md and mcp-servers/codex/README.md for tool behavior, configuration, and development setup.
Depending on the selected scope, the canonical brainx-install skill is installed into:
Claude Code: ~/.claude/skills/<skill-name> or <cwd>/.claude/skills/<skill-name>
Codex: ~/.agents/skills/<skill-name> or <cwd>/.agents/skills/<skill-name>
Cursor: ~/.cursor/skills/<skill-name> or <cwd>/.cursor/skills/<skill-name>
Windsurf: ~/.codeium/windsurf/skills/<skill-name> or <cwd>/.codeium/windsurf/skills/<skill-name>
Gemini CLI: ~/.gemini/skills/<skill-name> or <cwd>/.gemini/skills/<skill-name>
Antigravity: ~/.gemini/config/skills/<skill-name> or <cwd>/.agents/skills/<skill-name>
OpenCode: ~/.config/opencode/skills/<skill-name> or <cwd>/.config/opencode/skills/<skill-name>
Antigravity reads global skills from ~/.gemini/config/skills and workspace skills
from <cwd>/.agents/skills. In project scope that workspace directory is the same one
Codex uses, so selecting both harnesses installs the skills once and records them for
both.
Installation ownership is recorded in ~/.brainx/receipt.json.
