nexo-brain

Cognitive memory system for AI agents — Atkinson-Shiffrin memory model, semantic RAG, trust scoring, and metacognitive error prevention. Gives your agent persistent memory that learns, forgets, and adapts.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "nexo-brain" with this command: npx skills add wazionapps/nexo-brain

NEXO Brain — Cognitive Memory for Your Agent

NEXO Brain gives your agent persistent memory modeled after human cognition. It remembers across sessions, learns from mistakes, naturally forgets what's irrelevant, and builds a trust-based relationship with you.

Setup

If your OpenClaw client shows an install action for this skill, use that first. It installs the nexo-brain package via your configured Node package manager.

If you are setting it up manually, install the cognitive engine:

npx nexo-brain

After NEXO Brain is installed, add the MCP server to your OpenClaw config (~/.openclaw/openclaw.json):

{
  "mcp": {
    "servers": {
      "nexo-brain": {
        "command": "python3",
        "args": ["~/.nexo/server.py"],
        "env": {
          "NEXO_HOME": "~/.nexo"
        }
      }
    }
  }
}

Restart the gateway: openclaw gateway restart

What You Get

Key MCP capabilities include:

  • Cognitive Memory — RAG-powered semantic search, trust scoring, sentiment detection, cognitive dissonance resolution
  • Guard System — Checks "have I made this mistake before?" before every code change
  • Episodic Memory — Change logs, decision logs with reasoning, session diaries for continuity
  • Learnings — Error patterns and prevention rules, searchable by category
  • Session Management — Startup, heartbeat, multi-session coordination
  • Reminders & Followups — Track user tasks and system verification tasks separately
  • Entities & Preferences — Remember people, services, URLs, and observed user preferences
  • Backup & Evolution — SQLite backup with retention, self-improvement proposals

How Memory Works

NEXO implements the Atkinson-Shiffrin memory model (1968):

  1. Sensory Register — Raw capture, 48h retention
  2. Short-Term Memory — 7-day half-life, promoted if used frequently
  3. Long-Term Memory — 60-day half-life, semantic search by meaning

Memories naturally decay via Ebbinghaus forgetting curves. Accessing a memory reinforces it. Automated "sleep cycles" consolidate, prune, and merge memories.

Key Tools

ToolWhen to Use
nexo_startupOnce at session start — registers session, returns active sessions
nexo_heartbeatEvery interaction — updates task, checks inbox
nexo_cognitive_retrieveSemantic search across all memories
nexo_guard_checkBefore editing code — checks for past errors
nexo_learning_addAfter resolving an error — prevents recurrence
nexo_session_diary_writeBefore closing session — enables continuity
nexo_cognitive_trustAfter user feedback — calibrates rigor level

Privacy

Everything stays local. Two SQLite databases in ~/.nexo/. No telemetry, no cloud APIs. Vector search runs on CPU via fastembed.

More Info

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Canonry Setup

Agent-first AEO operating platform.

Registry SourceRecently Updated
4151arberx
Automation

Pilot Service Agents Entertainment

Games, manga/anime, trivia, and fandom APIs — PokeAPI, Jikan, CheapShark, misc. Use this skill when: 1. Pokémon / PokeAPI lookups 2. Anime or manga metadata...

Registry SourceRecently Updated
Automation

Pilot Service Agents Economics

Macroeconomic indicators — IMF DataMapper, World Bank, Eurostat SDMX, Coinbase reference prices. Use this skill when: 1. Country-level GDP, inflation, or une...

Registry SourceRecently Updated
Automation

Pilot Service Agents Flights

Aircraft tracking and aviation weather — ADS-B feeds (ICAO + bbox), airport directory, METAR/TAF/SIGMET. Use this skill when: 1. Live aircraft positions by I...

Registry SourceRecently Updated