تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

session-memory

بواسطة swaylq

Notes & PKM
3.1kالتنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Persistent memory toolkit for AI agents.

الوصف

ما الذي تفعله هذه المهارة

A set of bash and Node.js scripts that give AI agents persistent memory across sessions. Memories are stored locally as JSONL files, tagged by topic, and scored by importance and recency. Supports save, recall, consolidation, export/import, and pruning.

Runs with no external dependencies or API calls, keeping all memory local and available offline.

متى تستخدمها

  • Resuming a coding session by loading recent decisions and insights
  • Recording an architectural choice so the agent remembers it next week
  • Flagging a credential rotation as critical so it always surfaces in context
  • Reviewing a week of decisions grouped by topic before a team sync
  • Exporting a memory snapshot before wiping a development environment

مثال على سير العمل

الإدخال

User asks: load my context from the last 3 days and remind me what database decisions we made

الوكيل
  1. 1

    Runs context.sh --days 3 to load recent and high-priority memories

  2. 2

    Runs recall.sh "database" --topic decision to find relevant entries

  3. 3

    Presents matched memories sorted by relevance score

  4. 4

    Saves a new memory summarizing the current session's starting point

الإخراج

Agent outputs recent context, lists database decisions with dates and importance levels, and confirms the session summary was saved

التثبيت

clawhub install swaylq/session-memory

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط