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

cc-soulCC 灵魂

Agent Skill

cc-soul 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,120

周安装

468

GitHub Stars

1

下载量

3,894
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install cc-soul

简介

具有自学习功能的零向量AI记忆引擎。 LOCOMO 76.2%(第四名)。 15个原创算法,开源(MIT)。

SKILL.md

name
cc-soul
slug
cc-soul
version
3.2.5
homepage
https://github.com/wenroudeyu-collab/cc-soul
description
Zero-vector AI memory engine with self-learning. LOCOMO 76.2% (4th place). 15 original algorithms, open source (MIT).
metadata
{"clawdbot":{"emoji":"🧠","requires":{"bins":[]},"os":["linux","darwin","win32"]}}

What is cc-soul?

A zero-vector AI memory engine that learns and improves from every conversation — no vectors, no embeddings, no GPU.

Benchmark

LOCOMO (Long-term Conversational Memory) — the standard benchmark for AI memory systems:

TypeAccuracy
open_domain89.4%
single_hop84.8%
multi_hop65.7%
temporal_reasoning62.5%
adversarial56.5%
TOTAL76.2% (4th place globally)

The only symbolic (non-vector) system in the top 5. All systems above use vector databases + LLM; cc-soul uses pure algorithmic recall.

Install & Start

npm install @cc-soul/openclaw
# API auto-starts at localhost:18800

Verify: curl http://localhost:18800/health

If auto-start didn't work, start manually:

node ~/.openclaw/plugins/cc-soul/cc-soul/soul-api.js
# or: node node_modules/@cc-soul/openclaw/cc-soul/soul-api.js
# custom port: SOUL_PORT=9900 node ~/.openclaw/plugins/cc-soul/cc-soul/soul-api.js

Requires Node.js 20+.

API — How to Use

Base URL: http://localhost:18800 (configurable via SOUL_PORT env var)

POST /memories — Store a memory

curl -X POST http://localhost:18800/memories \
  -H "Content-Type: application/json" \
  -d '{"content": "Alice prefers Python over Java", "user_id": "alice"}'

Response: {"stored": true, "facts_extracted": 2}

POST /search — Search memories

curl -X POST http://localhost:18800/search \
  -H "Content-Type: application/json" \
  -d '{"query": "programming language preference", "user_id": "alice", "top_n": 5}'

Response:

{
  "memories": [{"content": "Alice prefers Python over Java", "scope": "fact", "confidence": 0.85}],
  "facts": [{"predicate": "prefers", "object": "Python", "confidence": 0.9}],
  "fact_summary": "Prefers Python over Java"
}

GET /health — Health check

curl http://localhost:18800/health

Response: {"status": "ok", "version": "3.2.2", "memoryCount": 1234, "factCount": 567}

LLM Configuration (optional — user self-service)

Create ~/.cc-soul/data/ai_config.json:

{
  "backend": "openai-compatible",
  "api_base": "https://api.deepseek.com/v1",
  "api_key": "your-key-here",
  "api_model": "deepseek-chat"
}

Without LLM: core recall works locally in <30ms. With LLM: adds query rewriting + result reranking. Users configure their own API key — cc-soul never provides or manages LLM credentials.

How It Works

AAM (Adaptive Associative Memory) — Self-Learning

cc-soul builds a word association network from conversations. The more you talk, the smarter recall becomes.

  • Learning: Every message updates word co-occurrence statistics (PMI-based)
  • Expansion: When you search "marathon", AAM automatically expands to related words like "running", "race", "training" — learned from YOUR conversations, not a pre-built dictionary
  • Graduation: Strong associations (PMI > 3.0) auto-promote to synonym table — zero manual maintenance
  • Learning curve: Hit@3 improves from 30% → 67.5% over 1200 messages (+37.5%)

NAM (Neural Activation Memory) — 9-12 Signal Fusion

