跳至主要内容
小龙虾小龙虾AI
🤖

Memory Sync Protocol

Synchronize durable behavior or preference changes across TOOLS.md, MEMORY.md, AGENTS.md, and memory/YYYY-MM-DD.md with one consistent workflow. Use when use...

下载1.0k
星标2
版本1.0.0
AI 智能体
安全通过

技能说明


name: memory-sync-protocol description: Synchronize durable behavior or preference changes across TOOLS.md, MEMORY.md, AGENTS.md, and memory/YYYY-MM-DD.md with one consistent workflow. Use when user says to remember/update rules, skill routing, defaults, operating conventions, or asks for "sync across files" / "记住并同步" / "更新记忆治理".

Memory Sync Protocol

When this skill is triggered, execute the following sequence strictly.

1) Classify the change

  • Execution detail (tool/profile/path/routing trigger) → TOOLS.md
  • Long-term stable preference (high-level) → MEMORY.md
  • Governance/process rule (how to maintain) → AGENTS.md
  • Event log / audit trail (what changed today) → memory/YYYY-MM-DD.md

2) Update files with minimal duplication

  • Write detailed routing/trigger logic in TOOLS.md.
  • Write only high-level summary in MEMORY.md.
  • Avoid copying large sections between files.
  • If adding a new policy, also add short maintenance note in AGENTS.md.

3) Append daily log

  • In memory/YYYY-MM-DD.md, record:
    • what changed,
    • why,
    • affected files.

4) Git discipline

  • Before major rewrites: create a backup commit.
  • After updates: commit with semantic message, e.g.
    • docs(routing): ...
    • docs(memory): ...
    • chore(memory): ...

5) Reply format

Return a concise sync report:

  • Updated files
  • Key rules added/changed
  • Commit hash/message

Guardrails

  • Do not store sensitive secrets in MEMORY/TOOLS unless user explicitly asks.
  • Do not bloat MEMORY with skill inventories or transient logs.
  • Prefer TOOLS for concrete calling rules; MEMORY for durable preference only.

如何使用「Memory Sync Protocol」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Memory Sync Protocol技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能