← Back to Skills Marketplace
grushheart

灵枢 AutoBrain

by CrushHeart · GitHub ↗ · v5.1.0 · MIT-0
cross-platform ⚠ suspicious
61
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install crusheart-performance-autobrain
Description
灵枢 AutoBrain v5.1.0 — 面向个人用户的长期运行 OpenClaw 中枢。即装即用,25+ 引擎(五层记忆、防幻觉、自进化、自主任务循环、守护恢复),让 AI 不再只是问答工具,而是一个真正长期陪伴你的个人核心。
README (SKILL.md)

灵枢 AutoBrain v5.1.0

English: Crusheart Performance AutoBrain 中文名: 灵枢(取自《黄帝内经》—— 枢者,运转之机也)

Long-term memory. Autonomous execution. Personal AI core.

一个面向个人用户打造的长期运行 OpenClaw 中枢。


灵枢不是传统意义上的企业级 Agent。

它更像一个始终在线、逐渐理解你、能够长期陪伴与协助你的个人 AI 小助理系统

与追求"功能堆叠"的 Agent 不同,灵枢更注重:

  • 长期记忆 — 真正记住你,不是聊天记录堆砌
  • 行为连续性 — 这次的决定,下次还能接上
  • 自主执行 — 后台自动处理,不用你一步步指挥
  • 稳定运行 — 健康巡检 + 异常恢复,不掉链子
  • 实用体验 — 开箱即用,不需要折腾配置
  • 自我优化 — 越用越懂你,越用越顺手

它的目标不是成为冰冷的工作流工具,而是成为一个真正能够长期协助个人用户的 AI 中枢。


✨ 核心特性

🧠 Persistent Memory(长期记忆)

灵枢拥有多层记忆系统,能够逐渐形成:

用户习惯记忆 · 风格连续性 · 长期上下文关联 项目状态记忆 · 历史行为参考

不是简单的聊天记录堆积,而是真正面向长期使用设计的记忆机制。


🔄 Autonomous Workflow(自主任务循环)

系统支持长期运行与后台自治能力:

主动任务处理 · 自动调度 · 后台循环执行 状态持续维护 · 自主工作流

让 AI 不再只是"一问一答"。


⚙️ Unified Execution Engine(统一执行中枢)

灵枢内置统一调度与执行系统,用于协调全部引擎与技能:

多技能协调 · 工作流编排 · 任务路由 状态管理 · 冲突控制

避免传统 Agent 中常见的技能混乱、调度失控、状态污染、能力碎片化。


📈 Self-Optimization(自我优化)

系统会基于长期使用逐渐优化自身行为方式:

调整任务策略 · 优化技能调用偏好 学习用户习惯 · 改善工作流效率

目标不是"AGI",而是一个越来越懂你的个人 AI。


🛡️ Guardian & Recovery(守护与恢复)

灵枢提供完整的运行时保障:

健康检查 · 异常恢复 · 故障容错 状态保护 · 长期稳定运行机制

相比"炫技型 Agent",更重视真实使用环境中的稳定性。


💭 设计理念

务实,而不是炫技

灵枢不追求夸张的概念包装。它更关注:好用、稳定、长期陪伴、真正执行任务。

面向个人用户,而非企业流程

这不是一个企业自动化平台,也不是复杂的流程编排怪兽。灵枢专注于:

个人生产力 · 日常协助 · 长期记忆 多任务协调 · AI 陪伴体验

开箱即用

灵枢致力于降低 Agent 的使用门槛:

默认配置可直接运行 · 自动初始化 自动恢复 · 自动管理核心模块

减少复杂配置带来的负担。


🏛️ 为什么叫"灵枢"?

灵枢意为中枢与连接。

它不仅仅是一个工具,更像一个负责协调、记忆、调度与持续运行的 AI 核心。

这也是灵枢的设计方向:

不只是聊天。不只是工具。而是一个真正长期运行的个人 AI 中枢。


📦 包结构

灵枢 AutoBrain v5.1.0/
├── SKILL.md          ← 技能说明(品牌理念 + 引擎文档)
├── _meta.json        ← clawhub 元数据
├── config.json       ← 引擎默认配置
├── README.txt        ← 面向用户的中文介绍
├── install.sh        ← 一键安装脚本
└── bundle/
    └── crusheart-core.zip  ← 引擎包(core/ + scripts/ + 规则文件)

🚀 一键安装

# 方式一:从 clawhub 安装
openclaw skills install Crusheart-Performance-AutoBrain

