スキル一覧に戻る
ksm0709

memory

by ksm0709

Config files

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: memory description: | AI agent long-term memory management skill (openmemory-py based). Store and retrieve conversation context, user preferences, and important information via semantic search.

Note: Automatic context management is handled by the context-manager plugin. This skill is used when the agent explicitly manipulates memory.

When to use: (1) When user requests memory save/retrieve → /memory add, /memory query (2) When agent determines additional context is needed → /memory query (3) When deleting unnecessary memories → /memory delete

Memory Skill

OpenMemory-based AI agent long-term memory management.

Relationship with Plugin

┌─────────────────────────────────────────────────────┐
│         memory Skill (Explicit Memory Ops)          │
│     • /memory add - Manually add memory             │
│     • /memory query - Manually search memories      │
│     • /memory list - List memories                  │
│     • /memory delete - Delete memory                │
│     • /memory status - Show memory system status    │
└─────────────────────────────────────────────────────┘

When to Use?

✅ Use This Skill

  1. On User Request

    • "Remember this" → /memory add
    • "Find what we analyzed before" → /memory query
    • "Delete that memory" → /memory delete
  2. Agent Autonomous Decision

    • When additional context is needed for current task → /memory query
    • When saving important learnings permanently → /memory add
    • When discovering user preferences or patterns → /memory add

🔄 Plugin Handles Automatically (Implicit)

  • Load related context at task start → context_start tool
  • Mid-task checkpoints → context_checkpoint tool
  • Save results at task end → context_end tool

CLI Usage

# Add memory
/memory add "User prefers Python development" --tags=preferences,programming

# Search memory (semantic search)
/memory query "areas of interest" --limit=5

# List memories
/memory list --limit=10

# Delete memory
/memory delete <memory_id>

# Show status
/memory status

# Clear all memories (caution!)
/memory clear --confirm

Python API

from scripts.memory_client import MemoryClient

with MemoryClient() as mem:
    # Add
    mem.add("Important info", tags=["tag1"], metadata={"source": "chat"})
    
    # Search
    results = mem.query("search term", limit=5)
    
    # Delete
    mem.delete(memory_id)

Tag Guide

TagPurpose
preferencesUser preferences
topicsTopics of interest
projectsProjects of interest
contextConversation context
decisionDecision history
checkpointTask checkpoint (auto)
resultTask result (auto)

Storage Location

OpenMemory data stored in data/memory/ directory. Shares the same DB with Context Manager.

Dependencies

openmemory-py>=1.3.0
langchain>=1.0.0
langchain-core>=1.0.0

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です