agent-memory-ops

Audit and maintain OpenClaw-style long-term memory. Use for MEMORY.md cleanup, daily-note digestion, duplicate detection, stale-memory review, and promoting durable facts from memory/YYYY-MM-DD.md into curated memory.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "agent-memory-ops" with this command: npx skills add orime/agent-memory-ops

Agent Memory Ops

Use this skill when you need to keep an agent's memory layer healthy instead of letting MEMORY.md rot.

What it does

  • scans MEMORY.md + memory/*.md
  • detects duplicate / near-duplicate bullets
  • extracts memory candidates from recent daily notes
  • surfaces active follow-ups / TODOs
  • filters obvious secrets from suggested memory output
  • produces a concise maintenance report you can act on

Good use cases

  • "帮我整理 MEMORY.md"
  • "检查记忆层有没有重复和过期信息"
  • "把最近几天的重要内容沉淀到长期记忆"
  • "做一次 agent memory audit"
  • "维护长期记忆 / daily memory / notebook memory"

Commands

Run from the workspace root that contains MEMORY.md and memory/.

python3 {baseDir}/scripts/memory_ops.py report --root .
python3 {baseDir}/scripts/memory_ops.py dedupe --root .
python3 {baseDir}/scripts/memory_ops.py digest --root . --days 7
python3 {baseDir}/scripts/memory_ops.py digest --root . --files 5 --format json

Recommended workflow

  1. Run report to see gaps, duplicates, and follow-ups.
  2. Run digest on the last 5-7 daily notes.
  3. Promote only durable facts into MEMORY.md.
  4. Keep volatile chatter in daily notes.
  5. Never copy secrets into curated memory unless the user explicitly asks.

Output policy

  • Prefer --format markdown for human review.
  • Prefer --format json when another tool or script will consume the result.
  • The script intentionally redacts / skips likely secrets from digest suggestions.

References

  • references/playbook.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Claw Soul Backup

Store encrypted OpenClaw workspace backups and restore them via token-secured API using claw-vault.com with local encryption and credential management.

Registry SourceRecently Updated
4330Profile unavailable
Security

SPIRIT State Sync

State Preservation & Identity Resurrection Infrastructure Tool (SPIRIT). Preserves AI agent identity, memory, and projects to a private Git repository. NEW:...

Registry SourceRecently Updated
7520Profile unavailable
Security

System Change Archive

Create a pre-restart audit and rollback archive for system-level changes. Use when modifying OpenClaw config, plugins, routing, approvals, startup behavior,...

Registry SourceRecently Updated
741Profile unavailable
Security

ClawSeal

Cryptographic memory for AI agents with QSEAL tamper-evidence. Zero-config demo mode, scroll-native YAML storage.

Registry SourceRecently Updated
610Profile unavailable