شعار Memory Review

Memory Review

مؤسسة
onebrain-ai
memory-review

Interactive review of all memory/ files — keep, update, deprecate, or delete entries one by one. Use when the user wants to audit and prune accumulated memory — 'review my memory', 'clean up what you remember'. Do NOT use for: teaching a new fact (use learn), recalling something specific (read memory directly), or batch-promoting session insights (use recap).

نظرة عامة

الناشرonebrain-ai
المستودعonebrain
اسم المهارةmemory-review
النجوم
31
التفريعات
3
الملفات المرفقة
1
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها onebrain-ai على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Memory Review في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/onebrain-ai/onebrain/tree/main/.claude/plugins/onebrain/skills/memory-review
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/onebrain-ai/onebrain.git /tmp/onebrain
mkdir -p .claude/skills
cp -r /tmp/onebrain/.claude/plugins/onebrain/skills/memory-review .claude/skills/memory-review
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Memory Review في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Memory Review تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Memory Review بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

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

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Memory Review

Interactive review session for pruning and updating memory entries.

Data Source

Read the entry list from MEMORY-INDEX.md (already in context after session startup). Before displaying the first entry, read the frontmatter of every active and needs-review file in memory/ to fetch conf and verified — these fields are not in MEMORY-INDEX.md. Only read the full file body when user picks update and needs to modify content.

Edge Case: Empty MEMORY-INDEX

If memory/ is empty or has no active/needs-review entries → display "No memory files to review." and stop.

Entry Ordering

Sort all entries by verified date (ascending — oldest first) before starting:

  1. needs-review entries first
  2. active entries second
  3. deprecated — skipped entirely

Display Per Entry

Print this header as plain text output before making the first AskUserQuestion call. Do not repeat it per entry and do not embed it inside any question string: ────────────────────────────────────────────────────────────── 🔬 Memory Review — {N} files to review ──────────────────────────────────────────────────────────────

Per-entry: use a single AskUserQuestion with entry details embedded in the question text. When constructing the AskUserQuestion tool call, the question parameter must contain actual newline characters in the JSON string — not backslash-n (\n) escape sequences.

Primary menu (shown for every entry):

  • question (use real newlines — the lines below are separate lines in the string):
    [{n}/{N}] "{1-line description}"
    
    {status_emoji} {status}  ·  conf: {level}  ·  📅 {X} days ago
    🏷️ {topics}
    ──────────────────────────────────────────────────────────────
    `{filename}.md`
    
    What would you like to do?
    Status emoji: 🟢 active, 🟡 needs-review, ⚫ deprecated
  • header: "Memory Review [{n}/{N}]"
  • multiSelect: false
  • options:
    • label: "keep", description: "Bump verified date to today, no changes"
    • label: "update", description: "Edit confidence, type, or description"
    • label: "manage...", description: "Flag, deprecate, or delete this entry"
    • label: "stop", description: "Exit review, leave remaining entries unchanged"

Manage menu (shown only when user picks "manage..." from Primary):

  • question: "{filename}.md — choose an action:"
  • header: "Manage [{n}/{N}]"
  • multiSelect: false
  • options:
    • label: "skip", description: "Advance to next entry, no changes to this entry"
    • label: "needs-review", description: "Flag for later review"
    • label: "deprecate", description: "Mark as deprecated (keeps file, removes from active index)"
    • label: "delete", description: "Move to archive and remove from index"

After any Manage action completes, advance to the next entry's Primary menu.

Option Behaviors

keep → bump verified to today only. updated unchanged (status did not change — updated tracks status changes, not verification events). Advance to next entry.

update → two sequential AskUserQuestion calls. All changes are staged until confirm; nothing is written until the user confirms. cancel at any point discards all staged changes.

Call 1 — set confidence:

  • options: conf-unchanged / conf-low / conf-medium / conf-high
  • conf-unchanged is listed first (safe default for confidence only — it does NOT cancel the update flow; always advance to Call 2 after any selection in Call 1)
  • After selecting: stage the conf change, then show Call 2.

Call 2 — additional edits (cancel first — safe default, discards all staged changes):

  • options:
    • label: "cancel", description: "Discard all staged changes, return to Primary menu"
    • label: "change-type", description: "Change the memory type"
    • label: "change-description", description: "Rewrite the one-liner description"
    • label: "confirm", description: "Save all staged changes and advance to next entry"
  • change-type → type selection split across two menus (4-option limit):
    • Call 3a: cancel / context / behavioral / more...
    • Call 3b (if "more..."): dev / project / reference / back cancel (Call 3a) → discard type change, return to Call 2. back (Call 3b) → return to Call 3a. To exit Call 3b without picking a type: back → Call 3a → cancel → Call 2. After picking a type in Call 3a or Call 3b: stage the change, return to Call 2.
  • change-description → prompt for new description as free text (plain text response, not AskUserQuestion). After user replies: stage the change, return to Call 2.
  • confirm → write all staged changes; bump verified and updated to today; update MEMORY-INDEX.md row and file frontmatter. Advance to next entry.
  • cancel → discard all staged changes; return to Primary menu for this entry.

needs-review (via manage...) → sets status: needs-review; bumps updated to today. verified unchanged. Advance to next entry.

deprecate (via manage...) → sets status: deprecated; bumps updated to today; removes row from MEMORY-INDEX.md; decrement total_active if entry was active, or total_needs_review if entry was needs-review. verified unchanged. File stays in memory/ (browsable in Obsidian). Advance to next entry.