Every memory has a real-time activation score computed from multiple signals:

  1. Base activation (ACT-R): frequency + recency decay
  2. Context match (BM25+): keyword matching with IDF weighting + phrase detection
  3. Emotion resonance: mood-congruent recall (happy → recalls happy memories)
  4. Spreading activation: related memories activate each other via AAM network
  5. Interference suppression (MMR): prevents redundant results
  6. Temporal encoding: time-context matching
  7. Sequential co-occurrence (PAM): conversation flow patterns

Three-Layer Distillation

L1: Raw memories (thousands)
  → every 6h →
L2: Topic nodes (~80, with hit/miss scoring)
  → every 12h →
L3: Mental model (identity / style / facts / dynamics)

Topic nodes that score low (miss > hit) are automatically retired. High-scoring nodes promote to core memory.

CNAS Query Dispatch

Different questions need different strategies:

  • precise ("What does Alice like?") → strict BM25, topic partition
  • temporal ("When did we discuss...?") → time signal boost, date matching
  • multi_entity ("How do Alice and Bob differ?") → coverage rerank, iterative recall
  • broad ("Tell me about...") → full scan, relaxed matching

PADCN Emotion System — 5-Dimensional Mood Tracking

cc-soul tracks user emotion in real-time across 5 dimensions:

  • Pleasure / Arousal / Dominance / Certainty / Novelty
  • Mood-congruent recall: when you're happy, positive memories surface more easily
  • Flashbulb effect: highly emotional memories are stored stronger and recalled faster
  • Emotion influences persona selection automatically

11 Auto-Switching Personas

cc-soul dynamically blends personas based on conversation context:

PersonaTriggers
EngineerTechnical questions, code, debugging
FriendCasual chat, personal topics
MentorCareer advice, growth discussions
AnalystComparisons, data-driven decisions
ComforterStress, frustration, emotional messages
StrategistPlanning, long-term decisions
ExplorerBrainstorming, open-ended questions
ExecutorTask execution, step-by-step guides
TeacherExplanations, learning requests
Devil's AdvocateWhen user needs pushback
SocraticWhen user says "帮我理解" / "guide me"

No manual switching needed — persona adapts automatically based on what you're saying.

Self-Learning Feedback Loop

cc-soul improves itself from every interaction:

  1. AAM learns word associations from every message
  2. Recall Thermostat adjusts signal weights based on which recalled memories the user actually engaged with
  3. Topic Tournament scores topic nodes by hit/miss ratio — low-quality summaries get retired
  4. PMI Graduation promotes strong word associations to synonym table automatically
  5. Correction Learning stores corrections with Bayesian verification over 3 conversations

The system gets measurably better over time: Hit@3 improves 30% → 67.5% over 1200 messages.

Performance

MetricValue
Recall latency (p50)127ms
Storage5.7 MB (vs 49.2 MB for vectors — 8.6x smaller)
External API calls0 (pure algorithm)
LLM dependencyOptional (recall works without LLM)

Technical Specs

  • 75 modules, 15 original algorithms, ~29K lines TypeScript
  • SQLite local storage, zero cloud, zero telemetry
  • REST API: POST /memories, POST /search, GET /health
  • Compatible with DeepSeek, Claude, OpenAI, Ollama, or any OpenAI-compatible API
  • Open source: https://github.com/wenroudeyu-collab/cc-soul (MIT)

Data & Privacy

  • All data in ~/.cc-soul/data/ (SQLite)
  • PII auto-filtering (emails, phone numbers, API keys stripped)
  • Zero external network calls unless user configures optional LLM
  • Full data export/delete available

Open Source & Security

cc-soul is fully open source under MIT license. All source code (TypeScript) is included in this package and on GitHub.

  • Source code: https://github.com/wenroudeyu-collab/cc-soul
  • License: MIT — free to use, modify, and redistribute
  • Security audit: All code is readable. No obfuscation. Review any file before running.
  • child_process usage: Used to call local LLM CLI for optional query rewriting. No remote shell execution.
  • Network calls: Only to user-configured LLM endpoint (api_base in ai_config.json). Zero calls if no LLM configured.
  • notify.ts: Local notification hooks for OpenClaw plugin integration. No external service calls.

If you have security concerns, read the source. Every line is open.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

74%
按下载量换算2,882

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills