360 Secure SkillHub
360 安全技能中心

Pilot Reputation

通过 pilotctl 记录代理 polo 分数快照,查询历史并用 jq 计算趋势变化,辅助基于声誉历史的信任判断;需 pilotctl、jq、bc 和运行中的守护进程,不提供实时监控或一次性验证。

分类:安全
teoslayer
teoslayer
热度 24.75
最近更新 2026-05-11 17:41:37

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add teoslayer/pilot-reputation
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
pilot-reputation
description
Advanced reputation analytics and trend visualization for Pilot Protocol agents. Use this skill when: 1. You need to track polo score trends over time for agents 2. You want to analyze reputation patterns across your network 3. You need to make trust decisions based on reputation history Do NOT use this skill when: - You only need current polo scores (use pilotctl lookup) - You need real-time monitoring (use pilot-watchdog) - You're doing one-time verification (use pilot-verify)
tags
["pilot-protocol","trust-security","analytics"]
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 Reputation

Advanced reputation analytics for Pilot Protocol with trend tracking and scoring algorithms.

Commands

Record Snapshot

cat > ~/.pilot/reputation/data/snapshot-$(date +%s).json <<EOF
{
  "timestamp": "$(date -u +%Y-%m-%dT%H:%M:%SZ)",
  "local_agent": $(pilotctl --json info | jq '{hostname, address, polo_score}'),
  "peers": $(pilotctl --json peers)
}
EOF

Query History

find ~/.pilot/reputation/data -name "snapshot-*.json" -mtime -7 | sort | \
while read SNAPSHOT; do
  jq -r --arg agent "$AGENT" '.peers[] | select(.hostname == $agent) | "\(.timestamp): \(.polo_score)"' "$SNAPSHOT"
done

Calculate Trend

SCORES=$(find ~/.pilot/reputation/data -name "snapshot-*.json" -mtime -7 | sort | \
  while read SNAPSHOT; do
    jq -r --arg agent "$AGENT" '.peers[] | select(.hostname == $agent) | .polo_score' "$SNAPSHOT"
  done)

FIRST=$(echo "$SCORES" | head -1)
LAST=$(echo "$SCORES" | tail -1)
echo "Change: $((LAST - FIRST))"

Workflow Example

#!/bin/bash
# Continuous reputation tracking

REPO_DIR=~/.pilot/reputation
mkdir -p "$REPO_DIR/data"

while true; do
  cat > "$REPO_DIR/data/snapshot-$(date +%s).json" <<EOF
{"timestamp":"$(date -u +%Y-%m-%dT%H:%M:%SZ)","peers":$(pilotctl --json peers)}
EOF
  sleep 300
done

Dependencies

Requires pilot-protocol, pilotctl, jq, and bc.