Rename to hkt.sh
This commit is contained in:
37
skills/memory-tools/CLAUDE.md
Normal file
37
skills/memory-tools/CLAUDE.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# CLAUDE.md
|
||||
|
||||
Project context for Claude Code.
|
||||
|
||||
## Project
|
||||
|
||||
**memory-tools** - Agent-controlled memory plugin for OpenClaw/ClawHub.
|
||||
|
||||
- **Repo**: `Purple-Horizons/memory-tools`
|
||||
- **ClawHub slug**: `memory-tools`
|
||||
- **Owner**: gianni-dalerta
|
||||
|
||||
## Architecture
|
||||
|
||||
- **SQLite via sql.js (WASM)** - No native compilation, works on any Node version
|
||||
- **LanceDB** - Vector storage for semantic search
|
||||
- **Hybrid storage** - Metadata in SQLite, embeddings in LanceDB
|
||||
|
||||
## Key Decisions
|
||||
|
||||
- Switched from `better-sqlite3` to `sql.js` (v1.1.0) to eliminate `NODE_MODULE_VERSION` mismatch errors when users have different Node.js versions
|
||||
- Database initialization is async (WASM loading), so sync methods require `await store.init()` first
|
||||
|
||||
## Publishing to ClawHub
|
||||
|
||||
```bash
|
||||
clawhub publish . --slug memory-tools --version X.Y.Z --changelog "description"
|
||||
```
|
||||
|
||||
Always use `--slug memory-tools` to update the correct skill.
|
||||
|
||||
## Build & Test
|
||||
|
||||
```bash
|
||||
npm run build # TypeScript compile
|
||||
npm test # Run vitest
|
||||
```
|
||||
Reference in New Issue
Block a user