Skillpedia
الوكلاء6.4k · #14219

mission-control

ما الذي تفعله

تشرح المهارة كيفية استخدام واجهة لوحة Mission Control الويب لتسجيل وكلاء الذكاء الاصطناعي، وتتبع حالتهم وإدارة مهامهم. وهي موجهة للأشخاص الذين يديرون عدة وكلاء ذكاء اصطناعي ويريدون لوحة مركزية.

متى تستخدمها

  • ✓عندما يريد فريق تسجيل وكيل ذكاء اصطناعي جديد في لوحة Mission Control الخاصة به.
  • ✓عندما يحتاج فريق إلى تحديث حالة اتصال الوكيل بنبضات حياة منتظمة.
  • ✓عندما يريد شخص التحقق من حالة مهام الوكيل من خلال سكربت.

رابط المهارة

https://github.com/builderz-labs/mission-control/blob/main/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/builderz-labs/mission-control/blob/main/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“سجّل وكيل الذكاء الاصطناعي الجديد الخاص بي في Mission Control، واضبط تحديثات حالته.”

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

كيف تعمل

تعرض المهارة استدعاءات واجهة اللوحة البرمجية بمفتاح API: واحد لتسجيل الوكيل وآخر لإرسال نبضات الحياة على فترات منتظمة. كما تغطي الأدوار مثل المشاهد والمشغّل والمدير.

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

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

Mission Control Agent Skill

Mission Control (MC) is an AI agent orchestration dashboard with real-time SSE/WebSocket, a skill registry, framework adapters, and RBAC. This skill teaches agents how to interact with MC APIs programmatically.

Quick Start

Base URL: http://localhost:3000 (default Next.js dev) or your deployed host.

Auth header: x-api-key: <your-api-key>

Register + heartbeat in two calls:

# 1. Register
curl -X POST http://localhost:3000/api/adapters \
  -H "Content-Type: application/json" \
  -H "x-api-key: $MC_API_KEY" \
  -d '{
    "framework": "generic",
    "action": "register",
    "payload": { "agentId": "my-agent-01", "name": "My Agent" }
  }'

# 2. Heartbeat (repeat every 5 minutes)
curl -X POST http://localhost:3000/api/adapters \
  -H "Content-Type: application/json" \
  -H "x-api-key: $MC_API_KEY" \
  -d '{
    "framework": "generic",
    "action": "heartbeat",
    "payload": { "agentId": "my-agent-01", "status": "online" }
  }'

Authentication

MC supports two auth methods:

Method Header Use Case
API Key x-api-key: <key> or Authorization: Bearer <key> Agents, scripts, CI/CD
Session cookie Cookie: __Host-mc-session=<token> (HTTPS) or mc-session=<token> (HTTP) Browser UI

Roles (hierarchical): viewer < operator < admin

  • viewer — Read-only access (GET endpoints)
  • operator — Create/update agents, tasks, skills, use adapters
  • admin — Full access including user management

API key auth grants admin role by default. The key is set via API_KEY env var or the security.api_key DB setting.

Agents can identify themselves with the optional X-Agent-Name header for attribution in audit logs.

Agent Lifecycle

register → heartbeat (5m interval) → fetch assignments → report task status → disconnect

All lifecycle actions go through the adapter protocol (POST /api/adapters).

1. Register

{
  "framework": "generic",
  "action": "register",
  "payload": {
    "agentId": "my-agent-01",
    "name": "My Agent",
    "metadata": { "version": "1.0", "capabilities": ["code", "review"] }
  }
}

2. Heartbeat

Send every ~5 minutes to stay marked as online.

{
  "framework": "generic",
  "action": "heartbeat",
  "payload": {
    "agentId": "my-agent-01",
    "status": "online",
    "metrics": { "tasks_completed": 5, "uptime_seconds": 3600 }
  }
}

3. Fetch Assignments

Returns up to 5 pending tasks sorted by priority (critical → low), then due date.

{
  "framework": "generic",
  "action": "assignments",
  "payload": { "agentId": "my-agent-01" }
}

Response:

{
  "assignments": [
    { "taskId": "42", "description": "Fix login bug\nUsers cannot log in with SSO", "priority": 1 }
  ],
  "framework": "generic"
}

4. Report Task Progress

{
  "framework": "generic",
  "action": "report",
  "payload": {
    "taskId": "42",
    "agentId": "my-agent-01",
    "progress": 75,
    "status": "in_progress",
    "output": "Fixed SSO handler, running tests..."
  }
}

status values: in_progress, done, failed, blocked

5. Disconnect

{
  "framework": "generic",
  "action": "disconnect",
  "payload": { "agentId": "my-agent-01" }
}

Core API Reference

Agents — /api/agents

Method Min Role Description
GET viewer List agents. Query: ?status=online&role=dev&limit=50&offset=0
POST operator Create agent. Body: { name, role, status?, config?, template?, session_key?, soul_content? }
PUT operator Update agent. Body: { name, status?, role?, config?, session_key?, soul_content?, last_activity? }

GET response shape:

{
  "agents": [{
    "id": 1, "name": "scout", "role": "researcher", "status": "online",
    "config": {}, "taskStats": { "total": 10, "assigned": 2, "in_progress": 1, "completed": 7 }
  }],
  "total": 1, "page": 1, "limit": 50
}

Tasks — /api/tasks

Method Min Role Description
GET viewer List tasks. Query: ?status=in_progress&assigned_to=scout&priority=high&project_id=1&limit=50&offset=0
POST operator Create task. Body: { title, description?, status?, priority?, assigned_to?, project_id?, tags?, metadata?, due_date?, estimated_hours? }
PUT operator Bulk status update. Body: { tasks: [{ id, status }] }

**

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

كيف يبقى الوكيل ظاهرًا على أنه متصل؟

تقول المهارة إنه يرسل استدعاء نبضة حياة كل خمس دقائق تقريبًا.

كيف يُتحكم في الوصول؟

تصف المهارة ثلاثة أدوار: المشاهد والمشغّل والمدير، من القراءة فقط إلى التحكم الكامل.

ما نوع المصادقة التي تستخدمها؟

تستخدم ترويسة مفتاح API أو ملف جلسة المتصفح.

التفاصيل

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

Interact with Mission Control — AI agent orchestration dashboard. Use when registering agents, managing tasks, syncing skills, or querying agent/task status via MC APIs.

repo: builderz-labs/mission-control

الشعبية

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

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

0

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

التعليقات

  • …

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