Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计提醒

nima-core尼玛核心

Agent Skill

nima-core 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

86,555

周安装

3,718

GitHub Stars

4

下载量

30,339
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nima-core(尼玛核心)
来源仓库:https://github.com/dmdorta1111/nima-core
安装命令:
openclaw skills install nima-core
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install nima-core

简介

nima-core 实现 AI Agent 的持久记忆与语义回忆能力。

  • 支持情绪智力建模与嵌入向量管理,提升上下文理解。
  • 适用于 OpenClaw 中需要长期记忆与自适应行为的场景。
  • 通过 clawhub 安装,依赖向量数据库与嵌入模型。
  • 建议定期修剪记忆以减少噪声干扰。nima-core 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
nima-core
description
Neural Integrated Memory Architecture — Persistent memory, emotional intelligence, and semantic recall for AI agents. Memory pruner, VADER affect, 5 embedding providers, zero-config install. Learn more at nima-core.ai
version
3.1.5
metadata
{"clawdbot":{"emoji":"🧠","requires":{"bins":["python3","node"],"env":["NIMA_DATA_DIR"]},"optional_env":{"NIMA_EMBEDDER":"voyage|openai|local (default: local)","VOYAGE_API_KEY":"Required when NIMA_EMBEDDER=voyage","OPENAI_API_KEY":"Required when NIMA_EMBEDDER=openai"},"permissions":{"reads":["~/.openclaw/agents/*/sessions/*.jsonl"],"writes":["~/.nima/"],"network":["voyage.ai (conditional)","openai.com (conditional)"]}}}

NIMA Core 2.3

Neural Integrated Memory Architecture — A complete memory system for AI agents with emotional intelligence.

Website: https://nima-core.ai GitHub: https://github.com/lilubot/nima-core

🚀 Quick Start

# Install
pip install nima-core

# Or with LadybugDB (recommended for production)
pip install nima-core[vector]

# Set embedding provider
export NIMA_EMBEDDER=voyage
export VOYAGE_API_KEY=your-key

# Install hooks
./install.sh --with-ladybug

# Restart OpenClaw
openclaw restart

🔒 Privacy & Permissions

