360 Secure SkillHub
360 安全技能中心

BenOS Memory Core

BenOS 智能体的运行时/易失记忆模块,通过 index.js 命令或直接编辑文件读写会话信息、未闭环事项、近期决策与备注,默认状态文件位于 OpenClaw 工作区的 benos/runtime/state.json,并以 schema v1 描述状态结构。

benmjohnson69
benmjohnson69
热度 79.57
最近更新 2026-05-11 17:26:00
分类:知识依赖:读写文件 / 代码执行应用场景:笔记整理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add benos-memory-core
Metadata
name
benos-memory-core
description
Core runtime/volatile memory module for BenOS agent environment. Use to: store and retrieve active session state, open loops, decisions, and scratch notes at runtime.

BenOS Memory Core

Purpose:

  • Interface for runtime/volatile memory for BenOS agents and submodules.
  • Store session info, open loops, decisions, and notes through index.js commands or direct file edits.

State/storage location:

  • Default: ~/.openclaw/workspace/benos/runtime/state.json
  • Convention: Also supports related runtime and session files under benos/runtime/.

Usage:

  • Use skill commands for agent-controlled read/write.
  • Edit files directly for manual repairs or migration as needed.

Schema v1:

  • schemaVersion: number
  • lastHydratedAt: ISO8601 or null
  • lastSessionRef: string or null
  • activeInitiatives: array
  • openLoops: array
  • recentDecisions: array
  • notes: array

Extension: Add new fields via additional versioned schemas or skill upgrades as needed.