--- description: "Persistent memory engine for AI agents via the uteke CLI — remember, recall, search, forget with hybrid + fusion semantic search (fusion default since 0.16.0), documents, knowledge graph, rooms, tiered memory, and multi-agent namespaces." --- # Uteke Memory Skill Persistent memory engine for AI agents via the `uteke` CLI. Version: **0.24.2** — SQLite + HNSW vector index (usearch default, or vecq) + FTS5 hybrid search (RRF k=60); `fusion` (weighted RRF of the vector and hybrid rankings) is the default recall strategy since 0.16.0. `unsafe_code = "deny"` workspace-wide (only test modules that change env vars opt out). > This skill ships with each release — its version tracks the CLI version > (a CI gate fails when they drift, see `skill-version-parity` test). > If this file is older than your `uteke --version`, run `uteke init` again > or re-read the docs for the current release. > **Hermes integration:** Install the `uteke-memory` plugin for automatic recall > on every turn via the `pre_llm_call` hook. No shell hook or daemon needed. > See `extensions/hermes-uteke-memory/` for the plugin source. > Manual tool calls via `uteke-tool` plugin remain available for explicit > remember/forget/room operations. ## Global Flags (all commands) | Flag | Description | |------|-------------| | `--store ` | Override store path (default: `~/.codecora/uteke`) | | `--namespace ` | DEPRECATED (default: `"default"`): namespaces will be removed in a future 0.x release; prefer rooms, tags and author. Writes to a non-default namespace print a warning on stderr | | `--json` | Machine-readable JSON output | | `--verbose` | Debug logging | ## Commands ### Core Memory Operations | Command | Description | Key Options | |---------|-------------|-------------| | `uteke remember ` | Store a new memory | `--tags`, `--type`, `--entity`, `--category`, `--meta`, `--room`, `--author`, `--source`, `--source-type`, `--detect-contradiction` | | `uteke recall ` | Fusion search (default since 0.16.0 — weighted RRF of vector + hybrid rankings) | `--limit`, `--tags`, `--entity`, `--category`, `--min`, `--strategy` (fusion/vector/fts5/hybrid/graph), `--salience `, `--recency `, `--related`, `--depth`, `--context`, `--at` (time-travel), `--type` (all/memory/doc), `--where` (JSON field filter), `--explain` (real vector similarity), `--budget`, `--pack`, `--strict` (similarity floor, #1650), `--min-trust` (human/agent/external/untrusted, #1651), `--enrich`, `--exclude-ids`, `--content-format` | | `uteke search ` | Keyword text search | `--limit`, `--tags` | | `uteke list` | List memories with filters | `--tag`, `--entity`, `--category`, `--limit`, `--offset`, `--at` | | `uteke get ` | Get single memory by UUID | | | `uteke update ` | Update a memory in place | `--content`, `--tags` (replaces set), `--importance`, `--pinned`, `--type` | | `uteke context` | Project context summary (counts, top tags, recent activity) | `--namespace` | | `uteke guide` | Print the agent-facing memory tools guide for system-prompt injection | | | `uteke feedback ` | Record usefulness (importance +0.05 / −0.10) | | | `uteke forget ` | Delete memory by ID, tag, tier, or all | `--tag`, `--cold`, `--all`, `--confirm`, `--reason wrong` (the value can never be stored again) | | `uteke capture --session --role [TEXT]` | Queue a conversation turn for later extraction (needs `[capture] enabled = true`) | `--source` | | `uteke extract-queue status` | Capture queue counts | | | `uteke extract-queue run` | Extract pending sessions into memories | `--budget N` | | `uteke tombstone list` | Values forgotten as wrong, which every write refuses | | | `uteke tombstone remove ` | Allow a rejected value again | | ### Documents (Wiki / Knowledge Base) | Command | Description | Key Options | |---------|-------------|-------------| | `uteke doc create ` | Create document from file/stdin | `--title`, `--file`, `--content`, `--tags`, `--parent` | | `uteke doc get ` | Get a document | | | `uteke doc update ` | Partial update — only provided fields change | `--title`, `--content`, `--file`, `--tags`, `--metadata` | | `uteke doc delete ` | Delete document (cascades to children) | | | `uteke doc list` | List documents | `--limit`, `--tree` (hierarchy) | | `uteke doc search ` | Search documents (semantic + FTS5); over a server or MCP the query is at most 2000 characters | `--limit`, `--mode` (semantic/fts/hybrid) | | `uteke doc similar ` | Documents close to this one, or to a draft (`--text`/`--file`) that is not stored; `possible_duplicate` >= 0.92, `similar_to` >= 0.80 | `--threshold`, `--limit`, `--text`, `--file` | | `uteke doc duplicates` | Near-duplicate document pairs and groups of the library or a subtree | `--subtree`, `--threshold`, `--limit` | | `uteke doc children ` | List child documents | `--limit` | | `uteke doc move ` | Move to new parent or root | `--parent` | | `uteke doc breadcrumbs ` | Show path from root | | | `uteke doc descendants ` | List all descendants | `--max-depth`, `--limit` | | `uteke doc export` | Export all documents as Markdown (JSON with `--json`) | `--output`, `--front-matter` | | `uteke skill index ` | Index the skills under a directory (read-only on disk): package hash, lint, searchable text; new bytes make a new draft | `--owner`, `--actor` | | `uteke skill search ` | Find the few skills that fit a task (hybrid) | `--limit`, `--mode`, `--approved` | | `uteke skill list` | List the library | `--status`, `--limit` | | `uteke skill show ` | Current version, hash, files, usage, history. Over HTTP/MCP: `POST /skill/search\|list\|show\|similar` and `uteke_skill_search\|list\|show\|similar` (read-only) | | | `uteke skill similar ` | Skills close to this one, or to a draft (`--text`/`--file`) | `--threshold`, `--limit` | | `uteke skill lint [DIR]` | Check SKILL.md frontmatter (a directory, or the indexed library) | | | `uteke skill approve @` | Record the approved package hash, the trust anchor clients check before loading | `--actor` | | `uteke skill record ` | Count recalled / loaded / succeeded / failed on the current version | | ### Knowledge Graph | Command | Description | Key Options | |---------|-------------|-------------| | `uteke graph nodes` | List all graph nodes | `--entity-type` | | `uteke graph edges` | List all graph edges | `--relation` | | `uteke graph neighbors