Data Access:

  • ✅ Reads session transcripts from ~/.openclaw/agents/*/sessions/*.jsonl
  • ✅ Writes to local storage at ~/.nima/ (databases, affect history, embeddings)

Network Calls (conditional on embedder choice):

  • 🌐 Voyage API — Only when NIMA_EMBEDDER=voyage (sends text for embeddings)
  • 🌐 OpenAI API — Only when NIMA_EMBEDDER=openai (sends text for embeddings)
  • 🔒 Local embeddings — Default (NIMA_EMBEDDER=local), no external API calls

Opt-in Controls:

// openclaw.json
{
  "plugins": {
    "entries": {
      "nima-memory": {
        "enabled": true,
        "skip_subagents": true,      // Exclude subagent sessions (default)
        "skip_heartbeats": true,      // Exclude heartbeat checks (default)
        "noise_filtering": {
          "filter_heartbeat_mechanics": true,
          "filter_system_noise": true
        }
      }
    }
  }
}

Privacy Defaults:

  • Subagent sessions excluded
  • Heartbeat/system noise filtered
  • Local embeddings (no external calls)
  • All data stored locally

To disable: Remove nima-memory from plugins.allow in openclaw.json

What's New in 2.1

VADER Affect Analyzer

  • Contextual Analysis: Caps boost (1.5x), punctuation emphasis (!!!), negation handling, degree modifiers
  • 30+ Idiom Recognition: Understands phrases like "not bad", "kind of", "sort of"
  • Panksepp 7-Affect Mapping: Direct mapping from VADER sentiment to SEEKING, RAGE, FEAR, LUST, CARE, PANIC, PLAY
  • Guardian Archetype Transformation: User anger → Agent concern/care response modulation
  • Replaces previous lexicon-based emotion detection

Noise Remediation (4-Phase)

  1. Empty Validation — Filters out null/empty messages
  2. Heartbeat Filters — Excludes system noise (HEARTBEAT_OK, polling messages)
  3. Deduplication — Removes duplicate content within sessions
  4. Metrics Collection — Tracks capture quality and filter effectiveness

Performance Improvements

  • LadybugDB Circular Import Fix: Resolved import issues in LadybugDB backend
  • Increased Token Budget: Recall budget increased from 500 to 3000 tokens
  • Connection Pooling: Improved connection management for LadybugDB backend

What's New in 2.0

LadybugDB Backend

  • 3.4x faster text search (9ms vs 31ms)
  • Native vector search with HNSW (18ms)
  • 44% smaller database (50MB vs 91MB)
  • Graph traversal with Cypher queries

Security Hardened

  • Query sanitization (FTS5, SQL injection prevention)
  • Path traversal protection
  • Temp file cleanup
  • Error handling throughout

Thread Safe

  • Singleton pattern with double-checked locking
  • API timeouts (30s Voyage, 10s LadybugDB)
  • Connection pooling ready

348 Tests

  • Full unit test coverage
  • Thread safety verified
  • Edge cases covered

Architecture

OPENCLAW HOOKS
├── nima-memory      — Three-layer capture with 4-phase noise remediation
├── nima-recall-live — Lazy recall injection (before_agent_start)
└── nima-affect      — VADER-based real-time affect analysis

PYTHON CORE
├── nima_core/cognition/
│   ├── dynamic_affect.py       — Panksepp 7-affect system
│   ├── personality_profiles.py — JSON personality configs
│   ├── vader_affect.py         — VADER sentiment analyzer (NEW v2.1)
│   └── archetypes.py           — Baseline affect profiles
└── scripts/
    ├── nima_ladybug_backend.py — LadybugDB CLI
    └── ladybug_parallel.py     — Parallel migration

DATABASE (SQLite or LadybugDB)
├── memory_nodes   — Messages with embeddings
├── memory_edges   — Graph relationships
└── memory_turns   — Conversation turns

Performance

MetricSQLiteLadybugDB
Text Search31ms9ms (3.4x)
Vector SearchExternal18ms (native)
Context Tokens~180~30 (6x smaller)
Recall Token Budget5003000 (v2.1+)

API

from nima_core import DynamicAffectSystem, get_affect_system
from nima_core.cognition.vader_affect import VaderAffectAnalyzer

# Get singleton instance (thread-safe)
affect = get_affect_system(identity_name="lilu")

# Process input and get affect state
state = affect.process_input("I'm so excited about this project!")
print(state.current)  # {"SEEKING": 0.72, "PLAY": 0.65, ...}

# Use VADER analyzer directly
analyzer = VaderAffectAnalyzer()
result = analyzer.analyze("This is AMAZING!!!")
print(result.affects)  # {'PLAY': 0.78, 'SEEKING': 0.71, ...}

# Recall memories (via hooks - automatic)
# Or manually via CLI:
# nima-query who_search "David" --limit 5
# nima-query text_search "project" --limit 5

Configuration

VariableDefaultDescription
NIMA_DATA_DIR~/.nimaMemory storage path
NIMA_EMBEDDERvoyagevoyage, openai, or local
VOYAGE_API_KEYRequired for Voyage
NIMA_LADYBUG0Set 1 for LadybugDB backend

Hooks

nima-memory (Capture)

  • Captures input, contemplation, output on every turn
  • 4-phase noise remediation (empty validation, heartbeat filters, dedup, metrics)
  • Stores to SQLite or LadybugDB
  • Computes and stores embeddings

nima-recall-live (Recall)

  • Injects relevant memories before agent starts
  • Lazy loading — only top N results
  • Deduplicates with injected context
  • Token budget: 3000 (increased from 500 in v2.1)

nima-affect (Emotion)

  • VADER-based real-time affect analysis from text
  • Contextual analysis (caps, punctuation, negation, degree modifiers)
  • 30+ idiom recognition
  • Maintains Panksepp 7-affect state
  • Guardian archetype transformation (user anger → agent care)

Installation Options

SQLite (Development)

pip install nima-core
./install.sh

LadybugDB (Production)

pip install nima-core[vector]
./install.sh --with-ladybug

Documentation

GuideDescription
README.mdFull system overview
SETUP_GUIDE.mdStep-by-step installation
docs/DATABASE_OPTIONS.mdSQLite vs LadybugDB
docs/EMBEDDING_PROVIDERS.mdVoyage, OpenAI, Local
MIGRATION_GUIDE.mdMigrate from old versions
CHANGELOG.mdRelease history

Security & Privacy

Data Access

This plugin accesses:

  • ~/.openclaw/agents/.../*.jsonl — Session transcripts (for memory capture)
  • ~/.nima/ — Local memory database (SQLite or LadybugDB)
  • ~/.openclaw/extensions/ — Hook installation

Network Calls

Embeddings are sent to external APIs:

  • Voyage AI (api.voyageai.com) — Default embedding provider
  • OpenAI (api.openai.com) — Optional embedding provider
  • Local — No external calls when using sentence-transformers

Required Environment Variables

VariablePurposeRequired
NIMA_EMBEDDERvoyage, openai, or localNo (default: voyage)
VOYAGE_API_KEYVoyage AI authenticationIf using Voyage
OPENAI_API_KEYOpenAI authenticationIf using OpenAI
NIMA_DATA_DIRMemory storage pathNo (default: ~/.nima)
NIMA_LADYBUGUse LadybugDB backendNo (default: 0)

Installation Script

The install.sh script:

  1. Checks for Python 3 and Node.js
  2. Creates ~/.nima/ directories
  3. Installs Python packages via pip
  4. Copies hooks to ~/.openclaw/extensions/

No external downloads. All packages come from PyPI.


Changelog

v2.1.0 — VADER Affect Analyzer (Feb 17, 2026)

  • Added: VADER-based affect analyzer replacing lexicon-based detection

- Contextual analysis: caps boost (1.5x), punctuation (!!!), negation, degree modifiers - 30+ idiom recognition - Panksepp 7-affect mapping (SEEKING, RAGE, FEAR, LUST, CARE, PANIC, PLAY) - Guardian archetype transformation (user anger → agent concern/care)

  • Added: 4-phase noise remediation (empty validation, heartbeat filters, dedup, metrics)
  • Fixed: LadybugDB circular import issue
  • Changed: Recall token budget increased from 500 to 3000
  • Improved: Connection pooling for LadybugDB backend

v2.0.3 — Security Hardening (Feb 15, 2026)

  • Security: Fixed path traversal vulnerability in affect_history.py (CRITICAL)
  • Security: Fixed temp file resource leaks in 3 files (HIGH)
  • Fixed: Corrected non-existent json.JSONEncodeError → TypeError/ValueError
  • Improved: Exception handling - replaced 5 generic catches with specific types
  • Quality: Better error visibility and debugging throughout

v2.0.1 — Thread Safety + Metadata

  • Fixed: Thread-safe singleton with double-checked locking
  • Security: Clarified metadata requirements (Node.js, env vars)
  • Docs: Added security disclosure for API key usage

v2.0.0 — LadybugDB + Security

  • Added: LadybugDB backend with HNSW vector search
  • Added: Native graph traversal with Cypher
  • Added: nima-query CLI for unified queries
  • Security: SQL/FTS5 injection prevention
  • Security: Path traversal protection
  • Security: Temp file cleanup
  • Fixed: Thread-safe singleton initialization
  • Fixed: API timeouts (Voyage 30s, LadybugDB 10s)
  • Tests: 348 tests passing
  • Performance: 3.4x faster text search, 44% smaller DB

v1.2.1 — Consciousness Architecture

  • Added: 8 consciousness systems (Φ, Global Workspace, self-awareness)
  • Added: Sparse Block VSA memory
  • Added: ConsciousnessCore unified interface

v1.1.9 — Hook Efficiency Fix

  • Fixed: nima-recall hook spawning new Python process every bootstrap
  • Performance: ~50-250x faster hook recall

v1.2.0 — Affective Response Engines

  • Added: 4 Layer-2 composite affect engines
  • Added: Async affective processing
  • Added: Voyage AI embedding support

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

84.61%
按下载量换算25,670

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills