self-improving-agent
ما الذي تفعله
تتيح هذه الإضافة للوكيل مراجعة ما تعلمه والاحتفاظ بالمفيد فقط. وهي موجهة لمن يعمل مع وكيل ذكاء اصطناعي عبر جلسات كثيرة ويريد أن تتحسن معرفته مع الوقت.
متى تستخدمها
- ✓عندما تريد أن ترى ما تعلمه وكيلك حتى الآن.
- ✓عندما تصحح وكيلك وتريد أن يستمر التصحيح عبر الجلسات.
- ✓عندما تتراكم في ذاكرة وكيلك ملاحظات قديمة أو مكررة تحتاج إلى تنظيف.
رابط المهارة
https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/self-improving-agent/skills/self-improving-agent/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“راجع ما تعلمته عن هذا المشروع، وانقل الدروس المجربة إلى قواعد المشروع.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الوكيل ملفات ذاكرته التلقائية، ويصنف المدخلات إلى دروس تُحفظ أو تُرقّى أو تُشذّب أو تتحول إلى مهارة. وتتولى أوامر الإضافة كل خطوة، من المراجعة إلى الترقية إلى الاستخراج.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Self-Improving Agent
Auto-memory captures. This plugin curates.
Claude Code's auto-memory (v2.1.32+) automatically records project patterns, debugging insights, and your preferences in MEMORY.md. This plugin adds the intelligence layer: it analyzes what Claude has learned, promotes proven patterns into project rules, and extracts recurring solutions into reusable skills.
Quick Reference
| Command | What it does |
|---|---|
/si:memory-review |
Analyze MEMORY.md — find promotion candidates, stale entries, consolidation opportunities |
/si:promote |
Graduate a pattern from MEMORY.md → CLAUDE.md or .claude/rules/ |
/si:extract |
Turn a proven pattern into a standalone skill |
/si:memory-status |
Memory health dashboard — line counts, topic files, recommendations |
/si:remember |
Explicitly save important knowledge to auto-memory |
How It Fits Together
┌─────────────────────────────────────────────────────────┐
│ Claude Code Memory Stack │
├─────────────┬──────────────────┬────────────────────────┤
│ CLAUDE.md │ Auto Memory │ Session Memory │
│ (you write)│ (Claude writes)│ (Claude writes) │
│ Rules & │ MEMORY.md │ Conversation logs │
│ standards │ + topic files │ + continuity │
│ Full load │ First 200 lines│ Contextual load │
├─────────────┴──────────────────┴────────────────────────┤
│ ↑ /si:promote ↑ /si:memory-review │
│ Self-Improving Agent (this plugin) │
│ ↓ /si:extract ↓ /si:remember │
├─────────────────────────────────────────────────────────┤
│ .claude/rules/ │ New Skills │ Error Logs │
│ (scoped rules) │ (extracted) │ (auto-captured)│
└─────────────────────────────────────────────────────────┘
Installation
Claude Code (Plugin)
/plugin marketplace add alirezarezvani/claude-skills
/plugin install self-improving-agent@claude-code-skills
OpenClaw
clawhub install self-improving-agent
Codex CLI
./scripts/codex-install.sh --skill self-improving-agent
Memory Architecture
Where things live
| File | Who writes | Scope | Loaded |
|---|---|---|---|
./CLAUDE.md |
You (+ /si:promote) |
Project rules | Full file, every session |
~/.claude/CLAUDE.md |
You | Global preferences | Full file, every session |
~/.claude/projects/<path>/memory/MEMORY.md |
Claude (auto) | Project learnings | First 200 lines |
~/.claude/projects/<path>/memory/*.md |
Claude (overflow) | Topic-specific notes | On demand |
.claude/rules/*.md |
You (+ /si:promote) |
Scoped rules | When matching files open |
The promotion lifecycle
1. Claude discovers pattern → auto-memory (MEMORY.md)
2. Pattern recurs 2-3x → /si:memory-review flags it as promotion candidate
3. You approve → /si:promote graduates it to CLAUDE.md or rules/
4. Pattern becomes an enforced rule, not just a note
5. MEMORY.md entry removed → frees space for new learnings
Core Concepts
Auto-memory is capture, not curation
Auto-memory is excellent at recording what Claude learns. But it has no judgment about:
- Which learnings are temporary vs. permanent
- Which patterns should become enforced rules
- When the 200-line limit is wasting space on stale entries
- Which solutions are good enough to become reusable skills
That's what this plugin does.
Promotion = graduation
When you promote a learning, it moves from Claude's scratchpad (MEMORY.md) to your project's rule system (CLAUDE.md or .claude/rules/). The difference matters:
- MEMORY.md: "I noticed this project uses pnpm" (background context)
- CLAUDE.md: "Use pnpm, not npm" (enforced instruction)
Promoted rules have higher priority and load in full (not truncated at 200 lines).
Rules directory for scoped knowledge
Not everything belongs in CLAUDE.md. Use .claude/rules/ for patterns that only apply to specific file types:
# .claude/rules/api-testing.md
---
paths:
- "src/api/**/*.test.ts"
- "tests/api/**/*"
---
- Use supertest for API endpoint testing
- Mock external services with msw
- Always test error responses, not just happy paths
This loads only when Claude works with API test files — zero overhead otherwise.
Agents
memory-analyst
Analyzes MEMORY.md and topic files to identify:
- Entries that recur across s
الأسئلة الشائعة
كيف تختلف عن الذاكرة العادية للوكيل؟
الذاكرة العادية تلتقط الملاحظات تلقائيًا. أما هذه الإضافة فتراجع تلك الملاحظات وتحوّل الجيد منها إلى قواعد أو مهارات.
ما الأوامر التي تتضمنها؟
أوامر لمراجعة الذاكرة وترقية نمط واستخراج مهارة وفحص حالة الذاكرة وحفظ شيء عمدًا.
هل تحتاج إلى أي إعداد؟
تعمل مع الذاكرة التلقائية في Claude Code، وتذكر المهارة أنها متاحة من الإصدار 2.1.32 فما بعد.
التفاصيل
الوصف الأصلي من المؤلف
Curate the agent's own memory into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check the health of memory.
الشعبية
- نجوم GitHub
- 29k
- الترتيب
- #9487
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-launcher-orchestrator
29kيساعد وكيلك على تخطيط وبناء واختبار وجدولة وكيل Claude مُدار في حسابك الخاص، خطوة بخطوة، انطلاقًا من هدف واضح واحد.
grade-iterate
29kيتيح لوكيلك تقييم عمل وكيل ذكاء اصطناعي مُدار وفق معيار تقييم، وتحسينه في عدد ثابت من الجولات، حتى لا يدور في حلقة لا نهاية لها.
interview
29kيتيح لوكيلك أن يجري معك مقابلة حول فكرة وكيل ذكاء اصطناعي، ثم يحوّل إجاباتك إلى خطة بناء بسيطة قبل إطلاق أي شيء.
run-without-you
29kيساعد وكيلك على إعداد وكيل Claude مُدار ليعمل وفق جدول زمني أو عند حدوث حدث، مع فحص توقيت التشغيل قبل الإطلاق.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.