watchdog
ما الذي تفعله
تشرح هذه المهارة كيفية إعداد تذكيرات وتنبيهات موقوتة لعمل وكيل ذكاء اصطناعي يستمر لفترة طويلة. وهي موجهة للأشخاص الذين يشغّلون فرق وكلاء تتوقف أحيانًا أو تنحرف عن مسارها.
متى تستخدمها
- ✓عندما يتوقف وكيل ذكاء اصطناعي عن العمل ويحتاج إلى دفعة صغيرة ليواصل.
- ✓عندما ينحرف وكيل عن هدفه ويحتاج إلى إعادة تركيز نحو الهدف.
- ✓عندما تقرر كم مرة يجب فحص فريق حتى لا يُغمر بالرسائل.
رابط المهارة
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/watchdog/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“توقف وكيل الذكاء الاصطناعي لدي عن العمل على مهمته. ساعدني في إعداد تذكير لطيف يجعله يواصل.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تصف المهارة ثلاثة مستويات من الدفع، من تنبيه صغير إلى فحص أكبر لإعادة المواءمة. يختار الوكيل أخفها الذي يحل المشكلة، حتى لا يُغمر الفريق بالرسائل.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Watchdog
Continuity checks are timed or evidence-triggered interventions that keep an agent workflow from going idle, drifting, or entering needless bureaucracy. They operationalize the refocus doctrine.
Use this when
- Authoring a watchdog policy for a long-running rig (artifact-pool edges, stale-owner detection, periodic reminders).
- Choosing the intervention level for a stale-owner situation: is this a wake, a refocus, or an alignment checkpoint?
- Drafting wake/refocus/alignment-checkpoint message text that prevents cadence pollution and bureaucracy theater.
- Deciding cadence — scan vs wake intervals, conservative vs aggressive nudging.
Don't use this when
- The agent is actively working and closing artifacts. Prefer no-op.
- The intervention is masking bad startup or workflow design — fix the underlying cause, don't compensate via watchdog.
- The work has a clear next-action handoff already in queue. Use queue nudges instead of a watchdog policy.
The 3-level intervention stack
| Level | Goal | When | What it does |
|---|---|---|---|
| Wake | Restart motion | Owner appears idle, stale, blocked, or missing a next handoff | Small liveness nudge — does NOT reframe the work |
| Refocus | Correct drift | Output shows mode drift, approval regression, weak stop-condition reasoning | Medium alignment nudge — re-centers on role, north star, current approved workstream, coordination mode, stop conditions; does NOT interrupt valid work |
| Alignment checkpoint | Rebuild shared map | Phase boundary, lifecycle mutation, product-intent decision, confusing contradiction | Larger deliberate pause — agent runs full refocus before proceeding |
cron, timers, and rig watchdog are scheduling substrates. They
should NOT imply that every tick means the same semantic action. The
intervention level is chosen by evidence, not cadence.
Current best practice for refocus message text
A well-shaped refocus message:
- Starts with: finish current action first.
- Names the intervention kind: wake, refocus, or alignment checkpoint.
- Names the current approved workstream or says none is known.
- Says what continuity means: continue, verify, hand off, or explicitly park.
- Names stop conditions: scope/risk/posture changes, failed gate, contradictory evidence, or no continuity chain naming a sensible next step.
- Does NOT convert itself into a fresh approval gate.
- Does NOT wake delivery seats unless an approved workflow exists and the owner is stale.
Failure modes (7; verbatim)
- Cadence is too frequent and pollutes the workstream.
- Watchdog wakes the wrong seat instead of the stale owner.
- Refocus text is too rule-shaped and creates brittle behavior.
- Watchdog compensates for bad startup or workflow design instead of revealing it.
- Refocus is misread as a new top-priority task and interrupts the current action.
- Refocus becomes bureaucracy theater: an already-approved workflow stops for re-approval.
- Repeated static nudges teach agents to answer the reminder instead of progressing the artifact.
Artifact-pool loop edges (the first evidence-aware pattern)
The first evidence-aware watchdog use that should remain small and explicit:
- Consumer-pool wake: if a ready artifact exists, wake the consumer loop head.
- Producer-edge repair: if upstream completion exists but the downstream artifact is missing, wake the producer loop head.
Scan cadence and wake cadence are separate. Worked example (the numbers are illustrative; the scan-vs-wake separation is the durable rule): scan every 30 seconds, wake at most every 600 seconds while work remains actionable.
This is not a generic workflow engine. It's a guardrail against cold pools and missing edge artifacts.
Active surface
Daemon rig watchdog is the active host coordination surface for new
work. History records only loud evaluations (sent / terminal);
quiet skip reasons are NOT recorded — POC parity so agents are not
woken about scheduler polls.
Future shape (current limit)
The mature primitive should be evidence-aware: inspect durable queue/workflow state, pane activity, transcript/context growth, and known workstream frontier; classify the intervention as no-op / wake / refocus / alignment-checkpoint; prefer no-op for active owners; render message text from the active orientation graph instead of hard-coding static policy.
Until queue substrate, activity state, and lifecycle
الأسئلة الشائعة
ما المقصود بالـ watchdog هنا؟
هو فحص موقوت يرسل رسالة إلى وكيل حين يبدو متوقفًا أو منحرفًا عن مساره.
هل ستجعل وكيلي مزعجًا؟
تحذّر المهارة من كثرة الفحوص، وتقترح أخف مستوى يعمل.
هل أستخدمه والوكيل مشغول؟
لا، إذا كان الوكيل يعمل بنشاط وينهي مهامه، تقول المهارة ألا تفعل شيئًا.
التفاصيل
الوصف الأصلي من المؤلف
Use when configuring `rig watchdog` policies, authoring wake/refocus/alignment-checkpoint messages, or choosing the right intervention level for a stale-owner situation. The 3-level continuity-check stack (wake / refocus / alignment-checkpoint), the discipline that prevents cadence pollution and bureaucracy theater, and the artifact-pool loop-edge pattern for evidence-aware waking.
repo: mvschwarz/openrig
الشعبية
- نجوم GitHub
- 8.6k
- الترتيب
- #12415
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-operated-software
8.6kيساعد وكيلك على تصميم تطبيق مستمر أو بناءه أو تصحيحه، يعمل فيه وكلاء الذكاء الاصطناعي ضمن الخادم الخلفي، مع مستوى تحكم بملفات Markdown أو JSON.
agent-operated-workflows
8.6kيساعد وكيلك على تحديد هل يشغّل وكيل الذكاء الاصطناعي إجراءً محددًا أم كود برمجي عادي، وكيف يستأنفه من أدلة موثّقة.
applying-a-permission-policy
8.6kيساعد وكيلك على ضبط أذونات الأوامر التي يستخدمها وكيل البرمجة أثناء إعداد الفريق، لتعمل الأوامر الروتينية بعدد أقل من طلبات الموافقة.
claude-compaction-restore
8.6kيساعد وكيل Claude Code على إعادة بناء صورة عمله بعد ضغط سياقه، باستخدام خريطة استعادة محفوظة وسجل المحادثة والملفات التي لمسها.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.