clawmem

Community

Enhance AI agents' memory and context with local, embedded search and retrieval.

Authoryoloshii
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the problem of providing AI agents with access to a persistent memory layer that allows them to leverage past decisions, preferences, and information to enhance context-aware responses.

Core Features & Use Cases

  • Contextual Retrieval: Automatically surfaces relevant context on every prompt for AI agents.
  • Session Bootstrap: Boots up sessions with user profiles, latest handoffs, recent decisions, and stale notes.
  • Decision Capture: Captures decisions, preferences, milestones, and problems from session transcripts.
  • Import and Synthesize: Imports conversation exports from various sources and synthesizes structured information.
  • Handoff Generation: Generates handoffs at session end to ensure continuity between sessions.
  • Memory Learning: Learns what matters through a feedback loop that boosts referenced notes and decays unused ones.
  • Query Intent Classification: Classifies query intent to guide search strategies.
  • Multi-Graph Traversal: Traverses semantic, temporal, and causal graphs for in-depth analysis.
  • Memory Evolution: Evolves memory metadata as new documents create or refine connections.
  • Causal Relationship Inference: Infers causal relationships between facts.
  • Contradiction Detection: Detects contradictions between new and prior decisions.
  • Cross-Entity Merge Prevention: Prevents context bleed in derived insights.
  • Structured Triple Injection: Injects knowledge-graph facts as structured triples.
  • Focus Topic Boost: Applies a focus topic boost for session-specific contexts.
  • Document Quality Scoring: Scores document quality using structure, keywords, and metadata richness signals.
  • Co-accessed Document Boost: Boosts co-accessed documents.
  • Query Decomposition: Decomposes complex queries into typed retrieval clauses.
  • Stale Embedding Cleanup: Cleans stale embeddings before embed runs.
  • Transaction-safe Indexing: Ensures transaction-safe indexing.
  • Deduplicated Hook Observations: Deduplicates hook-generated observations.
  • Temporal Navigation: Navigates temporal neighborhoods around any document.
  • Frequently-REVISED Memory Boost: Boosts frequently-revised memories.
  • Lifecycle Management: Manages document lifecycle through pin/snooze and archival policies.
  • Auto-routing Queries: Auto-routes queries via memory_retrieve.
  • Project Issue Syncing: Syncs project issues from Beads issue trackers.
  • Heavy Maintenance Lane: Provides a quiet-window heavy maintenance lane for background tasks.

Quick Start

Use the clawmem skill to initialize a new memory vault at ~/notes, name it notes, and index your documents.

clawmem bootstrap ~/notes --name notes

Dependency Matrix

Required Modules

node-llama-cppbunsqlitepythonnumpypandassqlalchemy

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: clawmem
Download link: https://github.com/yoloshii/ClawMem/archive/main.zip#clawmem

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.