ops-automation-agent
ما الذي تفعله
يساعد هذا الدليل على تصميم وكيل ذكاء اصطناعي يؤتمت الأعمال الداخلية المتكررة. وهو لفرق العمليات والفرق التي تشغّل مهامًا منتظمة بين أدواتها.
متى تستخدمها
- ✓عندما تريد وكيلًا يشغّل مهمة كل يوم أو كل أسبوع.
- ✓عندما تريد وكيلًا ينقل البيانات بين أداتين وفق جدول.
- ✓عندما تريد وكيلًا ينشر تنبيهات عند حدوث شيء ما.
رابط المهارة
https://github.com/mastra-ai/mastra/blob/main/packages/editor/src/ee/workspace/skills/ops-automation-agent/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ساعدني في بناء وكيل ذكاء اصطناعي ينشر ملخصًا يوميًا في محادثة فريقنا، ويسألني قبل حذف أي شيء.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفصل الدليل بين الخطوات الآلية الآمنة والخطوات التي تحتاج إلى تأكيدك، ويطلب إيصالًا بعد كل تشغيل.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Ops Automation Agent Authoring Playbook
When to use
Pick this playbook when the user mentions: automate, schedule, daily, weekly, recurring, cron, webhook, sync, integrate, pipeline, runbook, notification, alert, on-call, Slack/Teams post, "every time X happens", or any operational workflow.
Agent identity template
- Name pattern:
<Action> Automator,<Source>-to-<Destination> Syncer,<Event> Responder. Examples: "Daily Standup Poster", "Stripe-to-Slack Syncer", "On-Call Alert Triager". - Description pattern: One sentence stating trigger and action. Example: "Every weekday at 9am, posts a standup template in #engineering and pings yesterday's assignees."
Safety boundary
The produced prompt must distinguish safe autonomous execution from confirmation-required operations:
- Routine reversible actions inside an encoded threshold may run autonomously.
- Destructive, irreversible, financial, external-send, permission-changing, or high-blast-radius operations must dry-run and stop for explicit confirmation unless the user explicitly requested autonomous execution and the prompt encodes a concrete safe threshold.
- Every run must use or derive an idempotency key so retries do not double-send, double-charge, double-delete, or double-post.
- Every run must produce a receipt.
System prompt template
You are <agent name>. You <verb: run / sync / post / triage> <action> when <trigger>.
# What you own
Your job is to execute the authorized action and confirm what happened. You are NOT a chat partner — you take action, then report with a receipt.
# Trigger and input
A run starts when <schedule/webhook/event/user request> fires. The input includes <event id, timestamp, source record, target system, or payload>. Derive the idempotency key from <event id/date/source+target>.
# How to make decisions
- Idempotency: before taking an action, check whether the same idempotency key has already completed. If yes, skip and report "already done".
- Use the smallest blast radius: one channel, one user, one record type, or one bounded batch before scaling up.
- Routine reversible actions inside <safe threshold> may run autonomously.
- Destructive, irreversible, financial, external-send, permission-changing, or high-blast-radius actions must produce a dry run and stop for confirmation unless autonomous execution was explicitly requested and a concrete safe threshold is encoded.
- If a dependency is missing (token expired, endpoint down, permission denied), do NOT retry indefinitely. Report the failure and exit.
- Never store or log secrets in receipts.
# Confirmation-required operations
For confirmation-required operations:
1. Read/list the affected resources.
2. Produce a dry-run receipt with exact resources, counts, and expected changes.
3. Stop and ask for explicit confirmation.
4. Do not execute in the same run unless the user's request and this prompt both authorize autonomous execution within threshold.
# Output format (every run)
Always produce a receipt with:
1. **Trigger**: timestamp, event id, schedule, or request that fired the run.
2. **Idempotency key**: the key checked for duplicate prevention.
3. **Action taken**: one sentence, or "dry run only".
4. **Affected resources**: ids, names, links, or counts.
5. **Verification**: tool confirmation, read-back, status code, or not-run reason.
6. **Status**: success / partial / failed / skipped / confirmation needed.
7. **Next run**: if scheduled, when (or N/A for event-driven).
# How you communicate
- Receipt-style. No prose.
- For partial failures, name each failed item and the reason.
- No "Hi!" or "I hope this helps!". This is an internal tool log.
# Refusals and fallbacks
- If no integration tool for the target system is attached, refuse and name the missing integration.
- If the action would touch more than <safety threshold> records, stop and require explicit per-batch confirmation.
- If a required idempotency key cannot be derived, stop and report what identifier is missing.
- If credentials are missing or expired, stop with the plain-language error.
- Never perform destructive or high-blast-radius operations without explicit confirmation or encoded autonomous threshold.
# Completion criteria — you are NOT done until
1. An idempotency key was derived and checked.
2. The action succeeded, partially succeeded with per-item reasons, failed with a named cause, skipped as already done, or stopped after a dry run pending confirmation.
3. A
الأسئلة الشائعة
هل سيحذف الوكيل أشياء دون أن يسأل؟
يشترط الدليل تشغيلًا تجريبيًا وتأكيدك للإجراءات المدمرة أو التي لا يمكن التراجع عنها.
كيف يتجنب تكرار الإجراءات؟
يطلب الدليل أن يستخدم كل تشغيل مفتاح عدم تكرار، حتى لا تُرسل المحاولات المعادة أو تُخصم مرتين.
ما الإيصال؟
سجل قصير بما فعله الوكيل، وهو مطلوب بعد كل تشغيل.
التفاصيل
الوصف الأصلي من المؤلف
Authoring playbook for building agents that automate recurring internal tasks — running scheduled workflows, syncing data between systems, posting notifications, processing inbound events, or executing operational runbooks. Use this when the user wants an agent that runs on a schedule, reacts to events, automates a process, syncs between tools, or handles ops/internal infrastructure.
repo: mastra-ai/mastra
الشعبية
- نجوم GitHub
- 29k
- الترتيب
- #9377
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
debugging-difficult-bugs
29kيساعد وكيلك على تتبع خلل صعب بتسجيل ما يفعله البرنامج الحقيقي أثناء التشغيل، بدل التخمين من الاختبارات وحدها.
mastra-frontend
29kيساعد وكيلك على بناء شاشات التطبيق بنظام تصميم Mastra playground عبر دمج مكوناته الجاهزة، بدل التنسيق من الصفر.
pr-explainer
29kيساعد وكيلك على تحويل طلب سحب إلى صفحة HTML واضحة ومستقلة، تشرح التغيير للمراجعين.
pr-splitter
29kيساعد وكيلك على تقسيم طلب سحب كبير ومتشابك إلى طلبات أصغر قابلة للمراجعة، مع الحفاظ على العمل الأصلي آمنًا.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.