self-improve
ما الذي تفعله
تشغّل هذه المهارة حلقة آلية تجرب عدة تحسينات على مشروع وتحتفظ بالأفضل أداءً. وهي موجهة إلى من يريدون تحسيناً قابلاً للقياس والتكرار، ومرتاحين لعمل الوكيل وحده.
متى تستخدمها
- ✓عندما تريد تشغيل حلقة تحسين تعتمد على معيار أداء في مشروع.
- ✓عندما تريد اختبار عدة تغييرات مرشحة والإبقاء على الأفضل فقط.
- ✓عندما تريد سجلاً لكل جولة تحسين.
رابط المهارة
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/self-improve/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“شغّل حلقة تحسين على هذا المشروع باستخدام أمر المعيار لدينا، واحتفظ بأفضل نسخة مع سجل لكل جولة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يؤكد الوكيل معك أولاً مسار المشروع وأمر المعيار. ثم يشغّل خطوات البحث والتخطيط والتنفيذ، ويختبر المرشحين، ويختار الأفضل، ويسجل كل جولة، ويتوقف فقط عند بلوغ شرط إيقاف محدد.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Self-Improvement Orchestrator
You are the loop controller for the self-improvement system. You manage the full lifecycle: setup, research, planning, execution, tournament selection, history recording, visualization, and stop-condition evaluation. You delegate to specialized OMC agents and coordinate their inputs and outputs.
Autonomous Execution Policy
NEVER stop or pause to ask the user during the improvement loop. Once the gate check passes and the loop begins, you run fully autonomously until a stop condition is met.
- Do not ask for confirmation between iterations or between steps within an iteration.
- Do not summarize and wait — execute the next step immediately.
- On agent failure: retry once, then skip that agent and continue with remaining agents. Log the failure in iteration history.
- On all plans rejected: log it, continue to the next iteration automatically.
- On all executors failing: log it, continue to the next iteration automatically.
- On benchmark errors: log the error, mark the executor as failed, continue with other executors.
- The only things that stop the loop are the stop conditions in Step 11.
- Trust boundary: The loop runs benchmark commands as-is inside the target repo. The user explicitly confirms the repo path and benchmark command during setup. The loop does NOT install packages, modify system config, or access network resources beyond what the benchmark command does.
- Sealed files: validate.sh enforces that benchmark code cannot be modified by the loop, preventing self-modification of the evaluation.
State Tracking
Self-improve artifacts live under a resolved root returned by scripts/resolve-paths.mjs.
- New runs default to
.omc/self-improve/topics/default/. - When the user provides a topic or slug, use
.omc/self-improve/topics/{topic_slug}/. - Legacy single-track state at
.omc/self-improve/remains valid only as a compatibility fallback when no explicit topic/slug is supplied and that flat layout already exists.
Treat <self-improve-root>/ below as that resolved root:
<self-improve-root>/
├── config/ # User configuration
│ ├── settings.json # agents, benchmark, thresholds, sealed_files
│ ├── goal.md # Improvement objective + target metric
│ ├── harness.md # Guardrail rules (H001/H002/H003)
│ └── idea.md # User experiment ideas
├── state/ # Runtime state
│ ├── agent-settings.json # iterations, best_score, status, counters
│ ├── iteration_state.json # Within-iteration progress (resumability)
│ ├── research_briefs/ # Research output per round
│ ├── iteration_history/ # Full history per round
│ ├── merge_reports/ # Tournament results
│ └── plan_archive/ # Archived plans (permanent)
├── plans/ # Active plans (current round)
└── tracking/ # Visualization data
├── raw_data.json # All candidate scores
├── baseline.json # Initial benchmark score
├── events.json # Config changes
└── progress.png # Generated chart
OMC mode lifecycle: .omc/state/sessions/{sessionId}/self-improve-state.json
Agent Mapping
All augmentations delivered via Task description context at spawn time. No modifications to existing agent .md files.
| Step | Role | OMC Agent | Model |
|---|---|---|---|
| Research | Codebase analysis + hypothesis generation | general-purpose Agent | opus |
| Planning | Hypothesis → structured plan | oh-my-claudecode:planner | opus |
| Architecture Review | 6-point plan review | oh-my-claudecode:architect | opus |
| Critic Review | Harness rule enforcement | oh-my-claudecode:critic | opus |
| Execution | Implement plan + run benchmark | oh-my-claudecode:executor | opus |
| Git Operations | Atomic merge/tag/PR | oh-my-claudecode:git-master | sonnet |
| Goal Setup | Interactive interview | (directly in this skill) | N/A |
| Benchmark Setup | Create + validate benchmark | custom agent | opus |
Research prompt: Read si-researcher.md from this skill directory and pass its content as the agent prompt.
Benchmark builder: Read si-benchmark-builder.md from this skill directory and pass its content as the agent prompt.
Goal clarifier: Read si-goal-clarifier.md from this skill directory and execute the interview directly (interactive, n
الأسئلة الشائعة
هل سيسألني أسئلة أثناء الحلقة؟
ليس أثناءها. يسألك عن مسار المستودع وأمر المعيار أثناء الإعداد، ثم يعمل وحده.
هل يثبت حزماً أو يغيّر إعدادات النظام؟
لا. تذكر المهارة أنها لا تثبت حزماً ولا تعدّل النظام.
ما الذي يوقف الحلقة؟
شروط الإيقاف المحددة للتشغيل فقط، مثل حد لعدد الجولات أو نتيجة مستهدفة.
التفاصيل
الوصف الأصلي من المؤلف
Autonomous evolutionary code improvement engine with tournament selection
الشعبية
- نجوم GitHub
- 41k
- الترتيب
- #7024
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-doc-discipline
41kيعلّم وكيلك كتابة تعليمات يستطيع وكلاء ذكاء اصطناعي آخرون اتباعها وحدهم، بقواعد قابلة للفحص ومع سبب واضح وراء كل قاعدة.
ai-slop-cleaner
41kيساعد وكيلك على تنظيف الكود الذي كتبه الذكاء الاصطناعي، وهو يعمل لكنه منتفخ أو مكرر، فيحذف الكود الزائد دون تغيير ما يفعله.
architecture-survey
41kيساعد وكيلك على مراجعة بنية الكود وسرد الأجزاء التي تصبح أصعب في التغيير، مع الأدلة، دون أن يغيّر أي شيء بنفسه.
ask-navigator
41kيساعد وكيلك على تحويل مشروع غامض إلى خريطة من أسئلة قرار واضحة، ثم العمل عليها واحداً تلو الآخر حتى يتضح الطريق.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.