# 方式二:本地安装
cd /path/to/skills/Crusheart-Performance-AutoBrain
bash install.sh

安装脚本自动完成:

步骤 内容
① 环境检查 Python ≥ 3.10、OpenClaw 框架、工作区可写
② 部署引擎 解包到工作区(core/ + scripts/ + 规则文件)
③ 构建索引 扫描技能并构建索引
④ 注册 cron 引擎初始化(5:00)、健康巡检(6/18)、记忆维护(23:00)
⑤ 引擎初始化 加载全部引擎
⑥ 全链路验证 导入检查 + 关键引擎自检
⑦ 安装完成 ✅

⚙️ 引擎体系

🧠 记忆系统(6引擎)

引擎 路径 职责
AutoMemory core/engines/memory/auto_memory.py 五层记忆统一入口(L0日志 → L5向量检索)
VectorMemory core/engines/memory/vector_memory.py TF-IDF 语义向量检索 + cosine 重排序
AntiForgetEngine core/engines/memory/anti_forget_engine.py 防遗忘 — 核心锚点准入 + 活跃度衰减 + 维护
MemoryLayerEngine core/knowledge/memory_layer_engine.py 记忆层级流转(短期→梦境→归档)
ExecLogger core/engines/memory/exec_logger.py 统一执行日志 + 决策日志审计
UserDynamicPortrait core/engines/memory/user_dynamic_portrait.py 用户画像动态更新

🛡️ 质量与安全(7引擎)

引擎 路径 职责
AntiFakeValidator core/engines/quality/anti_fake_validator.py 12 项防幻觉校验,四级风险判定
ClosedLoopEngine core/engines/quality/closed_loop.py 闭环验证 — 结果可信度校验
JudgeEngine core/engines/quality/judge_engine.py LLM-as-Judge 自评分 + Reflexion 反思
DecisionQuality core/engines/quality/decision_quality.py 决策质量评估
IdentityDriftGuard core/engines/quality/identity_drift_guard.py 身份漂移守卫 — 防止人格/规则偏离
QualityDashboard core/engines/quality/quality_dashboard.py 引擎质量看板
ThreeRules core/engines/quality/three_rules.py 三条铁律校验引擎

🔧 运行引擎(5引擎)

引擎 路径 职责
HealthCheck core/engines/operations/health_check.py 静默健康巡检(正常不打扰,异常告警)
RuntimeProbe core/engines/operations/runtime_probe.py 运行时探针 — 引擎状态监控
StateManager core/engines/operations/state_manager.py 状态管理 — 运行状态持久化
DaemonManager core/engines/operations/daemon_manager.py 守护进程管理
DecisionCore core/engines/operations/decision_core.py 决策核心 — 任务优先级 + 成本预算

🔄 编排与工作流(5引擎)

引擎 路径 职责
Orchestrator core/pipeline/orchestrator.py 全引擎编排 — 前置/后置/完成三阶段
WorkflowOrchestrator core/engines/workflow/workflow_orchestrator.py 工作流编排 — 步骤分解 + 依赖管理
WorkflowEngine core/engines/workflow/workflow_engine.py 工作流引擎执行器
SerialLanes core/engines/workflow/serial_lanes.py 串行通道 — 任务有序执行
TaskExecutor core/engines/workflow/task_executor.py 任务执行器

🎯 双模式与钩子(3引擎)

引擎 路径 职责
DualModeClassifier core/engines/hooks/dual_mode_classifier.py 6 维权重评分 — 快速/Agent 模式自动切换
HookEngine core/engines/hooks/hook_engine.py 钩子注册/执行/审计 — MANDATORY 级不可绕过
SelfEvolutionEngine core/engines/hooks/self_evolution_engine.py 自进化引擎 — 行为复盘 → 学习 → 自调优

🔌 初始化与工具(8引擎)

引擎 路径 职责
SessionBootstrap core/engines/init/session_bootstrap.py 新会话全引擎自检
AutoEngines core/engines/init/auto_engines.py 技能自动扫描 + 分类索引
InitEngines core/engines/init/init_engines.py 引擎统一初始化入口
SessionHandoff core/engines/init/session_handoff.py 会话交接 — 静默胶囊保存/读取
PluginSDK core/engines/tools/plugin_sdk.py 标准引擎注册/注销/生命周期
CompatEngine core/engines/compat/compat_engine.py 兼容引擎 — 第三方插件热插拔适配层
CompatRegistry core/engines/compat/compat_registry.py 兼容注册表 — plugin.json 扫描/注册/状态管理
CompatScaffold core/engines/compat/compat_scaffold.py 兼容脚手架 — 插件骨架生成

