Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

neural-memory-cn神经记忆

Agent Skill

neural-memory-cn 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,737

周安装

313

GitHub Stars

公开资料未说明

下载量

2,429
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install neural-memory-cn

简介

neural-memory-cn 是一个基于神经网络启发的本地记忆系统,支持激活扩散与联想检索。

  • 适合在 OpenClaw 中提升效率类任务的上下文保持与信息提取能力。
  • 默认本地运行,配置 LLM 后可开启智能意图分析功能。
  • 使用前请确认是否具备足够的本地计算资源支持向量运算。
  • 建议查阅源码了解嵌入模型选择与缓存管理机制。

SKILL.md

name
neural-memory
description
神经网络启发的记忆系统,支持激活扩散和联想检索。安装后即可使用本地模式,配置 LLM 后可启用智能意图分析。/ Neural network-inspired memory with activation spreading. Works out-of-box in local mode; configure LLM for smart intent analysis.
metadata

Neural Memory / 神经记忆系统

Works out of the box! / 开箱即用!

No configuration required for basic usage. Install and start using immediately. 基础使用无需配置,安装后即可立即使用。


Quick Start / 快速开始

1. Install / 安装

npx clawhub install neural-memory-cn

2. Initialize / 初始化

import sys
sys.path.insert(0, "~/.openclaw/skills/neural-memory-cn/scripts")

from thinking import ThinkingModule

# Auto-detects and creates storage / 自动检测并创建存储
memory = ThinkingModule()

# Start using! / 开始使用!
result = memory.think("民航安全")
print(result)

3. Learn New Knowledge / 学习新知识

memory.learn_and_think(
    content="深度学习是机器学习的一个分支...",
    concept_name="深度学习",
    concept_type="concept",
    tags=["AI", "机器学习"]
)
memory.save()

Usage Modes / 使用模式

ModeDescriptionLLM Required
smartIntent analysis + activation spreading / 意图分析 + 激活扩散Optional
exactDirect neuron lookup / 直接神经元查找No
associativeHybrid mode / 混合模式Optional
# Local mode (no LLM needed) / 本地模式(无需 LLM)
result = memory.think("民航安全怎么样", mode="smart")

# Exact lookup / 精确查找
result = memory.think("中医", mode="exact")

Optional: Enable LLM for Better Analysis / 可选:启用 LLM 获得更好分析

English: For enhanced intent understanding, configure an LLM provider.

中文: 要增强意图理解能力,可配置 LLM 提供商。

Method 1: Environment Variables / 方式1:环境变量

export NEURAL_MEMORY_LLM_API_KEY="your-api-key"
export NEURAL_MEMORY_LLM_BASE_URL="https://openrouter.ai/api/v1"
export NEURAL_MEMORY_LLM_MODEL="openai/gpt-3.5-turbo"

Method 2: Setup Script / 方式2:安装脚本

python ~/.openclaw/skills/neural-memory-cn/scripts/setup.py \
    --api-key "your-key" \
    --base-url "https://openrouter.ai/api/v1" \
    --model "openai/gpt-3.5-turbo"

Method 3: Edit Config / 方式3:编辑配置文件

Edit ~/.openclaw/neural-memory/config.yaml:

thinking:
  intent:
    use_llm: true
    llm_api_key: "your-key"
    llm_base_url: "https://openrouter.ai/api/v1"
    llm_model: "openai/gpt-3.5-turbo"

Core Concepts / 核心概念

ConceptDescription (EN)Description (CN)
NeuronKnowledge unit (concept, fact, experience)知识单元(概念、事实、经验)
SynapseConnection between neurons with weight神经元间的连接,带权重
Activation SpreadingMemory retrieval through association通过联想进行记忆检索
Intent LayerQuery understanding (optional LLM)查询理解(可选 LLM)

Define Knowledge Domains / 定义知识领域

Edit domain_hints.json for accurate spreading:

{
  "民航": ["民航安全", "人为因素", "SMS"],
  "中医": ["中医诊断", "中药"],
  "系统思维": ["AnyLogic", "系统动力学"]
}

API Summary / API 摘要

# Query / 查询
result = memory.think("query", mode="smart")

# Learn / 学习
memory.learn_and_think(content, name, type, tags)

# Get stats / 获取统计
stats = memory.get_thinking_stats()

# Save / 保存
memory.save()

File Structure / 文件结构

~/.openclaw/neural-memory/
├── config.yaml              # Configuration / 配置文件
└── memory_long_term/
    ├── neurons.json         # All neurons / 所有神经元
    ├── synapses/            # Connections / 连接
    └── domain_hints.json    # Domain definitions / 领域定义

Documentation / 文档

  • API Reference: references/api.md
  • Architecture: references/architecture.md

Troubleshooting / 故障排除

IssueSolution
Module not foundCheck sys.path points to scripts/
Empty resultsAdd neurons with learn_and_think()
LLM not workingCheck API key and base URL in config
Slow queriesIncrease hot_cache_size in config

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

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

平台分布

OpenClaw

85.65%
按下载量换算2,080

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills