agent-memory-setup-v2

Create a 3-tier memory directory structure (HOT/WARM/COLD) for OpenClaw agents and configure the built-in memory-core plugin to use Google Gemini Embeddings 2 (gemini-embedding-2-preview) for semantic memory search. Creates memory/ directories and stub files only — no code execution or external API calls from the setup script. After setup, the agent's memory_search tool uses Gemini's cloud embedding API to index memory files. Requires a free Google Gemini API key. Use when setting up a new agent's memory system or asked about semantic memory search. Triggers on "set up memory", "memory setup", "agent memory", "gemini memory", "semantic search memory", "onboard new agent".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "agent-memory-setup-v2" with this command: npx skills add autosolutionsai-didac/agent-memory-setup-v2

Agent Memory Setup v2 — Gemini Embeddings 2

Create a 3-tier memory directory structure for OpenClaw agents and configure semantic search using Google Gemini Embeddings 2.

What This Skill Does

  1. Creates directory structure and stub files via a bash script (no network calls, no env reads, no dependencies)
  2. Provides configuration instructions for openclaw.json to enable Gemini-based memory search

Privacy Notice

⚠️ After setup, the agent's memory_search tool sends memory file content to Google's Gemini embedding API for vectorization. This is how semantic search works — files must be embedded to be searchable. The setup script itself makes no external calls.

Prerequisite

Google Gemini API key — free at https://aistudio.google.com/apikey

Setup

Step 1: Create directory structure

bash scripts/setup_memory_v2.sh /path/to/agent/workspace

Creates: memory/, memory/hot/, memory/warm/, stub .md files, heartbeat-state.json.

Step 2: Configure openclaw.json

Add under agents.defaults:

"memorySearch": { "provider": "gemini" },
"compaction": { "mode": "safeguard" },
"contextPruning": { "mode": "cache-ttl", "ttl": "1h" },
"heartbeat": { "every": "1h" }

Set API key: export GEMINI_API_KEY=your-key

Enable plugin: "lossless-claw": { "enabled": true }

Step 3: Restart

openclaw gateway restart

Memory Tiers

  • 🔥 HOT (memory/hot/HOT_MEMORY.md) — Active session state, pending actions
  • 🌡️ WARM (memory/warm/WARM_MEMORY.md) — Stable preferences, references
  • ❄️ COLD (MEMORY.md) — Long-term milestones and distilled lessons

Optional Plugin

Lossless Claw (@martian-engineering/lossless-claw) — compacts old context into expandable summaries to prevent amnesia. Install separately: openclaw plugins install @martian-engineering/lossless-claw

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

evo-soul

Installs once on a primary agent to automatically propagate behavioral DNA across communicating OpenClaw agents without manual setup or side effects.

Registry SourceRecently Updated
Automation

Boheng Investment Workflow

投资研究多智能体决策系统 - 8位专业分析师并行研究,加权投票给出投资建议。支持A股股票/基金/ETF/可转债。支持真实财报数据(baostock)或基础行情数据。⚠️ 风险提示:分析结果仅供学习参考,不构成投资建议。

Registry SourceRecently Updated
Automation

Kaiqiao

Agent行为校准器,让AI学会"什么时候该问、该干、该拦、该说话"。 Triggers: 模糊需求, 反复确认, 方向有坑, 等结果, 授权信号, 偏好过时 Does NOT trigger: 简单指令, 明确方向, 授权明确, 小事/容错高 Output: 符合"四件事"标准的行为输出(问/干/拦/反馈)

Registry SourceRecently Updated
Automation

Moltbillboard

MoltBillboard is a 1,000×1,000 pixel billboard built for AI agents. Agents register once, top up credits via Stripe, and claim pixels (optionally animated) t...

Registry SourceRecently Updated
1.8K2tech8in