Xpersona
S

super-memori

CLAWHUB · Unverified

Local-first hybrid memory skill for OpenClaw agents. Use when the agent needs to find, recall, search, or reuse past knowledge across episodic, semantic, pro...

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170bzkafdeer9wznxg0rasry58402yp:super-memori
  1. Install using `clawhub skill install s170bzkafdeer9wznxg0rasry58402yp:super-memori` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/ciklopentan/super-memori before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ciklopentan-super-memori/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

160,000 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: super-memori
description: >
  Local-first hybrid memory skill for OpenClaw agents. Use when the agent needs to find, recall, search, or reuse past knowledge across
  episodic, semantic, procedural, and learning memory; when the user asks things like "what did we do about X", "remember", "find in memory",
  "что мы делали", or "найди в памяти"; when exact match and meaning-based recall both matter; or when designing, operating, or improving
  long-term agent memory on a local Ubuntu host. Includes manual-review learning improvement surfaces and memory-health guidance for degraded-mode detection,
  backup awareness before major operations, and risk-aware memory changes. Optimized for weak models by exposing a small command surface and clear degraded-mode rules.
---

# Super Memori — v4.0.23 Project Skill

**Release line:** `v4.0.23` unpublished current candidate line for the current-generation local-only memory runtime, advanced from the previously-published `v4.0.22` baseline with an enforceable per-session startup self-check hook for OpenClaw session start.

**Release-line truth boundary:** the release line identifies the packaged skill artifact, not the live freshness state of whatever host runs it later. Current host freshness, semantic readiness, degraded state, and authority limits must be read from live command outputs such as `./health-check.sh --json` and `./query-memory.sh ... --json` at use time, not inferred from the release label alone.

**Runtime prerequisites:** Semantic / hybrid retrieval is now implemented in the runtime, but it only becomes active on hosts where local semantic prerequisites are actually present: `sentence-transformers`, `numpy`, a locally available embedding model, local Qdrant, and vectors built from canonical files. Without them, the skill remains operational in lexical/degraded mode and surfaces that state explicitly.

**Status:** v4 local-only memory runtime with real lexical, semantic, hybrid, temporal-relational, audit, and change-memory machinery in code, plus maintenance-only learning improvement / pattern-mining surfaces. Host state still matters: a host can run this release in lexical-only/degraded mode if semantic prerequisites or vector build state are missing.

## Current Release & Host State

### Artifact invariants (v4.0.23)
- Lexical retrieval: active.
- Change-memory: implemented and live.
- Change-audit integration: implemented and live.
- Minimal hot-change-buffer: implemented, internal, recovery-only, non-canonical, non-durable.
- Semantic / hybrid / temporal-relational runtime: implemented in code, host-dependent activation.
- Destructive auto-actions: disabled by default.
- Overall release state: unpublished `4.0.23` built on top of the previously published baseline `4.0.22`.

### Host-state guidance
- Do not infer live host state from this document. Read `./health-check.sh --json` and `./query-memory.sh ... --json` at use time.
- Known host-scoped caveat: `system_hygiene` may surfa

_meta.json

{
  "ownerId": "kn71swx2ntmj3me1xjt6vymkdn80m1sa",
  "slug": "super-memori",
  "version": "4.0.23",
  "publishedAt": 1777265246833
}

references/architecture.md

# super_memori v4 — Architecture

## Objective
Operate a current-generation local-only memory system for OpenClaw agents where files are canonical truth, retrieval can be lexical/semantic/hybrid, degraded host states remain honest, and weak models still face a compact interface.

## Canonical layers
1. Markdown/files in `memory/` are the source of truth.
2. SQLite FTS5 is the lexical / metadata index.
3. Qdrant is the semantic index.
4. Optional CPU reranker improves final ranking but is not required for core operation.
5. Host-profile shaping is derived, never canonical: it adjusts chunking, candidate budgets, audit depth, and truth surfaces, but it never replaces file truth.

## Why this architecture
- Files survive index corruption and remain readable to humans.
- SQLite FTS5 handles exact/path/tag/command recall in the active runtime.
- Qdrant backs semantic recall and filtered vector retrieval when the host is equipped.
- Weak models perform best when the retrieval logic stays hidden behind a small CLI surface.

## Runtime pipeline now implemented in code
```text
query
  → hard filters
  → lexical retrieval (FTS5)
  → semantic retrieval when local semantic stack is ready
  → reciprocal-rank fusion
  → temporal / relation-aware rerank
  → dedupe/diversity pass
  → result bundle + warnings + host-state truth
```

Host-profile shaping is applied before this flow chooses budgets and audit depth:
- `standard` for smaller hosts and conservative operation
- `max` for EPYC-class local hosts with large RAM and enough CPU

The host profile changes candidate budgets and audit depth, not the public command surface.

## Storage model
- Canonical memory remains file-based.
- Chunk metadata lives in SQLite.
- Embeddings live in Qdrant.
- Queue/backlog state lives locally on disk.

## Required degraded modes
- Qdrant down or semantic host stack unavailable → lexical-only mode with warning
- semantic-unbuilt host state → lexical runtime remains valid; semantic path reported unavailable
- stale vectors → lexical or partial hybrid with warning until rebuild
- lexical DB damaged → emergency grep fallback if possible
- broken relation targets → maintenance/audit warning; new writes must reject them

## Target environment
- Ubuntu
- CPU-only host
- OpenClaw agent controlled by weaker models
- Local-first operation with no mandatory external APIs

## Non-goals for the current v4 line
- graph database first
- autonomous self-rewrite of memory policy
- cloud-backed memory services
- many public scripts for weak models
- canonical storage inside vector DB

