BenOS Memory Core for Openclaw

A high-performance runtime memory module for BenOS agents to manage session states, active initiatives, and decision logging.

benmjohnson69
v0.1.2
Feb 17, 2026
0
1.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install benos-memory-core

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install benos-memory-core using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is BenOS Memory Core?

BenOS Memory Core serves as the foundational volatile memory layer for the BenOS ecosystem. It provides a standardized interface for agents to store and retrieve active session data, ensuring that complex multi-step workflows maintain continuity. By integrating this module into your Openclaw Skills setup, agents can track open loops and scratch notes without losing context between executions. This skill is essential for developers building sophisticated autonomous agents that require a reliable source of truth for runtime state.

BenOS Memory Core Use Cases

  • Maintaining state across multi-step agentic workflows.
  • Storing temporary scratch notes and decision logs during runtime.
  • Tracking active initiatives and open loops to ensure task completion.
  • Syncing session information between different submodules in the BenOS environment.

How BenOS Memory Core Works

  1. The agent initializes the session and checks for existing state files in the runtime directory.
  2. During task execution, the agent writes updates to the JSON-based state storage using skill commands.
  3. Real-time changes are persisted to the workspace to handle volatile data like open loops and recent decisions.
  4. On subsequent runs, the agent hydrates its context by reading the last session reference and active initiatives.

BenOS Memory Core Setup

To install and configure the memory core for your Openclaw Skills environment, ensure your workspace is initialized and run the following commands in your terminal:

mkdir -p ~/.openclaw/workspace/benos/runtime/
touch ~/.openclaw/workspace/benos/runtime/state.json

Ensure the environment variables for your agent point to the correct BenOS workspace directory to enable seamless read/write access.

BenOS Memory Core Data Schema & Taxonomy

The skill utilizes a versioned JSON schema located at ~/.openclaw/workspace/benos/runtime/state.json.

Field Type Description
schemaVersion number Current version of the data structure
lastHydratedAt ISO8601 Timestamp of the last state restoration
lastSessionRef string Reference ID for the previous session
activeInitiatives array List of currently running high-level tasks
openLoops array Unfinished tasks or pending queries
recentDecisions array Log of logic choices made by the agent
notes array General scratchpad entries for context

BenOS Memory Core Advanced Features

  • Support for manual repairs and direct file edits for migration without breaking the agent flow.
  • Versioned schema upgrades to support future fields and extended agent capabilities.
  • Agent-controlled read/write permissions via standardized index.js commands.
  • Integrated support for multiple session files within the benos/runtime directory for complex Openclaw Skills configurations.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*