ai-memory-retrieval
ما الذي تفعله
تبحث هذه المهارة فيما سجّله مشروعك سابقًا في ويكي الذاكرة. وهي لمن يريد من الوكيل مراجعة القرارات السابقة قبل التصميم أو التعديل.
متى تستخدمها
- ✓عندما تسأل عما تقرر بشأن موضوع في مشروعك من قبل.
- ✓عندما تريد ملخص نشاط حديث أو إحاطة حالة من الذاكرة.
- ✓عندما تحتاج إلى قراءة صفحة ذاكرة كاملة قبل التصميم أو التصحيح أو التعديل.
رابط المهارة
https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-retrieval/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ما الذي قررناه بشأن طريقة ترحيل قاعدة البيانات؟ ابحث في ذاكرة المشروع قبل أن تقترح أي شيء.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يبحث وكيلك في ويكي المشروع، ويعرض الصفحات المحدّثة مؤخرًا، ويقرأ الصفحات كاملة عند الحاجة. وهذه عمليات قراءة فقط، لا تغيّر أي ذاكرة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
ai-memory retrieval
Use this skill for read-only ai-memory lookups, catch-up, and evaluating remembered project knowledge before you design, debug, or edit.
Tools in this cluster
memory_querysearches the current project's wiki for prior decisions, gotchas, procedures, rules, and session notes.memory_recentlists the most recently updated pages when the user wants a light activity check.memory_read_pagefetches a full page body after a search hit or direct path lookup. Aglobal_scope_hitsresult carries itsworkspace,project, andscope; passscope: "global"to read that reserved scope directly. The body is capped bymax_chars(default 12000, max 64000); the response'struncated/total_charsfields report whether it was cut and its full size. Raisemax_charsonly when you need the whole page. Passinclude_related: true(optionalrelated_depth, default 1, hard cap 3) to also walk the link graph outward and return arelatedarray of reachable pages, each with its hopdepthand edgedirection(link/backlink); default off omits it.memory_read_session_observationsreads one session's raw hook observations (prompts, tool calls, stops) in capture order, paged and body-capped, when the user asks what actually happened in a session or wants to check a compiled page against its evidence. It also continues a session that was cut off without ending: pass thesession_ida session-start notice,recent_sessionsornewer_unended_sessionnames (a harness's native id, such as an OpenCodeses_…id, works too) withorder: "desc", and its newest prompts and tool results are where the work stopped.memory_statusreports whether ai-memory is healthy and how large the knowledge base is.memory_briefingreturns a structured read-only snapshot for agent consumption, including a boundedpinnedlist of the project's pinned standing-context pages (present only when the project has pins) andrecent_sessions, the sessions with the newest captured work. An entry there withended: falseandhanded_off: falsethat is notcurrentwas cut off or is still running; read it before an older handoff or page when the user asks to continue.memory_explorereturns a prose digest when the user asks for an open-ended catch-up.
Project scope
Choose scope from the MCP client's identity support:
- Session-aware MCP clients that forward the real lifecycle-hook session id on every request should use automatic current-project routing. Omit
workspace,project, andcwdfor the current repository; pass explicit scope only when the user names a different project. - Static MCP clients (including clients with lifecycle hooks but no bridge connecting that hook session id to MCP requests) must pass
workspaceandprojecttogether on every project-scoped call, including requests about this project, here, or our work. Read the exact names from the nearest.ai-memory.tomlwhen it declares both. Without a marker override, derive the project from normalizedupstream, thenorigin, using the full repository path without its host (github.com/acme/api→acme-api); use the folder basename only when no valid remote exists. Never rely on the server's last active project.
This rule applies only to project-scoped calls. For cross-project retrieval, global=true must omit workspace, project, and scopes. For a standing preference written with scope: "global", omit workspace and project.
Choose the smallest useful lookup
- Use the search tool when the user asks whether something was discussed, before proposing architecture, or before non-trivial coding in a subsystem with possible prior decisions.
- Before non-trivial coding, debugging, deployment, release, auth, scope, migration, PR review, or data-preservation work, search memory for the subsystem and task type first. If the first search is thin, broaden or query more specific subsystem/error terms before designing a fix.
- Use the recent-pages tool for a quick what changed lately view.
- Use the status tool only for health and size questions.
- Use the structured briefing when code needs counts, windows, pending-handoff counts, current rules, or recent pages as JSON-like data.
- Use the prose exploration tool for broad catch-up questions like what is important right now or I have been away.
- Use the session observations tool when the question is about what
الأسئلة الشائعة
هل البحث يغيّر ذاكرتي؟
لا. الاسترجاع للقراءة فقط.
هل يستطيع قراءة نشاط الجلسات الخام؟
نعم. يستطيع قراءة الأوامر وأدوات الاستدعاء المسجلة لجلسة واحدة عندما تريد مراجعة ما حدث.
هل يبحث في نطاقات أخرى أيضًا؟
نعم. تُظهر النتائج من النطاقات الأخرى مساحة العمل والمشروع والنطاق، لترى مصدر كل نتيجة.
التفاصيل
الوصف الأصلي من المؤلف
Use this skill for any request whose goal is read-only retrieval from ai-memory: project history, prior context, decisions, rules, gotchas, recent activity, full wiki pages, or status/briefing. Trigger by semantic intent rather than exact wording, including when ai-memory is not named.
repo: akitaonrails/ai-memory
الشعبية
- نجوم GitHub
- 15k
- الترتيب
- #11041
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ai-memory-durable-pages
15kيساعد وكيلك على حفظ ملاحظات مشروع دائمة في ويكي ai-memory وتحديثها وحذفها عندما تطلب منه تذكّر شيء يدوم.
ai-memory-handoff
15kيساعد وكيلك على تمرير السياق إلى الجلسة التالية، فتستأنف من حيث توقفت، أو تحفظ ملاحظة ختامية، أو تلغي تسليمًا خاطئًا.
ai-memory-learning-maintenance
15kيساعد وكيلك على ترتيب ويكي الذاكرة بتحويل ملاحظات الجلسات إلى صفحات موضوعات، وفحص التناقضات، وتقليم المدخلات القديمة عند الطلب.
ai-memory-messaging
15kيساعد وكيلك على إرسال طلب مكتفٍ بذاته إلى صندوق وارد مشروع آخر، أو فحص صندوق مشروعك، أو إلغاء رسالة أرسلتها.
مهارات مشابهة
mcporter
394kيساعد وكيلك على عرض خوادم MCP وأدواتها واستدعائها وفحصها عبر HTTP أو stdio، وإدارة إعدادات تسجيل الدخول الخاصة بها.
fastmcp
260kيساعدك على بناء خادم MCP بلغة Python واختباره ونشره، ليمنح مساعدي الذكاء الاصطناعي وصولًا إلى واجهة برمجتك أو قاعدة بياناتك أو ملفاتك كأدوات.
mcp-oauth-remote-gateway
260kيرشدك خلال تسجيل الدخول عبر OAuth إلى خادم MCP بعيد، عندما يعمل Hermes على خادم لا يصله تسجيل الدخول العادي عبر المتصفح.