Skip to content
Back to skills

Clawhub Skill

ASecurity

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.

  • 27 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 26, 2026
ai-agentspythonrustgobashsqlnodegitapidatabase

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add wazionapps/nexo --skill clawhub-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clawhub Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Clawhub Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wazionapps-clawhub-skill/badge)](https://www.skillsdirectory.com/skills/wazionapps-clawhub-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nexo-brain
description: 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.
version: 7.27.3
metadata:
  openclaw:
    requires:
      bins:
        - python3
    emoji: "🧠"
    homepage: https://github.com/wazionapps/nexo
    os:
      - darwin
      - linux
    install:
      - id: npm
        kind: node
        package: nexo-brain
        bins:
          - nexo
          - nexo-brain
        label: Install NEXO Brain (npm)
---

# 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:

```bash
npx nexo-brain
```

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

```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

| Tool | When to Use |
|------|------------|
| `nexo_startup` | Once at session start — registers session, returns active sessions |
| `nexo_heartbeat` | Every interaction — updates task, checks inbox |
| `nexo_cognitive_retrieve` | Semantic search across all memories |
| `nexo_guard_check` | Before editing code — checks for past errors |
| `nexo_learning_add` | After resolving an error — prevents recurrence |
| `nexo_session_diary_write` | Before closing session — enables continuity |
| `nexo_cognitive_trust` | After 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

- [GitHub](https://github.com/wazionapps/nexo)
- [npm](https://www.npmjs.com/package/nexo-brain)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.