← Back to Skills Marketplace
zhzgao

evrmem

by ThatsD · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
89
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install evrmem
Description
Local Chinese semantic memory search and storage using text2vec embeddings and ChromaDB, supporting RAG-based context augmentation for AI agents.
README (SKILL.md)

evrmem Skill\r

\r

Name\r

\r evrmem\r \r

Description\r

\r Local Chinese Vector Memory System. Provides semantic memory search and storage for AI agents using local Chinese embedding models (text2vec) and ChromaDB. Supports RAG-based context augmentation.\r \r

When to Use\r

\r Use this skill when the user asks to:\r

  • "Search memories" or "Find related memories"\r
  • "Save this to memory"\r
  • "Remember this information"\r
  • "Search my knowledge base"\r
  • "Find past notes about X"\r
  • "Add this to my memory"\r
  • "What do I know about X"\r
  • "RAG retrieval" or "context augmentation"\r
  • Query or recall previous learnings\r \r

Prerequisites\r

\r Install evrmem and initialize:\r \r

pip install evrmem\r
evrmem init\r
```\r
\r
For China users (mirror):\r
\r
```bash\r
set HF_ENDPOINT=https://hf-mirror.com   # Windows\r
# or\r
export HF_ENDPOINT=https://hf-mirror.com   # Linux/Mac\r
evrmem init\r
```\r
\r
## Core Workflow\r
\r
### 1. Semantic Search (Most Common)\r
\r
```python\r
from qmd.core.vector_db import vector_db\r
\r
results = vector_db.search("React form warning", top_k=5)\r
for r in results:\r
    print(f"[{r['distance']:.3f}] {r['content'][:80]}")\r
```\r
\r
Or via CLI:\r
\r
```bash\r
evrmem search "React form warning"\r
evrmem search "deployment issue" --project myproject\r
```\r
\r
### 2. Add Memory\r
\r
```python\r
memory_id = vector_db.add_memory(\r
    "React StrictMode causes Form.useForm warning",\r
    metadata={"project": "mes-demo", "tags": "react,antd"}\r
)\r
```\r
\r
Or via CLI:\r
\r
```bash\r
evrmem add "Important finding about X" --project myproject --tags react,bug\r
```\r
\r
### 3. Structured Query\r
\r
```bash\r
# Query by project\r
evrmem query --project mes-demo\r
\r
# Query by tag\r
evrmem query --tag react\r
\r
# List all projects\r
evrmem query --list-projects\r
\r
# List all tags\r
evrmem query --list-tags\r
```\r
\r
### 4. RAG Retrieval\r
\r
```python\r
result = vector_db.rag("how to fix the form warning", top_k=3)\r
print(result["context"])\r
```\r
\r
Or via CLI:\r
\r
```bash\r
evrmem rag "how to fix the form warning"\r
evrmem rag "how to fix the form warning" --prompt\r
```\r
\r
### 5. Statistics\r
\r
```bash\r
evrmem stats\r
```\r
\r
## Configuration\r
\r
Create `~/.evrmem/config.yaml`:\r
\r
```yaml\r
vector_db:\r
  persist_directory: "~/.evrmem/data/qmd_memory"\r
\r
embedding:\r
  model_name: "shibing624/text2vec-base-chinese"\r
  device: "cpu"  # or "cuda"\r
  cache_folder: "~/.evrmem/models"\r
\r
rag:\r
  top_k: 5\r
  min_similarity: 0.5\r
\r
logging:\r
  level: "WARNING"\r
