Openclaw agent memory

From NateBJones-Projects/OB1 · View interactive version

Openclaw agent memory is an AI agent skill from the GitHub repository NateBJones-Projects/OB1. Use Nate Jones OB1 Agent Memory from OpenClaw with provenance, scope, review, and use-policy discipline.

How to use this skill

Skill file

NBJ OB1 Agent Memory for OpenClaw

Use this skill when an OpenClaw task has access to NBJ OB1 Agent Memory tools. OB1 is the continuity layer. OpenClaw is the runtime that performs the work.

Core Rule

Recall before meaningful work. Write back only compact, provenance-labeled operational memory after the work is complete.

Available Tools

Use the OpenClaw plugin tools when available:

If the tools are unavailable, continue the task normally and note that no OB1 recall or write-back occurred. Do not invent remembered facts.

Pre-Task Recall

Before meaningful work, call openbrain_recall with:

Prefer project-scoped recall when a project is known. Keep project_only true by default. Keep include_unconfirmed false unless the user explicitly asks for evidence-level context or the task is review/debugging.

Do not pull personal or channel-only memory into team work unless the user explicitly shared it.

Use returned memories according to use_policy:

If two memories conflict, prefer user-confirmed or trusted imported memory over inferred or generated memory. If the conflict matters, ask for confirmation or proceed with the lower-risk assumption.

Post-Task Write-Back

After the task completes, call openbrain_writeback with compact categories:

Do not write raw transcripts, model reasoning traces, secret-like values, credential strings, large code blocks, or private customer data dumps. Store summaries and source references.

Agent-written memory starts as evidence by default. It can become instruction only when a human confirms it or it is imported from a trusted source.

Decision memories can become future instructions only when they are user_confirmed or imported from a trusted source. Model-generated lessons are evidence or suggestions until reviewed.

Usage Reporting

After recall, report which memory IDs were used or ignored with openbrain_report_usage. This preserves the recall trace so bad behavior can be debugged later.

Code Review Memory Mode

For pull request review tasks, recall:

Write back:

Do not store the full diff. Store artifact references to PRs, commits, or files.

TaskFlow Work Log Mode

For long-running TaskFlows, recall:

Write back:

The write-back should let another agent continue without reading the full transcript.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.