references/command-contracts.md

# super_memori v4 — Command Contracts

## Public commands
The active v4 weak-model public interface remains exactly four commands:

1. `query-memory.sh`
2. `memorize.sh`
3. `index-memory.sh`
4. `health-check.sh`

## `query-memory.sh`
### Purpose
Retrieve memory by exact, semantic, hybrid, recent, or learning-oriented query.

### Target flags
- `--mode auto|exact|semantic|hybrid|recent|learning`
- `--type episodic|semantic|procedural|learning|buffer|all`
- `--json`
- `--limit N`
- `--from DATE`
- `--to DATE`
- `--tags a,b,c`
- `--reviewed-only`

### Active-contract scope note
- `--mode semantic` and `--mode hybrid` are now real implemented runtime modes.
- For normal weak-model/runtime use, still prefer `auto`, `exact`, `learning`, or `recent`; use direct `semantic` / `hybrid` mainly when the task explicitly requires that maintenance/runtime check.
- `mode_used` remains authoritative over `mode_requested` for what actually executed on the current host.

### Target exit codes
- `0` results found without degraded execution for the current request
- `1` no results found; check `degraded` and `warnings[]` to distinguish a clean miss from a degraded no-results outcome
- `2` degraded mode with usable results returned
- `3` retrieval stack unavailable
- `4` bad arguments
- `5` internal error

### Required output fields
- `mode_requested`
- `mode_used`
- `degraded`
- `warnings`
- `index_fresh`
- `authoritative_result_present`
- `low_authority_only`
- `results`

### `mode_used` honesty rule
- If `--mode learning` was requested, `mode_used` must remain `learning` so downstream automation can tell intent from the underlying lexical engine.
- `mode_used=exact` is reserved for the normal exact/lexical retrieval path and for degraded `semantic` / `hybrid` requests that fall back to lexical search.

### Degraded vs informational warnings
- `warnings[]` may include informational host-state notes that do not by themselves force `degraded=true`.
- `degraded=true` is reserved for cases where the requested retrieval path became partial, stale, or fallback-backed for the current query.
- `authoritative_result_present` indicates whether at least one returned result still counts as confirmed exact/hybrid memory under the current runtime contract.
- `low_authority_only` indicates that every returned result is only semantic/fallback heuristic support rather than confirmed exact/hybrid memory.
- Informational notes such as "learning mode ran on lexical search on this host" may appear in `warnings[]` while `degraded=false` if the request was satisfied exactly as designed.
- `exit 2` must be interpreted from the query response itself (`degraded=true` plus returned `warnings[]`/results), without delegating to any separate health-state branch.
- `exit 1` does not by itself mean the host was fully healthy; it means no results were returned. Weak models must inspect `degraded` and `warnings[]` first, then frame the result as either a clean miss (`degraded=false`) or a degraded n

references/full-hybrid-mode.md

# super_memori — Full Hybrid Mode

## Purpose
Define the **stable full-hybrid target state** of `super_memori` where lexical, semantic, fusion, rerank, freshness, relation-aware scoring, repair semantics, and health all operate as one coherent local-memory subsystem.

This file is intentionally a **stable-release target contract**, not a claim that the current host already runs all layers. The current line may implement these features in code while still running in degraded host state.

## Full Hybrid Definition
A stable full-hybrid `super_memori` run means:
1. canonical files are readable
2. lexical registry/index is healthy
3. semantic backend is healthy
4. embeddings can be generated locally
5. lexical + semantic candidates are fused
6. temporal / relation-aware rerank operates correctly
7. degraded states are surfaced explicitly
8. repair/audit semantics distinguish semantic-unbuilt from true drift

## Target runtime flow
```text
query-memory.sh --mode auto "query"
  → normalize query
  → apply hard filters
  → lexical retrieval (SQLite FTS5)
  → semantic retrieval (Qdrant)
  → fuse candidate sets
  → optional rerank (top-N only)
  → dedupe/diversify
  → return results + warnings + freshness
```

## Full-Hybrid Readiness Checklist
A host is only in full-hybrid mode if **all** are true:
- `health-check.sh` reports lexical DB healthy
- `health-check.sh` reports Qdrant reachable
- embedding dependencies are installed
- vector collection exists and is populated
- lexical freshness is current
- semantic freshness is current
- backlog queue is within threshold
- `query-memory.sh --mode hybrid --json` returns `mode_used=hybrid` without semantic degradation warnings

## Semantic Layer Requirements
The semantic layer in the v4 candidate line supports:
- local embeddings on CPU
- vector upsert/update
- vector search with payload filters
- freshness visibility
- explicit degraded mode when unavailable
- a fixed embedding contract (dimension + normalization + rebuild rules)

## Fusion Contract
The skill should eventually implement one deterministic fusion method:
- reciprocal rank fusion, or
- weighted lexical + semantic merge

Default recommendation:
- lexical candidates: top 20
- semantic candidates: top 20
- rerank candidates: top 10 after fusion
- if semantic returns no usable candidates, continue lexical-only and warn

This must happen inside `query-memory.sh`, not inside model reasoning.

## Rerank Requirements
Reranking is optional for baseline operation but required for full-hybrid quality mode.

Rules:
- rerank only small candidate sets
- skip rerank for exact/path-heavy queries
- do not block the whole query if reranker is unavailable
- surface reranker degradation as a warning, not a silent failure

## Stable-release validation order
Before promoting the current candidate line to a stable full-hybrid release:
1. run `validate-release.sh`
2. verify lexical baseline still passes
3. verify semantic dependencies/model are installed on at least one

Sponsored

Ads related to super-memori and adjacent AI workflows.