Skillpedia
الوكلاء34k · #8415

cancel

ما الذي تفعله

توقف هذه المهارة تشغيل وضع وكيل نشط وتمسح حالته المتبقية. وهي موجهة لمن بدأ وضعًا طويل المدى ويحتاج إلى إنهائه بشكل سليم.

متى تستخدمها

  • ✓عندما يكون وضع مستقل أو متعدد الخطوات يعمل وتريد إيقافه.
  • ✓عندما يبدو وضع متوقفًا ويجب إنهاؤه بشكل سليم.
  • ✓عندما تريد معرفة الأوضاع النشطة قبل إنهاء أي منها.

رابط المهارة

https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/cancel/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/cancel/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أوقف تشغيل الطيار الآلي النشط، لكن احتفظ بتقدمه حتى أستطيع استئنافه لاحقًا.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تتحقق المهارة من الأوضاع النشطة، ثم تلغيها بترتيب محدد. يحتفظ الطيار الآلي بحالته القابلة للاستئناف، أما الأوضاع الأخرى فتُعلَّم ملغاة وتُنظَّف.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Cancel Skill

When to use

Use /cancel (or cancelomc / stopomc) to stop an active OMX mode and perform its documented cleanup. Read AGENTS.md#durable-runtime-invariants-canonical-ssot first; it is the invariant authority for scope, ownership, hooks, and Team cleanup.

Inputs and preconditions

  • Accepted forms are /cancel and /cancel --force.
  • Reject --all, unknown flags, repeated flags, and mixed flags before mutation.
  • Discover the current session/root with the state read surfaces before cleanup:
    omx state list-active --json
    omx state get-status --mode <mode> --json
    
  • Confirm the current session/root and exact target before cleanup; stop when the required evidence is missing.

Operational steps

  1. Parse and validate arguments; select one exact session/root scope.
  2. Inspect active modes in dependency order: autopilot → ralph → ultrawork → ecomode → ultraqa → swarm → ultrapilot → pipeline → team → plan-consensus.
  3. Cancel Autopilot while preserving its resumable state; clean only linked child modes it owns.
  4. For Ralph, terminalize the target state (active:false, current_phase:"cancelled", completed_at) and terminalize a proven linked Ultrawork/Ecomode state in the same scope. Confirm the post-conditions in docs/contracts/ralph-cancel-contract.md.
  5. Clear standalone modes only after proving they are not linked to another active mode.
  6. For Team, inspect the runtime with omx team status <team> --json; use omx team shutdown <team> after the normal completion gate, or follow the explicit abort path.
  7. Clear only the selected mode/session state through the state API, for example:
    omx state clear --input '{"mode":"<mode>","session_id":"<session>"}' --json
    
  8. With --force, perform its documented native-stop cleanup. Report rollback or cleanup failures rather than claiming success.

Exit and evidence

Report one result per selected mode: mode, scope/session, terminal phase, preserved state, linked cleanup, and any refusal reason. A clean no-op reports No active OMX modes detected. Include Team status and shutdown evidence when Team was selected.

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

هل أفقد التقدم؟

الطيار الآلي يحتفظ بحالة قابلة للاستئناف، فيمكن استكماله لاحقًا.

ما الأعلام المقبولة؟

تُقبل فقط صيغة الإلغاء العادية وصيغة الإجبار، وتُرفض أي أعلام أخرى قبل تغيير أي شيء.

هل تلغي كل الأوضاع دفعة واحدة؟

لا. ترفض المهارة خيار الكل، وتعمل على جلسة واحدة محددة.

التفاصيل

الوصف الأصلي من المؤلف

Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)

repo: Yeachan-Heo/oh-my-codex

الشعبية

نجوم GitHub
34k
الترتيب
#8415
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة