Skip to main content

Overview

The OpenSink Memory skill lets OpenClaw agents store and retrieve memories using OpenSink’s Sinks API. Memories are stored as Sink Items — they persist across sessions, work across machines, and are fully searchable. When an agent needs to remember something (“Dan prefers dark mode”) or recall a past decision, it uses this skill to push and query memories in the cloud.

How it works

Each memory is stored as a Sink Item with:
  • Title — the memory content
  • Type — category (fact, preference, decision, event, note)
  • Occurred at — when it happened

Install

Setup

1

Get an API key

Sign up at app.opensink.com and create an API key with sink_items:all scope (or all:all).
2

Create a Memory Sink

Run the included init script to create a dedicated Sink for memories:
This creates a Sink named “Memory” and outputs the Sink ID.
3

Configure the agent

Add the credentials to your agent’s TOOLS.md:
The skill reads OPENSINK_API_KEY and OPENSINK_SINK_ID from environment variables.

Usage

Once installed, the agent uses the skill automatically when it needs to remember or recall something. You can also run the script directly:

Memory types

OpenSink primitives used

Requirements

  • curl
  • An OpenSink account with API access

Source

GitHub

Source code and contributions

ClawHub

Install via ClawHub