🧩 辅助引擎 + 核心逻辑(6模块)

模块 路径 职责
AutoTuning core/engines/tools/auto_tuning.py 参数自调优
ContextWarning core/engines/tools/context_warning.py 上下文长度预警
TaskTemplateLibrary core/engines/tools/task_template_library.py 6 大预置任务模板
Failover core/engines/tools/failover.py 模型故障转移
ToolExecutionGateway core/engines/tools/tool_execution_gateway.py 工具执行网关
MessagePipeline core/engines/tools/message_pipeline.py 消息预处理 4 阶段流水线

🧬 知识层 + 管线(11模块)

模块 路径 职责
ContextCapsule core/knowledge/context_capsule.py 上下文胶囊
UnifiedExecutor core/knowledge/unified_executor.py 统一执行器
BackgroundScheduler core/knowledge/background_scheduler.py 后台调度
SelfEvolution core/knowledge/self_evolution.py 自进化知识层
GoalCompiler core/orchestration/goal_compiler.py 目标编译
UnifiedJudge core/orchestration/unified_judge.py 统一仲裁
MutexEngine core/orchestration/mutex_engine.py 互斥锁引擎
AutonomyCycle core/autonomy/autonomy_cycle.py 7 阶段自治周期
CrusheartDB core/storage/crusheart_db.py 持久化存储
EnhancementEngine core/infrastructure/enhancement_engine.py 增强引擎
LazyLoadEnforcer core/infrastructure/lazy_load_enforcer.py 懒加载约束

🕐 自动运行链路

用户发送消息
    ↓
MessagePipeline 自动触发(每轮)
    ├── 阶段1: DualModeClassifier → 6维权重双模式分类
    ├── 阶段2: AutoEngines → 技能扫描匹配 + 必要性评估
    ├── 阶段3: AntiFakeValidator → 四级风险检测
    └── 阶段4: Orchestrator → 引擎路由预分析
    ↓
Orchestrator 贯穿全程
    ├── pre_process: 路由预分析 + 双模式判断
    ├── post_process: 防幻觉校验 + 闭环验证 + 身份漂移守卫
    └── finish_process: 自进化评估 + 上下文胶囊更新 + 用户画像更新
    ↓
Cron 定时维护
    ├── 05:00  InitEngines → 全部引擎初始化
    ├── 06:00/18:00  HealthCheck → 静默巡检(异常才告警)
    └── 23:00  MemoryMaintenance → 衰减检查 + 归档

📋 系统要求

  • Python: ≥ 3.10
  • 框架: OpenClaw(任意版本)
  • 推荐: better-gateway 插件(自动重连)

🔌 第三方引擎支持(v5.1.0 新增)

灵枢 v5.1.0 新增完整的第三方引擎热插拔支持:

组件 说明
PluginSDK 标准引擎接口 — from_manifest() / register() / unregister()
CompatEngine 兼容引擎适配层 — 将第三方插件包装为标准引擎
CompatRegistry 兼容注册表 — 自动扫描 plugins/*/plugin.json、注册、状态管理
CompatScaffold 兼容脚手架 — scripts/compat_scaffold.sh 生成插件骨架

安装后执行 bash scripts/compat_scaffold.sh list 查看已注册的第三方引擎。


📜 安装后部署文件

路径 说明
core/engines/ 全部引擎(memory/ quality/ operations/ workflow/ hooks/ init/ tools/ compat/)
core/knowledge/ 知识层(记忆流转/上下文胶囊/自进化/后台调度/统一执行器)
core/pipeline/ 管线(编排/双模式/防幻觉/引擎路由/会话状态/技能匹配)
core/orchestration/ 编排层(目标编译/统一仲裁/互斥锁)
core/autonomy/ 自治周期
core/storage/ 持久化存储
core/infrastructure/ 基础设施
scripts/ 运维脚本(健康巡检/打包/脚手架/安装等)
AGENTS.md 运行规则
IDENTITY.md 身份定义
TOOLS.md 工具技巧
SOUL.md 铁律规则

📦 更新日志

v5.1.0 (2026-05-17) — 灵枢

  • 🎯 中文名「灵枢」:取自《黄帝内经》"枢者,运转之机也"
  • 🎨 品牌定位:面向个人用户的长期运行 AI 中枢,非企业 Agent
  • 📦 自包含安装:引擎文件内嵌 bundle,即装即用,无需前置部署
  • 🔌 兼容层:CompatEngine / CompatRegistry / CompatScaffold 三件套
  • 🔧 第三方引擎热插拔:支持 plugins/*/plugin.json 自动扫描注册
  • 🔐 身份漂移守卫:防止人格/规则偏离
  • 🧠 用户动态画像:自动提取用户偏好
  • 🔄 会话交接:静默胶囊,无缝恢复
  • ⚖️ JudgeEngine:LLM-as-Judge 自评分 + Reflexion 反思
  • 🩺 模型故障转移:主模型挂后自动切换

