retrieval-enhance

Initializes, diagnoses, and tunes the agent memory-search pipeline.

64|5|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/MattWenJun/ClaWiser --skill retrieval-enhance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: retrieval-enhance
Source: https://github.com/MattWenJun/ClaWiser/tree/main/assets/retrieval-enhance
Command: npx skills add https://github.com/MattWenJun/ClaWiser --skill retrieval-enhance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Retrieval Enhance autonomously guards and optimizes the agent's memory retrieval pipeline, ensuring memory search runs reliably and intelligently without constant user prompting.

Core Features & Use Cases

  • Init — one-time configuration to enable and optimize the memorySearch pipeline (embedding, MMR, temporal decay, caching).
  • Diagnose — event-driven root-cause analysis when search quality declines and automatic routing to fixes.
  • Tune — periodic parameter tuning and health checks to maintain retrieval performance over time.
  • Use Case: An OpenClaw agent starts with memorySearch off by default; Retrieval Enhance automatically initializes it, diagnoses issues when top results degrade, and tunes parameters during steady operation.

Quick Start

Run the retrieval-enhance skill to initialize and protect the agent's memory search pipeline.

Frequently Asked Questions about retrieval-enhance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically optimize agent memory retrieval without manual prompts?

To automatically optimize agent memory retrieval, configure a pipeline that handles initialization, diagnosis, and parameter tuning. This embeds memory search with temporal decay and caching, maintaining performance autonomously without requiring manual user intervention.

Why does my agent memory search quality degrade over time?

Agent memory search quality degrades over time due to unoptimized retrieval parameters. Diagnosing root causes when top results decline and applying periodic parameter tuning with health checks maintains retrieval performance during steady operation.

What's the best way to configure memorySearch for an OpenClaw agent?

The best way to configure memorySearch for an OpenClaw agent is through a one-time initialization patch that enables embedding, MMR, temporal decay, and caching, safely falling back when defaults are off.

How does event-driven root-cause analysis work for memory retrieval issues?

Event-driven root-cause analysis for memory retrieval issues triggers automatically when search quality declines, diagnosing the pipeline and routing directly to fixes without requiring user prompts to initiate the diagnostic process.

Can I tune memory retrieval parameters during steady operation?

You can tune memory retrieval parameters during steady operation through periodic health checks and parameter adjustments, maintaining retrieval performance over time without pausing the agent's active workflows.

Does Retrieval Enhance work with agents that have memorySearch off by default?

Retrieval Enhance works with agents that have memorySearch off by default. It applies an initialization patch to enable the pipeline, ensuring safe fallback handling and autonomous configuration of the memory search process.