hindsight-memory
ما الذي تفعله
تربط هذه المهارة وكيل الذكاء الاصطناعي بمحرك Hindsight للذاكرة طويلة الأمد. وهي مناسبة لمن يريد أن يكمل الوكيل من حيث توقفت الجلسات السابقة.
متى تستخدمها
- ✓عندما تشير إلى عمل سابق أو قرار ماضٍ وتتوقع أن يعرفه الوكيل.
- ✓عندما تذكر تفضيلًا دائمًا، مثل الطريقة التي تحب أن تسير بها الأمور.
- ✓عندما تطرح سؤالًا يمكن أن يجيب عنه سياق مشروع سابق.
رابط المهارة
https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/agent-plugin/skills/hindsight-memory/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد أن تتذكر أن قاعدة بيانات بيئة الاختبار لدينا هي Postgres 16 على Neon، وأن تراجع ما قررناه بشأنها سابقًا.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يستدعي الوكيل أداة recall للبحث في الذاكرة المحفوظة قبل الإجابة، وأداة retain لحفظ الحقائق الدائمة. تُحفظ الذكريات في بنك يبقى متاحًا عبر الجلسات.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Hindsight long-term memory
This plugin connects the agent to Hindsight, a long-term memory engine. Memory
persists across sessions in a bank (scoped by HINDSIGHT_BANK_ID), so what you
retain now is available to recall in future conversations.
The hindsight MCP server exposes the tools below. Prefer these over guessing from
scratch when the answer might live in past context.
When to recall (read memory)
Call recall at the start of a task, or whenever the user:
- refers to earlier work, a past decision, or "the thing we set up",
- states a preference or constraint that may already be recorded,
- asks a question that accumulated project/user context could answer.
recall(query: "how do we deploy the API and which region")
recall runs semantic + keyword + graph + temporal retrieval and returns the most
relevant memories. Ground your answer in what comes back, and say when nothing
relevant was found rather than inventing continuity.
When to retain (write memory)
Call retain when you learn something durable and reusable — worth having in
a future session, not just this one:
- stable user preferences ("prefers pnpm; deploys from
mainonly"), - project facts and decisions ("staging DB is Postgres 16 on Neon"),
- outcomes and gotchas ("the flaky test was a timezone bug, fixed in #482").
retain(content: "The user deploys the API to us-east-1 via GitHub Actions on push to main.")
Do not retain transient chatter, secrets, or anything the user asked you to keep out of memory. Retain the fact, not the whole transcript.
When to reflect (reason over memory)
Call reflect when a single recall is too shallow and you need synthesized
reasoning over everything remembered — the why behind a behavior, or a judgment that
weighs many facts together:
reflect(query: "What has repeatedly caused our CI to flake, and what should we standardize?")
reflect is slower and disposition-aware; use it deliberately, not for lookups.
Bank scope
All tools operate on the bank selected by the connection (HINDSIGHT_BANK_ID, default
default). One bank = one memory store — keep a project's or a user's memory in its
own bank so context stays isolated and relevant. You never pass a bank id to a tool;
it is implicit from the endpoint.
الأسئلة الشائعة
أي بنك ذاكرة تستخدم؟
تستخدم المهارة البنك المحدد في إعداد HINDSIGHT_BANK_ID، فتبقى الذكريات داخل ذلك البنك.
ماذا يجب أن يحفظ الوكيل؟
تذكر المهارة حفظ التفضيلات الثابتة، وحقائق المشروع والقرارات، والدروس المستفادة، لا كل التفاصيل.
ماذا يحدث إذا لم توجد ذاكرة؟
يجب أن يقول الوكيل إنه لم يجد شيئًا مناسبًا، بدلًا من اختلاق سياق سابق.
التفاصيل
الوصف الأصلي من المؤلف
Long-term memory for the agent via Hindsight. Use to recall relevant past context before answering, retain durable facts as you learn them, and reflect over accumulated memory for the "why" behind a decision. Load whenever continuity across sessions matters — the user refers to earlier work, states a lasting preference, or asks a question that prior context could answer.
repo: vectorize-io/hindsight
الشعبية
- نجوم GitHub
- 58k
- الترتيب
- #3260
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
figure
58kيساعد وكيلك على رسم مخطط متحرك كملف SVG واحد لملف README في GitHub أو طلب سحب أو مدونة، يوضح سير العملية.
Hindsight Memory
58kيعلّم وكيلك حفظ الذاكرة طويلة الأمد والبحث فيها داخل تطبيق Hindsight، بدلًا من أدوات الذاكرة المدمجة فيه.
hindsight-coding-agent
58kيشرح إضافة الذاكرة في Hindsight لجلسات البرمجة، بما في ذلك بنوك الذاكرة لكل مستودع وسياق الجلسة التلقائي وطريقة تغيير إعداداتها.
hindsight-recall
58kيساعد وكيلك على البحث في الذاكرة طويلة الأمد عن القرارات السابقة وسياق المشروع والتفضيلات عندما تسأل عن أعمال سابقة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.