Agent Skills › MemPalace/mempalace › mempalace

mempalace

GitHub

本地AI记忆系统技能,支持检索过往工作、保存事实及更新关系。提供查询、写入、失效等操作规范,并涵盖MemPalace在OpenClaw中的安装与故障排查指南。

integrations/openclaw/SKILL.md MemPalace/mempalace

Trigger Scenarios

需要回忆过往对话或决策 保存新的用户偏好或事实 更新已有知识图谱关系 配置或修复MemPalace服务

Install

npx skills add MemPalace/mempalace --skill mempalace -g -y
More Options

Non-standard path

npx skills add https://github.com/MemPalace/mempalace/tree/develop/integrations/openclaw -g -y

Use without installing

npx skills use MemPalace/mempalace@mempalace

指定 Agent (Claude Code)

npx skills add MemPalace/mempalace --skill mempalace -a claude-code -g -y

安装 repo 全部 skill

npx skills add MemPalace/mempalace --all -g -y

预览 repo 内 skill

npx skills add MemPalace/mempalace --list

SKILL.md

Frontmatter
{
    "name": "mempalace",
    "version": "3.12.0",
    "homepage": "https:\/\/github.com\/MemPalace\/mempalace",
    "metadata": {
        "openclaw": {
            "os": [
                "darwin",
                "linux",
                "win32"
            ],
            "emoji": "🏛",
            "install": [
                {
                    "id": "mempalace-pip",
                    "bins": [
                        "mempalace"
                    ],
                    "kind": "uv",
                    "label": "Install MemPalace (Python, local ChromaDB)",
                    "package": "mempalace"
                }
            ]
        }
    },
    "description": "Recall past work or facts; save memories; update relationships; set up or troubleshoot MemPalace in OpenClaw.",
    "user-invocable": true
}

MemPalace

  1. Choose the branch. For past work, people, preferences, decisions, or continuity, use the procedure below (canonical recall). Honor session-start context and known wing scope; omit uncertain filters. Skip recall for greenfield work. Use exposed tools with current schemas/permissions; logical names below may be namespaced. Reuse an existing connection without requiring a local CLI or another palace. Never substitute local data on a remote-only failure. Consult tool selection only for unfamiliar syntax/edge cases; ordinary recall needs no extra read. For explicitly requested installation or connection diagnosis, read setup instead. Proceed once the question and authorized operation are clear; do not run setup as a recall prerequisite.
  2. Retrieve only what answers the question. With preferred light MCP, use palace_query with KG, FIND, or DIARY for relationships/time-bound facts, source words, or recent handoffs. Supported full MCP equivalents are mempalace_kg_query, mempalace_search, and mempalace_diary_read. Use active_facts for current-state KG answers without as_of; other facts can be historical or future. Keep search queries short and private: keywords or a question, never prompts or conversation dumps. Use small result limits and known filters. If KG is insufficient, try text; if scoped text misses, check or relax scope. Stop when answered, quoting stored words verbatim. If bounded fallback still misses, state what was checked, not that nothing exists.
  3. Preserve source and temporal history when writing. Store exact verbatim content, not a summary. For a confirmed single-valued replacement use light palace_exec with KG SUPERSEDE, or full mempalace_kg_supersede: one atomic boundary closes the old value and opens its successor. Use KG INVALIDATE / mempalace_kg_invalidate for an ending without replacement and KG ADD / mempalace_kg_add for independent/coexisting facts. Never hand-roll invalidate-then-add replacements or rewrite uncertain conflicts. Check the result before claiming persistence; see tool selection for provenance, historical backfill, and exact temporal semantics.
  4. Gate maintenance and recover safely. Import, bulk cleanup, destructive changes, and host settings require explicit user intent and confirmed scope. Preview supported bulk operations before applying; never change hook settings silently. Surface unavailable tools and errors rather than inventing history. Reconnect after external writes only for stale in-memory state; it is not corrupt-index repair. Follow canonical index recovery for corruption: guide an operator through offline SQLite-backed recovery, never an in-process rebuild or blind re-mining. Finish with a verified result or a concrete error and safe next step.
  5. Close substantive work without double filing. Check hook/save evidence before recording continuity; use light FILED or full mempalace_memories_filed_away when needed. If not already saved, use a diary entry or a checkpoint combining verbatim items with agent continuity. Consult light AAAK SPEC or full mempalace_get_aaak_spec for diary notation; compressed observations never replace verbatim source drawers. Confirm the save or report failure.

The references directory must travel with this skill; do not install only SKILL.md. The shared protocol remains authoritative and is linked online so installed bundles do not depend on sibling repository directories. If it cannot be read, report that limitation before attempting its detailed recovery steps. A skill guides model-invoked memory operations; it does not install auto-save hooks or prove automatic recall injection. Verify optional automation separately. MemPalace is local-first; use only user-approved storage and services, and do not send private source content to an unconfigured external service.

License

MemPalace is MIT licensed. Created by Milla Jovovich, Ben Sigman, Igor Lins e Silva, and contributors.

Version History

  • 4f7745a Current 2026-11-03 00:25

    优化文档以明确KG覆盖操作,精简技能描述并刷新行为导向的记忆协议说明。

  • f884dd4 2026-10-19 07:23

    新增检索引导文档,优化上下文获取策略;版本升级至3.12.0。

  • beb945f 2026-09-22 12:42

    新增批量获取和删除抽屉的工具,优化响应形状一致性,修复批量删除路径共享问题,并补充相关文档。

  • d9f0590 2026-09-03 08:10

    将未发布的累积更改提升并合并至3.9.0版本发布日志中,同时升级所有包、插件、集成、徽章及锁文件的版本号。

  • 4c1e6d0 2026-08-27 21:29

    发布版本3.8.0,统一了多源版本号,并修复了uv.lock中onnxruntime-gpu依赖问题。

  • 517a7a0 2026-08-19 23:47

    版本更新至3.7.1,修复FIFO摄入挂起、完整性重采、ChromaDB缓存回退及信号处理问题;3.7.0增强单写者所有权、HNSW写入默认值及安全加固。

  • aa89bd8 2026-07-25 05:32

Same Skill Collection

.antigravity-plugin/skills/mempalace-recall/SKILL.md
.antigravity-plugin/skills/mempalace/SKILL.md
.claude-plugin/skills/mempalace-recall/SKILL.md
.claude-plugin/skills/mempalace-task/SKILL.md
.claude-plugin/skills/mempalace/SKILL.md
skills/mempalace-recall/SKILL.md
skills/mempalace-task/SKILL.md
skills/mempalace/SKILL.md
.codex-plugin/skills/audit/SKILL.md
.codex-plugin/skills/help/SKILL.md
.codex-plugin/skills/init/SKILL.md
.codex-plugin/skills/mine/SKILL.md
.codex-plugin/skills/search/SKILL.md
.codex-plugin/skills/status/SKILL.md

Metadata

Files
0
Version
4f7745a
Hash
c9a3a29b
Indexed
2026-07-25 05:32

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 05:51
浙ICP备14020137号-1