delete (via manage...) → AskUserQuestion: "Move memory/X.md to archive and remove from MEMORY-INDEX?"

  • options:
    • label: "cancel", description: "Return to Manage menu, no changes"
    • label: "confirm", description: "Archive file and remove from MEMORY-INDEX" If cancel: return to Manage menu for this entry. If confirm:
  1. Move file to [archive_folder]/[agent_folder]/memory/YYYY-MM/X.md
  2. Add archived: YYYY-MM-DD to file frontmatter
  3. Remove row from MEMORY-INDEX.md; decrement total_active if status was active, total_needs_review if status was needs-review
  4. If archive path already exists: suffix with -NN (e.g. dev-workflow-02.md) — never overwrite
  5. Auto-create [archive_folder]/[agent_folder]/memory/YYYY-MM/ folder if missing Advance to next entry.

skip (via manage...) → advance to next entry, no changes to this entry.

stop → exit session, all unreviewed entries unchanged.

MEMORY-INDEX.md Sync

Every skill that modifies MEMORY-INDEX.md must update these frontmatter cache fields:

  • total_active — increment/decrement on status changes
  • total_needs_review — increment/decrement on status changes
  • updated — set to today after any modification

On /memory-review completion: update onebrain.yml stats.last_memory_review: YYYY-MM-DD. Update regardless of whether any changes were made — the field tracks when the user last reviewed, not when they last changed something. Only skip the update if the user invoked stop without completing any entry action (keep, update, manage..., or skip).

Completion

After the review session ends: ✅ Memory review complete — kept {N}, updated {M}, skipped {S}, flagged {R}, deprecated {P}, deleted {Q}.

(skipped = entries passed via manage... → skip; flagged = entries moved to needs-review via manage...)

Note: If more than 40 entries, review shows all entries sequentially (no truncation needed — user controls pace via manage.../stop).

Write Log Entry

Follow ../_shared/audit-log-format.md (canonical frontmatter, append-per-day algorithm, failure mode) with:

  • Filename: YYYY-MM-DD-memory.md — shared file. /learn and /memory-review both append to this same daily file.
  • Tags: [audit-log, memory]
  • Skill: skill: [/learn, /memory-review] (YAML list — file is shared)
  • Run heading exception: because the file is shared, /memory-review writes its sections as ## Run HH:MM /memory-review (and /learn writes ## Run HH:MM /learn). This is the only audit-log file where the run heading carries a discriminator.
  • Entry types written by /memory-review: updated (confirm via update flow), deprecated (manage → deprecate), deleted (manage → delete confirmed). keep actions do not need their own bullets — they only bump verified — but they may be summarized in a one-line tally bullet.
  • Edge case: if the user invoked stop without any committed action, skip writing this entry.

Per-skill body template (the appended block, when today's file already exists):

markdown
## Run HH:MM /memory-review
- **deleted** memory/feedback_outdated.md
  - Reason: superseded by feedback_new_workflow
  - Last content snippet: "always use bun install (replaced by /update)"
- **deprecated** memory/project_omnibrain.md
  - Reason: project folded into OneBrain Cloud (2026-05-04)
  - Status: status: archived

The full file (creation form) — frontmatter + heading + first run:

markdown
---
tags: [audit-log, memory]
skill: [/learn, /memory-review]
date: YYYY-MM-DD
---

# Memory Changes — YYYY-MM-DD

## Run HH:MM /memory-review
- **deleted** memory/feedback_outdated.md
  - Reason: superseded by feedback_new_workflow
  - Last content snippet: "always use bun install (replaced by /update)"

Edge Cases

  • If entry's row is missing from MEMORY-INDEX.md but file exists in memory/ (out of sync) → pass over the entry and output: "MEMORY-INDEX out of sync — run /doctor --fix"
  • keep, needs-review, deprecate, delete commit immediately. No undo. update commits only on explicit confirm (cancel at any stage discards all staged changes). stop and skip (via manage...) never commit.

Restore from Archive

To recover a soft-deleted file: manually move it back to memory/ and remove the archived: frontmatter field. Then re-add the MEMORY-INDEX.md row manually or run /doctor --fix to rebuild MEMORY-INDEX.md.


Known Gotchas

  • keep and deprecate commit immediately — no undo. update can be cancelled via the cancel option before confirm. delete asks for confirmation before executing. Remind the user that keep and deprecate take effect immediately with no cancel path.

  • Out-of-sync MEMORY-INDEX.md. If a memory/ file is missing from MEMORY-INDEX.md (written by /learn outside of review), the skill skips it with an "out of sync" message. After the review completes, prompt the user to run /doctor --fix if any out-of-sync entries were encountered.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Memory Review؟

Interactive review of all memory/ files — keep, update, deprecate, or delete entries one by one. Use when the user wants to audit and prune accumulated memory — 'review my memory', 'clean up what you remember'. Do NOT use for: teaching a new fact (use learn), recalling something specific (read memory directly), or batch-promoting session insights (use recap).

لماذا تستخدم Memory Review على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Memory Review عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Memory Review في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/onebrain-ai/onebrain/tree/main/.claude/plugins/onebrain/skills/memory-review. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Memory Review؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Memory Review؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Memory Review معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Memory Review مجانية؟

نعم. نشرها onebrain-ai على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