Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

enhanced-memory

bởi jameseball

Search & Research
683Lượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Enhanced memory search with hybrid vector+keyword scoring, temporal routing, filepath scoring, adaptive weighting.

Mô tả

Kỹ năng này làm gì

A drop-in replacement for OpenClaw's default memory search. Uses a 4-signal fusion pipeline combining vector similarity, keyword matching, header matching, and filepath scoring to retrieve memory chunks. Also includes salience scoring and a knowledge graph cross-reference builder.

Achieves 0.782 MRR versus approximately 0.45 for baseline vector-only search by fusing four signals and applying adaptive weighting when keyword overlap is low.

Khi nào nên dùng

  • Finding relevant past context when vector-only search returns weak results
  • Surfacing stale memory files during agent heartbeat cycles
  • Building cross-reference links between related memory chunks
  • Querying memories with date references like 'last Monday' or 'Feb 8'
  • Indexing updated memory files after significant workspace changes

Quy trình ví dụ

ĐẦU VÀO

User asks: 'What did I decide about the auth system last week?'

AGENT
  1. 1

    Detects temporal reference 'last week' and applies 3x boost to date-matching files

  2. 2

    Embeds the query using nomic-embed-text via Ollama

  3. 3

    Scores all memory chunks across vector similarity, keyword overlap, header match, and filepath

  4. 4

    Checks if top score exceeds PRF threshold; if not, expands query terms and re-scores

  5. 5

    Returns ranked results with path, score, and snippet

ĐẦU RA

Ranked memory chunks referencing auth system decisions from the relevant timeframe

Yêu cầu

  • Ollama installed and running locally on port 11434
  • nomic-embed-text model pulled via Ollama

Cài đặt

clawhub install jameseball/enhanced-memory

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết