← Back to Skills Marketplace
162
Downloads
0
Stars
0
Active Installs
8
Versions
Install in OpenClaw
/install memory-v2-skill
Description
Memory Lucia - Local SQLite-based memory system for OpenClaw agents. Features: (1) Priority analysis and tracking, (2) Learning progress with milestones, (3)...
Usage Guidance
Key issues to consider before installing or using this skill:
- Code/schema mismatches: Several modules reference database columns that don't exist in database/schema.sql (examples: LearningModule.insert uses milestone_name but schema column is title; completeMilestone updates is_completed/completed_date while schema uses status/completed_at; EvolutionModule attempts to insert old_level/new_level into memory_evolution_history though the schema expects event_type/event_data). These mismatches will likely cause runtime SQL errors or silent data corruption.
- Logical bugs: EvolutionModule.recordUsage shadows the function parameter named 'result' with a const result from db.run, which breaks the success/failure logic and the XP/level flow. Expect incorrect behavior or exceptions.
- Missing artifacts: SKILL.md and other docs reference migration scripts (migrations/v1-to-v2.js) and demo initializers that are not present or inconsistent. Also SKILL.md reports inconsistent version numbers in places (2.5.4 vs 2.0.2). This indicates the package may be incomplete or poorly maintained.
- Filenames and DB names differ: api/index.js uses './memory-v2.db' while QueryModule defaults to './memory-v2.5.db' — ensure the module actually opens the intended DB file to avoid fragmentation of data across files.
- No external network activity or secret access detected in provided files, which is good — but you should still inspect the omitted files (modules/version.js, scripts, package.json, and any other truncated files) before trusting the package.
Recommendations:
1) Do NOT deploy this against sensitive or production data until the above issues are fixed. Run it in an isolated environment or container for evaluation.
2) Review the remaining files (package.json, modules/version.js, scripts/init-memory.js, scripts/init-demo.js, and any omitted files) for any network calls, downloads, or env var usage. Confirm package.json dependencies and any postinstall scripts.
3) Fix the DB schema vs code mismatches or regenerate schema to match code; add parameterized queries where template interpolation occurs (some SQL uses string interpolation for time offsets).
4) Run unit tests or simple smoke tests: init DB, call api.init(), call a few API methods, and watch for SQL errors. Verify where the DB file is created and that backups (if any) are local.
5) If you need migration support, ask the author for the missing migration script and for consistent versioning; otherwise treat the project as requiring manual migration.
If you want, I can parse the omitted files (package.json, version module, remaining code) to check for network calls or other inconsistencies — provide those files and I will re-evaluate.
Capability Assessment
Purpose & Capability
The declared purpose (local SQLite memory for agent data) matches the code: modules interact with a local sqlite3 DB, no outbound network calls or credentials are requested. However there are mismatches across versions/filenames (e.g., api uses './memory-v2.db' while QueryModule defaults to './memory-v2.5.db') and SKILL.md/version strings differ; these are coherence problems (likely bugs) but not evidence of external exfiltration.
Instruction Scope
SKILL.md instructs local installation (npm install sqlite3, node scripts/init-memory.js) and claims no external API calls. The instructions reference a migration script (node migrations/v1-to-v2.js) that does not exist in the package — that is an explicit mismatch. The docs promise 'automatic database backups' and a migration path, but provided files do not clearly implement or support those steps; this is scope/documentation drift.
Install Mechanism
There is no packaged install spec; the skill is instruction-first and requires the sqlite3 Node package. No remote downloads, shorteners, or extract operations are present in the provided files, so install risk is low — but package.json (not shown) should be inspected for additional dependencies.
Credentials
The skill requests no environment variables or credentials and the code does not read any env vars in the provided files. This is proportionate to a local SQLite memory implementation.
Persistence & Privilege
The skill is not marked always:true, and uses only local files (database and schema). It does not request elevated agent privileges or modify other skills. Its potential to run autonomously (default) is normal for skills and not marked here as an extra privilege.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install memory-v2-skill - After installation, invoke the skill by name or use
/memory-v2-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.5.4
- Adds full local text search across all memory tables.
- Introduces automatic SQLite database backups.
- Updates description and documentation to clarify that all data is stored locally with no external API calls.
- Minor version bump to 2.5.4.
v2.5.3
- Added documentation for migrations in migrations/README.md.
- Updated project metadata and dependencies.
- Improved documentation in README.md and SKILL.md.
- Removed outdated migration script (migrations/v1-to-v2.js).
v2.5.2
- Updated to version 2.5.2
- Documentation improvements in README.md and SKILL.md
- Package dependencies and metadata updated in package.json
- Schema adjustments in database/schema.sql
- Removed obsolete file: check-db.js
v2.5.1
- Version bump to 2.5.1.
- Documentation updates in SKILL.md and README.md, including metadata version changed from 2.5.0 to 2.5.1.
- No functional or API changes; update only affects documentation and versioning.
v2.5.0
Memory-v2-skill v2.5.0 introduces hybrid query features and improvements to tracking and monitoring.
- Added hybrid query functionality with local-first and API fallback (see modules/query.js).
- Enhanced learning tracking and evolution monitoring now include proficiency levels.
- Improved autonomous decision recording with support for review scheduling.
- Updated documentation and metadata to reflect the new version and capabilities.
- Demo and initialization scripts added (scripts/init-demo.js).
v2.0.4
- Improved documentation with clear usage examples and feature highlights.
- Added detailed module breakdowns (Priority, Learning, Decision, Evolution) and sample code snippets for each.
- Updated installation and migration instructions for clarity.
- Expanded feature list to emphasize dashboard and version management capabilities.
- Provided database schema details and direct API reference links.
v2.0.3
- Updated version number to 2.0.3 across documentation and metadata.
- Removed outdated CLAWHUB-FIXES.md file.
- Updated references in documentation to reflect file and version changes.
- General documentation cleanup and maintenance.
v2.0.2
Version 2.0.2 (memory-v2-skill):
- Improved documentation and examples for all major modules.
- Clarified usage scenarios and added module-specific API usage demos.
- Expanded feature list, including dashboard, migration instructions, and backup/rollback details.
- Added setup instructions for dependencies and database initialization.
- Provided reference to full API documentation and the database schema.
Metadata
Frequently Asked Questions
What is Memory V2 Skill?
Memory Lucia - Local SQLite-based memory system for OpenClaw agents. Features: (1) Priority analysis and tracking, (2) Learning progress with milestones, (3)... It is an AI Agent Skill for Claude Code / OpenClaw, with 162 downloads so far.
How do I install Memory V2 Skill?
Run "/install memory-v2-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Memory V2 Skill free?
Yes, Memory V2 Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Memory V2 Skill support?
Memory V2 Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Memory V2 Skill?
It is built and maintained by snowy (@wen521); the current version is v2.5.4.
More Skills