omp-delegate
ما الذي تفعله
تتيح لك هذه المهارة طلب تنفيذ مهام البرمجة من الذكاء الاصطناعي المسمى «Oh My Pi» (omp). تكتب ما تريده، فينفّذ الذكاء الاصطناعي العمل في مكان منفصل، وتراجعه قبل قبوله.
متى تستخدمها
- ✓عندما تريد من الذكاء الاصطناعي كتابة الكود أو تعديله.
- ✓عندما تريد مراجعة تغييرات الكود قبل تطبيقها.
- ✓عندما تحتاج إلى أن يعمل الذكاء الاصطناعي على مشروع محدد في حاسوبك.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/omp-delegate/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اطلب من الذكاء الاصطناعي 'omp' إنشاء دالة بلغة Python تحسب متوسط قائمة من الأرقام، وحفظ النتيجة في ملف باسم 'average.txt'.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تكتب طلبًا مفصلًا (يُسمى «brief») يشرح ما يجب أن يفعله الذكاء الاصطناعي. ترسل المهارة هذا الطلب إلى الذكاء الاصطناعي 'omp'، الذي ينفّذ المهمة ويعيد النتيجة لتراجعها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Bundled upstream support
Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes.
Oh My Pi Delegate
When to Use
- You want to delegate a bounded coding task to a separate
ompimplementer (Oh My Pi) and then review its diff yourself. - The user explicitly asked for delegation to this implementer.
You are the orchestrator. Delegate a bounded coding task to a separate implementer - Oh My
Pi (omp) - then review what it produced and land it yourself. You write the brief and own the
judgment; the implementer makes changes in its own session; you verify and commit.
The loop needs only a shell command and file access, so any comparable orchestrator can drive it.
The binary is omp, not pi
Oh My Pi is a fork of Pi. This skill drives omp (@oh-my-pi/pi-coding-agent). The original
Pi CLI is a different binary (pi) with a different skill (pi-delegate). If omp is missing but
pi is installed, you have Pi, not Oh My Pi.
When NOT to use this
- The task is small enough to do inline; delegation overhead is not worth it.
- The
ompCLI is not installed or authenticated. - The user asked for the original Pi CLI (
pi) — usepi-delegate. - You need a sandboxed implementer. Oh My Pi has no sandbox.
--read-onlyrestricts the tool surface; a write-capable run executes without prompts (--yolo).
Prerequisites (check once)
- Install omp with
bun install -g @oh-my-pi/pi-coding-agent(or the install path from https://omp.sh). - Authenticate:
/logininside omp for a subscription provider, or an API-key environment variable for an API-key provider. Credentials live under~/.omp/. - Confirm
omp --versionsucceeds. - Work in, or point
--cdat, the target git repository.
Choose the model (optional)
Omit --model (and --provider) to use omp's configured default for this project / profile. The
catalog is this install's authenticated providers — not a fixed list in this skill.
To pick another model:
- List what this install can actually run. Do not pass
omp --list-models— that flag is gone and omp treats it as an unknown flag (exit 2). Use themodelssubcommand:omp models— every available model, grouped by provideromp models --json— the same catalog, machine-readableomp models find <substring>— filter by provider, id, or name (example:omp models find sonnet)omp models <provider>— one provider's models
- Pass that id to the relay.
--model <pattern>is omp's own--model: a fuzzy match against the catalog (provider/id, a bare id, or a unique substring).--provider <name>pins the provider when the pattern is ambiguous. - The relay forwards only letters, digits, and
. _ : / -. Glob patterns with*are rejected.
--thinking <level> is a separate reasoning dial, not a model id. Allowed values: off, auto,
minimal, low, medium, high, xhigh, max. The relay rejects anything else (including
inherit) before dispatch — omp would otherwise warn and ignore a bad value.
A fleet lane (--lane) can set provider, model, and effort. Lane effort becomes
--thinking; an explicit --thinking / --model / --provider flag wins over the lane.
The relay does not forward --api-key, --smol, --slow, or --plan. Those stay omp's own CLI.
The loop
Run these five steps per task. Steps 1, 4, and 5 require judgment; 2 and 3 are mechanical.
1. Write the brief
Oh My Pi sees only the text you send plus what it can inspect in the workspace - no chat history or
shared context. Include the goal, current state, what to change, what to leave untouched, the
project's actual gates, and a report contract. Tell omp not to commit. Keep one task per brief.
omp auto-loads AGENTS.md/CLAUDE.md context files from the workspace and its parents, so repo
instructions reach it without inlining. See
references/writing-the-brief.md.
2. Dispatch
Use the bundled relay. It pipes the brief to omp --mode json on stdin, captures the JSON event
stream, and writes result.json. (<skill-dir> is the installed folder containing this
SKILL.md.)
node "<skill-dir>/scripts/relay.mjs" --brief brief.txt --cd /path/to/repo
# list models first: omp models (or: omp models --json)
…
الأسئلة الشائعة
ما هو 'omp'؟
'omp' اسم أداة ذكاء اصطناعي محددة للبرمجة، وهي نسخة معدّلة تُسمى «Oh My Pi».
هل أحتاج إلى تثبيت شيء؟
نعم، تحتاج إلى تثبيت أداة 'omp' على حاسوبك، وإلى المصادقة باستخدام حساب أو مفتاح API.
ماذا يعني «مراجعة الفرق» (review the diff)؟
يعني النظر إلى التغييرات الدقيقة التي أجراها الذكاء الاصطناعي على الكود، قبل أن تقرر إن كانت صحيحة وهل يجب الاحتفاظ بها.
التفاصيل
الوصف الأصلي من المؤلف
Delegate coding tasks to Oh My Pi (`omp`) only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #5365
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.