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

soul-in-sapphire

بواسطة nextaltair

Web & Frontend Development
1.2kالتنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Generic long-term memory (LTM) operations for OpenClaw using Notion (2025-09-03 data_sources)

الوصف

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

Long-term memory (LTM) operations backed by Notion. Persists decisions, preferences, facts, and procedures as durable records, tracks emotional state and event history, and writes daily journal entries. Recalled memory is meant to feed back into future agent behavior, not just serve as an archive.

Using Notion as the backend gives human-readable, filterable memory without running a separate database or embedding store.

متى تستخدمها

  • Saving a technical decision during a debugging session so it survives context resets
  • Recording emotional state after a stressful deployment or incident
  • Searching past memory entries to recover a preferred API approach
  • Writing a daily journal entry that summarizes completed work and next intentions
  • Logging an event with importance and trigger type when a project milestone is hit

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

الإدخال

User asks: remember that I prefer the data_sources API over direct page queries

الوكيل
  1. 1

    Formats the preference as a structured JSON payload with type 'preference' and confidence 'high'

  2. 2

    Pipes the payload to ltm_write.js via stdin

  3. 3

    ltm_write.js calls the Notion API to create a new record in the -mem database

  4. 4

    Returns the new page ID as confirmation

الإخراج

Memory saved as a 'preference' entry tagged 'notion' in the Notion LTM database

المتطلبات

  • NOTION_API_KEY environment variable
  • Notion account with API access enabled

التثبيت

clawhub install nextaltair/soul-in-sapphire

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

الروابط