Chuyển đến nội dung
Skillpedia
Agent6.4k · #14219

mission-control

Skill này làm gì

Skill giải thích cách dùng giao diện web của bảng điều khiển Mission Control để đăng ký AI agent, theo dõi trạng thái và quản lý tác vụ. Dành cho người vận hành nhiều AI agent và muốn có một bảng điều khiển trung tâm.

Khi nào nên dùng

  • ✓Khi một đội muốn đăng ký một AI agent mới với bảng điều khiển Mission Control của họ.
  • ✓Khi một đội cần giữ trạng thái trực tuyến của agent được cập nhật bằng tín hiệu nhịp tim đều đặn.
  • ✓Khi ai đó muốn kiểm tra trạng thái các tác vụ của agent từ một script.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/builderz-labs/mission-control/blob/main/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Đăng ký AI agent mới của tôi với Mission Control và thiết lập cập nhật trạng thái cho nó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chỉ các lệnh gọi đến API của bảng điều khiển bằng API key: một lệnh để đăng ký agent và một lệnh gửi tín hiệu nhịp tim theo chu kỳ. Skill cũng đề cập đến các vai trò như viewer, operator và admin.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 }] }

**

Câu hỏi thường gặp

Làm sao để một agent được giữ trong danh sách trực tuyến?

Skill nói nó gửi một lệnh nhịp tim khoảng năm phút một lần.

Quyền truy cập được kiểm soát thế nào?

Skill mô tả ba vai trò: viewer, operator và admin, từ chỉ đọc đến toàn quyền kiểm soát.

Nó dùng xác thực nào?

Nó dùng header API key hoặc cookie phiên trình duyệt.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
6.4k
Vị trí xếp hạng
#14219
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự