← 返回 Skills 市场
wen521

Memory V2 Skill

作者 snowy · GitHub ↗ · v2.5.4 · MIT-0
cross-platform ⚠ suspicious
162
总下载
0
收藏
0
当前安装
8
版本数
在 OpenClaw 中安装
/install 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)...
安全使用建议
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-v2-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-v2-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug memory-v2-skill
版本 2.5.4
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 8
常见问题

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)... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 162 次。

如何安装 Memory V2 Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-v2-skill」即可一键安装,无需额外配置。

Memory V2 Skill 是免费的吗?

是的,Memory V2 Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Memory V2 Skill 支持哪些平台?

Memory V2 Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Memory V2 Skill?

由 snowy(@wen521)开发并维护,当前版本 v2.5.4。

💬 留言讨论