```\r
\r
## Environment Variables\r
\r
| Variable | Description | Default |\r
|----------|-------------|---------|\r
| `EVREM_DATA_DIR` | Data directory | `~/.evrmem/data/qmd_memory` |\r
| `EVREM_MODEL_NAME` | HuggingFace model name | `shibing624/text2vec-base-chinese` |\r
| `EVREM_LOCAL_MODEL` | Local model path (highest priority) | - |\r
| `EVREM_DEVICE` | Device for inference | `cpu` |\r
| `EVREM_TOP_K` | Default retrieval count | `5` |\r
| `EVREM_MIN_SIM` | Minimum similarity threshold | `0.5` |\r
| `EVREM_LOG_LEVEL` | Logging level | `WARNING` |\r
| `EVREM_LOCAL_FILES_ONLY` | Disable network access | `false` |\r
| `HF_ENDPOINT` | HuggingFace mirror endpoint | - |\r
\r
## Response Format\r
\r
When reporting search results, use this format:\r
\r
```\r
## evrmem Search Results\r
\r
**Query:** "user query"\r
**Results:** N memories found\r
\r
| Score | Project | Content |\r
|-------|---------|---------|\r
| 0.723 | mes-demo | React StrictMode causes Form.useForm warning... |\r
| 0.681 | docs | Deployment script timeout issue... |\r
\r
### Top Match\r
**Project:** mes-demo | **Tags:** react,antd\r
\r
> React StrictMode causes Form.useForm warning...\r
```\r
\r
When adding memory:\r
\r
```\r
## Memory Saved\r
\r
**ID:** abc123\r
**Project:** mes-demo\r
**Tags:** react\r
**Content:** React StrictMode causes Form.useForm warning...\r
\r
Use `evrmem search "React StrictMode"` to retrieve later.\r
```\r
\r
## Installation for Agent\r
\r
If `evrmem` is not installed:\r
\r
```python\r
import subprocess\r
subprocess.run(["pip", "install", "evrmem"], check=True)\r
# Initialize on first use (downloads ~400MB model)\r
subprocess.run(["evrmem", "init"], check=True)\r
```\r
\r
For China users, set mirror before init:\r
\r
```python\r
import os\r
os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"\r
subprocess.run(["evrmem", "init"], check=True)\r
```\r
\r
## Edge Cases\r
\r
- **Model download fails**: Set `HF_ENDPOINT=https://hf-mirror.com` before `evrmem init`\r
- **NumPy errors**: Run `pip install "numpy\x3C2" --force-reinstall`\r
- **Offline/air-gapped**: Download model on connected machine, copy `~/.evrmem/models` to offline machine, set `EVREM_LOCAL_FILES_ONLY=true`\r
- **Empty search results**: Try broader terms or check if memories exist with `evrmem query --list-projects`\r
- **Similarity too low**: Adjust `--top-k` or lower `EVREM_MIN_SIM` threshold\r
- **Slow search**: Use CPU by default; set `EVREM_DEVICE=cuda` if GPU available\r
Usage Guidance
This skill appears to do what it says (local Chinese vector memory), but before installing you should: 1) Inspect the 'evrmem' package source (or its PyPI project) before pip installing; 2) Install in an isolated virtualenv or container to avoid changing system packages (the instructions may force-reinstall numpy); 3) Prefer official HuggingFace endpoints; avoid using unknown HF mirrors unless you trust them—mirrors can serve malicious/poisoned models; 4) Be aware it will download ~400MB models and write data under ~/.evrmem (may contain sensitive text you store); 5) If you need higher assurance, ask the publisher for a homepage/source repo or request a signed release; without that the activity is coherent but carries supply-chain and environment-change risks.
Capability Analysis
Type: OpenClaw Skill Name: evrmem Version: 0.1.0 The evrmem skill provides a local vector memory system for AI agents using ChromaDB and Chinese embedding models. It includes standard installation procedures via pip, configuration for local data storage in ~/.evrmem, and legitimate RAG (Retrieval-Augmented Generation) workflows. The use of the hf-mirror.com endpoint is a common practice for users in China to access Hugging Face models and does not indicate malicious intent.
Capability Assessment
Purpose & Capability
Name/description (local Chinese semantic memory using text2vec + ChromaDB) matches the instructions: installing a Python package, initializing a local DB, configuring model and data directories, and performing searches/RAG.
Instruction Scope
Runtime instructions tell the agent to run pip install evrmem, run an evrmem init that downloads a ~400MB model, create ~/.evrmem config/data, and optionally set HF_ENDPOINT to a mirror. These steps are within the tool's purpose but permit arbitrary network downloads, writing to the user's home directory, and replacing system Python packages (e.g., forcing a numpy reinstall).
Install Mechanism
There is no formal install spec in the registry; SKILL.md instructs pip installing a third-party package and downloading a large model. Pip installs and model downloads are a moderate supply-chain risk. The suggested mirror domain (https://hf-mirror.com) is not a known official host and could be used to serve malicious or poisoned model binaries if used.
Credentials
The skill does not request secrets or credentials. SKILL.md documents environment variables for configuration (model name, device, data dir, HF_ENDPOINT, disable-network flag). These are reasonable for the function, but HF_ENDPOINT and EVREM_LOCAL_FILES_ONLY materially affect network behavior and trust boundaries.
Persistence & Privilege
always is false and autonomous invocation is allowed (normal). The skill will create and persist files under ~/.evrmem and download models to disk. This is expected for a local memory system but means the skill will store user data locally and consume significant disk/network resources.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install evrmem
  3. After installation, invoke the skill by name or use /evrmem
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
evrmem 0.1.0 – Initial Release - Introduces a local Chinese Vector Memory System for AI agents, supporting semantic search, memory storage, and RAG-based context augmentation. - Provides both Python and CLI interfaces for adding, searching, and querying memories. - Supports configuration via config file and environment variables for flexible setup. - Includes troubleshooting tips and installation instructions for both global and China-specific environments. - Defines clear response formats for search results and memory additions.
Metadata
Slug evrmem
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is evrmem?

Local Chinese semantic memory search and storage using text2vec embeddings and ChromaDB, supporting RAG-based context augmentation for AI agents. It is an AI Agent Skill for Claude Code / OpenClaw, with 89 downloads so far.

How do I install evrmem?

Run "/install evrmem" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is evrmem free?

Yes, evrmem is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does evrmem support?

evrmem is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created evrmem?

It is built and maintained by ThatsD (@zhzgao); the current version is v0.1.0.

💬 Comments