技能详情(站内镜像,无评论)
作者:aether @aetherstacey
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.1.1
统计:⭐ 0 · 932 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :可疑
Package:aetherstacey/erc8004-reputation
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :可疑
OpenClaw 评估
The skill's code and instructions generally match an on-chain reputation tool, but the package metadata omits the wallet environment variables the runtime actually requires, which is an important inconsistency users should understand before installing.
目的
Name, description, CLI commands, ABI, and use of web3 all match an ERC-8004 on-chain reputation tool. The script interacts with on-chain contracts and chain RPCs (Base, Ethereum, Polygon, Monad, BNB) as expected. However, the registry metadata lists no required environment variables or primary credential while the SKILL.md and code explicitly require a wallet (mnemonic or private key) for write operations — this mismatch is unexplained and not…
说明范围
SKILL.md commands and examples are narrowly scoped to reading reputation data and signing transactions to give/revoke feedback. It documents which commands are read-only vs write. The heartbeat examples use local files (/var/log, /tmp) and desktop notifications (notify-send), which are reasonable for monitoring but should be noted. The leaderboard claims to fetch from an Agentscan API (an external endpoint) — that is consistent with the featur…
安装机制
No automated install spec is provided; this is an instruction-only skill plus a script. Declared dependency installation is a simple pip install of web3 and eth-account — standard for Ethereum tooling. No arbitrary downloads or archive extraction are present in the package metadata.
证书
Write operations require sensitive creds (ERC8004_MNEMONIC or ERC8004_PRIVATE_KEY) as documented in SKILL.md and implemented in code (get_wallet reads these env vars). That is proportional to signing blockchain transactions. The concern: the skill registry metadata incorrectly shows 'Required env vars: none' and 'Primary credential: none' — an inconsistency that could cause users to expose secrets unexpectedly. Only the wallet-related env vars…
持久
The skill is not always-included and does not request elevated platform privileges. It does not modify other skills' configuration based on the provided files. Autonomous invocation is allowed (platform default); that is not in itself a new risk here.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Erc8004 Reputation」。简介:On-chain reputation for AI agents. Give feedback, check scores, view leaderboar…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aetherstacey/erc8004-reputation/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: ERC-8004 Reputation
description: On-chain reputation for AI agents. Give feedback, check scores, view leaderboards, and build trust via the ERC-8004 Reputation Registry. Supports Base, Ethereum, Polygon, Monad, BNB.
---
# ERC-8004 Reputation Skill
Interact with the ERC-8004 Reputation Registry — the decentralized reputation layer for AI agents.
## Use This When...
- "Check an agent's reputation"
- "Rate this agent"
- "Give feedback to agent X"
- "What's my agent's reputation?"
- "Who gave feedback to my agent?"
- "Show me the reputation leaderboard"
- "Top agents by reputation"
- "Revoke my feedback"
## Commands
### lookup
Look up an agent's reputation summary.
```bash
python scripts/reputation.py lookup <agentId> [--chain CHAIN]
```
Shows: reviewer count, feedback count, summary value, individual feedback.
### give
Give feedback to an agent.
```bash
python scripts/reputation.py give <agentId> <value> [--decimals N] [--tag1 TAG] [--tag2 TAG] [--chain CHAIN]
```
**Examples:**
```bash
# Simple score (0-100)
python scripts/reputation.py give 16700 85 --tag1 reliable
# Percentage with decimals (99.77%)
python scripts/reputation.py give 16700 9977 --decimals 2 --tag1 uptime
```
### my-rep
Check your agent's reputation across all chains.
```bash
python scripts/reputation.py my-rep <agentId> [--chains base,ethereum,polygon]
```
### clients
List all addresses that gave feedback.
```bash
python scripts/reputation.py clients <agentId> [--chain CHAIN]
```
### feedback
Read a specific feedback entry.
```bash
python scripts/reputation.py feedback <agentId> <clientAddress> <feedbackIndex> [--chain CHAIN]
```
### revoke
Revoke feedback you previously gave.
```bash
python scripts/reputation.py revoke <agentId> <feedbackIndex> [--chain CHAIN]
```
### leaderboard
Show top agents by reputation score.
```bash
python scripts/reputation.py leaderboard [--chain CHAIN] [--limit 20]
```
Fetches from Agentscan API and displays top agents with scores and star ratings.
## Cross-Skill Workflows
### Post-Registration Reputation Building
```bash
# 1. Register your agent (from erc8004-register skill)
python scripts/register.py register --name "MyBot" --description "..."
# 2. Validate the registration
python scripts/register.py validate 42
# 3. Check initial reputation (should be empty)
python scripts/reputation.py lookup 42
# 4. After interacting with clients, check reputation growth
python scripts/reputation.py my-rep 42
```
### Before Interacting with an Agent
```bash
# 1. Find the agent (from erc8004-discover skill)
python scripts/discover.py search "oracle"
# 2. Get detailed info
python scripts/discover.py info 0x1234...
# 3. Check their reputation
python scripts/reputation.py lookup 42 --chain base
# 4. If satisfied, interact and then give feedback
python scripts/reputation.py give 42 85 --tag1 reliable --tag2 accurate
```
### Reputation Monitoring
```bash
# Check your reputation regularly
python scripts/reputation.py my-rep 42
# See who's giving feedback
python scripts/reputation.py clients 42 --chain base
# Read specific feedback
python scripts/reputation.py feedback 42 0xABC... 1 --chain base
```
## Heartbeat Integration
Monitor reputation changes in automated pipelines:
```bash
# Cron: check reputation daily
0 9 * * * python scripts/reputation.py my-rep 42 >> /var/log/rep-monitor.log 2>&1
# In a monitoring script:
#!/bin/bash
# Get current feedback count
count=$(python scripts/reputation.py lookup 42 2>&1 | grep "Feedback count:" | awk '{print $3}')
last_count=$(cat /tmp/rep-count-42.txt 2>/dev/null || echo 0)
if [ "$count" != "$last_count" ]; then
echo "New feedback received! Count: $count" | notify-send
echo "$count" > /tmp/rep-count-42.txt
fi
```
## Configuration
### Wallet (required for write operations)
```bash
export ERC8004_MNEMONIC="your twelve word mnemonic phrase here"
# OR
export ERC8004_PRIVATE_KEY="0xabc123..."
```
Read operations (lookup, my-rep, clients, feedback, leaderboard) don't need a wallet.
### Supported Chains
| Chain | ID | Default | Gas Cost |
|----------|------|---------|----------|
| Base | 8453 | Yes | ~$0.001 |
| Ethereum | 1 | | ~$1-10 |
| Polygon | 137 | | ~$0.01 |
| Monad | 143 | | ~$0.001 |
| BNB | 56 | | ~$0.05 |
Base is recommended — cheapest gas by far.
## Contract Addresses
Same on all chains:
- **Identity Registry**: `0x8004A169FB4a3325136EB29fA0ceB6D2e539a432`
- **Reputation Registry**: `0x8004BAa17C55a88189AE136b182e5fdA19dE9b63`
## Dependencies
```bash
pip install web3 eth-account
```
## Related Skills
- **erc8004-register**: Register and manage agents on-chain
- **erc8004-discover**: Find and monitor agents