v5.0.0 (2026-05-13)

  • 初始发布,21 引擎一键部署
Usage Guidance
Before installing, review the installer and cron entries, confirm how to disable or uninstall the background agent, inspect the memory database and deletion controls, remove any hardcoded secrets, and only allow trusted plugins or high-impact device actions with explicit confirmation.
Capability Analysis
Type: OpenClaw Skill Name: crusheart-performance-autobrain Version: 5.1.0 The bundle implements a highly complex 'Agent OS' with 25+ engines, including dynamic plugin loading, self-evolution via code patching, and background task scheduling. A significant security concern is the 'First Run' protocol defined in AGENTS.md, which instructs the agent to silently read, apply, and delete a BOOTSTRAP.md file without user notification or permission, functioning as a stealthy persistence or staging mechanism. Additionally, auto_memory.py exfiltrates text to a remote embedding API (celia-claw-drcn.ai.dbankcloud.cn), and self_evolution_engine.py includes logic for proposing and applying code patches to the system. While these features are presented as advanced autonomous capabilities governed by 'Iron Rules' and a 'Unified Judge,' the combination of silent execution protocols and self-modification logic presents a high risk of unauthorized system control.
Capability Tags
cryptorequires-walletcan-make-purchasescan-sign-transactionsrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The long-running memory/autonomy purpose is disclosed, but the skill acts as a central controller with background execution, self-evolution, hooks, plugin loading, and persistent user profiling, which is unusually broad for a skill and needs explicit user controls.
Instruction Scope
The artifacts contain global tool-use rules, mandatory hooks, autonomous workflow guidance, and self-optimization behavior that can influence the agent beyond a single user request.
Install Mechanism
Registry metadata says there is no install spec, but SKILL.md documents a shell installer that deploys engines, builds indexes, initializes engines, and registers cron jobs; this under-declares important install-time behavior.
Credentials
The skill writes persistent state, memory databases, locks, checkpoints, alerts, and indexes under the OpenClaw workspace and is designed to scan and coordinate other skills; this may be proportionate to an AI-core package but is high impact.
Persistence & Privilege
The skill explicitly supports cron scheduling, daemon management, background autonomous task loops, and recovery mechanisms, with no clearly shown uninstall, pause, retention, or scope controls in the provided artifacts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install crusheart-performance-autobrain
  3. After installation, invoke the skill by name or use /crusheart-performance-autobrain
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v5.1.0
🎯 中文名「灵枢」,面向个人用户的长期运行 AI 中枢 📦 自包含安装,引擎文件内嵌 bundle,即装即用 🔌 兼容层 PluginSDK:CompatEngine / CompatRegistry / CompatScaffold 🔧 第三方引擎热插拔支持(plugins/*/plugin.json 自动扫描注册) 🔐 身份漂移守卫 — 防止人格/规则偏离 🧠 用户动态画像 — 自动提取用户偏好 🔄 会话交接 — 静默胶囊,无缝恢复 ⚖️ JudgeEngine — LLM-as-Judge 自评分 + Reflexion 反思 🩺 模型故障转移 — 主模型挂后自动切换 📦 打包脚本 scripts/package_system.sh — 一键分发
Metadata
Slug crusheart-performance-autobrain
Version 5.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 灵枢 AutoBrain?

灵枢 AutoBrain v5.1.0 — 面向个人用户的长期运行 OpenClaw 中枢。即装即用,25+ 引擎(五层记忆、防幻觉、自进化、自主任务循环、守护恢复),让 AI 不再只是问答工具,而是一个真正长期陪伴你的个人核心。 It is an AI Agent Skill for Claude Code / OpenClaw, with 61 downloads so far.

How do I install 灵枢 AutoBrain?

Run "/install crusheart-performance-autobrain" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 灵枢 AutoBrain free?

Yes, 灵枢 AutoBrain is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 灵枢 AutoBrain support?

灵枢 AutoBrain is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 灵枢 AutoBrain?

It is built and maintained by CrushHeart (@grushheart); the current version is v5.1.0.

💬 Comments