0xcjl/openclaw-memory-plugin/memory-recall

Claude Code and agent skill by 0xcjl/openclaw-memory-plugin

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install 0xcjl/openclaw-memory-plugin/memory-recall

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as 0xcjl/openclaw-memory-plugin/memory-recall.

memory-recall

What it does

Exposes the OpenClaw Memory System tools to any OpenClaw agent via natural language.

This skill provides the memory recall and search interface used by the皮皮虾 (main agent) memory lifecycle hooks:

  • before-task recall — query relevant past memories before starting a new task
  • after-task save — write completed task output to the persistent memory store
  • memory search — BM25-ranked full-text search over all memories
  • memory build — trigger index rebuild after bulk writes
  • DAG linking — associate memory entries into an associative graph

Tools

ToolDescription
memory_recallRecall top-N relevant memories before a task. Uses BM25 + keyword hybrid search.
memory_saveSave a completed task output to memory with auto-tagging.
memory_searchFull-text BM25 search over the memory store.
memory_buildRebuild keyword and BM25 indexes (WAL snapshot).
memory_dag_linkRecord a directed link between two memory entry IDs.

Usage

You: recall memories about Vue performance optimization
→ calls memory_recall(task="Vue performance optimization")
You: save this task: "Completed Vue component refactor"
→ calls memory_save(task="Completed Vue component refactor", result="...")
You: search memories for Docker deployment issues
→ calls memory_search(query="Docker deployment issues")
You: rebuild the memory indexes
→ calls memory_build()
You: link memory entry abc123 to def456 as "follow-up task"
→ calls memory_dag_link(fromId="abc123", toId="def456", reason="follow-up task")

Direct script access

The underlying scripts can also be called directly from the shell:

bash
# Recall before task (fast, <500ms target)
memory-hook.sh before-task "optimize Vue rendering"
# Save after task
memory-hook.sh after-task "completed Vue optimization" /tmp/result.txt
# Full index rebuild
memory-hook.sh build
# BM25 search
python3 scripts/bm25_search.py --search "Docker CI/CD" --top 5 --json
# Keyword index search
python3 scripts/memory-indexer.py search "Docker CI/CD" --agent-id dev --top 5
# DAG: auto-build from shared tags
python3 scripts/dag-builder.py build
# DAG: find shortest path between two entries
python3 scripts/dag-builder.py paths abc123 def456
# WAL snapshot
bash scripts/wal-snapshot.sh rebuild

Architecture

See ARCHITECTURE.md for the full system design.

Memory index schema

Entries in memory/index.json:

json
{
"id": "sha256_hex",
"file": "YYYY-MM-DD/agent-slug.md",
"agent_id": "dev",
"shared": false,
"tags": ["vue", "performance"],
"weight": 0.8,
"p": "P1",
"summary": "...",
"keywords": ["tokenized", "terms"],
"bm25_doc": ["pre-tokenized", "terms"]
}

Scoring formula

combined_score = bm25_norm × 0.6 + weight × 0.2 + keyword_overlap × 0.2

Requirements

  • Python 3 (standard library only — no pip packages)
  • Bash
  • OpenClaw gateway (for tool registration)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/0xcjl/openclaw-memory-plugin/memory-recall/badge)](https://verified-skill.com/skills/0xcjl/openclaw-memory-plugin/memory-recall)

Something wrong with this skill or its page? Tell us.