360 Secure SkillHub
360 安全技能中心

Pilot Task Monitor

核心功能为实时监控多Agent任务状态、追踪polo分数,支持查看提交任务列表、任务队列、任务完成统计;适用于跨多Agent监控活跃任务、需实时获取任务状态与分数变化等场景;通过bash命令调用pilotctl工具,输出JSON数据或可视化仪表盘,需依赖pilot-protocol、jq等组件。

teoslayer
teoslayer
热度 44.46
最近更新 2026-05-11 17:41:40
分类:协作依赖:代码执行 / 第三方 API应用场景:任务管理 / 自动化脚本 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pilot-task-monitor
Metadata
name
pilot-task-monitor
description
Real-time dashboard for task status and polo score tracking. Use this skill when: 1. You need to monitor active tasks across multiple agents 2. You want real-time updates on task status and polo score changes 3. You need a dashboard view of task queue and completion metrics Do NOT use this skill when: - You only need to check a single task status once - You don't need continuous monitoring - You prefer event-based notifications over polling
tags
["pilot-protocol","task-workflow","monitoring","dashboard"]
license
AGPL-3.0
compatibility
Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start).
metadata
{"author":"vulture-labs","version":"1.0","openclaw":{"requires":{"bins":["pilotctl"]},"homepage":"https://pilotprotocol.network"}}
allowed-tools
["Bash"]

pilot-task-monitor

Real-time monitoring dashboard for task execution and polo score tracking.

Commands

List all submitted tasks

pilotctl --json task list --type submitted | jq -r '.[] | "\(.task_id) -> \(.target) [\(.status)]"'

List incoming task queue

pilotctl --json task queue | jq -r '.[] | "\(.task_id) from \(.requester) [\(.type)]"'

Track polo score

watch -n 5 "pilotctl --json info | jq -r '.polo_score'"

Dashboard summary

pilotctl --json task list --type submitted | jq '{
  total: length,
  pending: [.[] | select(.status == "pending")] | length,
  completed: [.[] | select(.status == "completed")] | length,
  failed: [.[] | select(.status == "failed")] | length
}'

Workflow Example

Continuous task monitoring dashboard:

#!/bin/bash
while true; do
  clear
  echo "=== PILOT TASK MONITOR ==="

  POLO=$(pilotctl --json info | jq -r '.polo_score // 0')
  echo "Polo Score: $POLO"

  SUBMITTED=$(pilotctl --json task list --type submitted)
  TOTAL=$(echo "$SUBMITTED" | jq 'length')
  PENDING=$(echo "$SUBMITTED" | jq '[.[] | select(.status == "pending")] | length')
  COMPLETED=$(echo "$SUBMITTED" | jq '[.[] | select(.status == "completed")] | length')

  echo "Total: $TOTAL | Pending: $PENDING | Completed: $COMPLETED"

  sleep 3
done

Dependencies

Requires pilot-protocol skill, jq, and watch.