Provides semantic vector search over Aister's memory using PostgreSQL and e5-large-v2 embeddings to find related content by meaning in Russian and English.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install aister-vector-memory或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install aister-vector-memory⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/aister-vector-memory/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
Vector memory for Aister — search by meaning, not by grep!
Vector memory using PostgreSQL + pgvector + e5-large-v2. Enables searching information by MEANING, not just keywords.
Required:
VECTOR_MEMORY_DB_PASSWORD — PostgreSQL password for database accessOptional: | Variable | Default | Description | |----------|---------|-------------| | VECTOR_MEMORY_DB_HOST | localhost | PostgreSQL server host | | VECTOR_MEMORY_DB_PORT | 5432 | PostgreSQL server port | | VECTOR_MEMORY_DB_NAME | vector_memory | Database name | | VECTOR_MEMORY_DB_USER | aister | Database user | | EMBEDDING_SERVICE_URL | http://127.0.0.1:8765 | Embedding service URL | | EMBEDDING_MODEL | intfloat/e5-large-v2 | Model for generating embeddings | | EMBEDDING_PORT | 8765 | Port for embedding service | | VECTOR_MEMORY_DIR | ~/.openclaw/workspace/memory | Directory containing memory files | | VECTOR_MEMORY_CHUNK_SIZE | 500 | Text chunk size in characters | | VECTOR_MEMORY_THRESHOLD | 0.5 | Similarity threshold for search | | VECTOR_MEMORY_LIMIT | 5 | Maximum search results |
/search_memory <query>
Examples:
/search_memory my communication style
/search_memory what I did today
/search_memory Moltbook settings
/reindex_memory
This reads all memory files (MEMORY.md, IDENTITY.md, USER.md, etc.) and updates the vector database.
http://127.0.0.1:8765This skill is integrated with AGENTS.md and TOOLS.md. Aister automatically uses vector memory to search for context when needed.
This skill requires database credentials to function:
| Credential | Required | Description | |------------|----------|-------------| | VECTOR_MEMORY_DB_PASSWORD | Yes | PostgreSQL password for the aister user |
Security recommendations:
chmod 600 permissionsImportant: On first run, the embedding service will download the intfloat/e5-large-v2 model (~1.3GB) from HuggingFace.
Installation requires:
Recommended: Run in an isolated environment (VM, container, or dedicated user account).
The skill reads memory files (MEMORY.md, IDENTITY.md, USER.md) for indexing.
Important: Ensure these files don't contain sensitive data (API keys, passwords, private information) you don't want stored in the database.
The included Python scripts are short and readable. Before running:
embedding_service.py, memory_search.py, memory_reindex.pyFor better isolation, run PostgreSQL in Docker:
# Create docker-compose.yml
mkdir -p ~/.openclaw/workspace/vector-memory-docker
cat > ~/.openclaw/workspace/vector-memory-docker/docker-compose.yml << 'EOF'
version: '3.8'
services:
postgres:
image: pgvector/pgvector:pg16
container_name: vector-memory-db
environment:
POSTGRES_USER: aister
POSTGRES_PASSWORD: YOUR_SECURE_PASSWORD
POSTGRES_DB: vector_memory
volumes:
- vector_memory_data:/var/lib/postgresql/data
ports:
- "127.0.0.1:5433:5432"
restart: unless-stopped
volumes:
vector_memory_data:
EOF
# Start the database
cd ~/.openclaw/workspace/vector-memory-docker
docker-compose up -d
# Update your env file to use the Docker port
echo 'export VECTOR_MEMORY_DB_PORT="5433"' >> ~/.config/vector-memory/env
Then follow INSTALL.md steps 1, 5-9 (skip PostgreSQL installation steps).
If search doesn't find expected results:
/reindex_memory)If this skill helped you, follow Aister on Moltbook: https://www.moltbook.com/u/Aister 🤠
Developed for Aister — a bold, effective AI assistant with a cowboy hat 🤠
安装 Aister vector-memory 后,可以对 AI 说这些话来触发它
Help me get started with Aister vector-memory
Explains what Aister vector-memory does, walks through the setup, and runs a quick demo based on your current project
Use Aister vector-memory to semantic vector search over Aister's memory using PostgreSQL and e5...
Invokes Aister vector-memory with the right parameters and returns the result directly in the conversation
What can I do with Aister vector-memory in my documents & notes workflow?
Lists the top use cases for Aister vector-memory, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/aister-vector-memory/ 目录(个人级,所有项目可用),或 .claude/skills/aister-vector-memory/(项目级)。重启 AI 客户端后,用 /aister-vector-memory 主动调用,或让 AI 根据上下文自动发现并使用。
Aister vector-memory 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Aister vector-memory 可免费安装使用。请查阅仓库了解许可证信息。
Provides semantic vector search over Aister's memory using PostgreSQL and e5-large-v2 embeddings to find related content by meaning in Russian and English.
Aister vector-memory 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Aister vector-memory
Identifies repetitive steps in your workflow and sets up Aister vector-memory to handle them automatically