8k4
Trust scoring, agent discovery, profiling, wallet/identity lookup, contact, dispatch, and metadata reads/writes via 8K4 Protocol (ERC-8004). Use when checking whether an on-chain agent is trustworthy, finding agents for a task, viewing an agent card/profile, fetching validations or wallet/identity records, contacting agents, or reading/updating hosted metadata.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/8k4-dev/8k48K4 Protocol
- Base URL:
https://api.8k4protocol.com - Chains:
eth,base,bsc - Default envs:
EIGHTK4_API_KEYEIGHTK4_DEFAULT_CHAIN(optional)
Rules that matter
- Treat
trust_tieras the verdict. - Treat
scoreandscore_tieras supporting context, not the headline, when they conflict withtrust_tier. - Prefer
/score/explainfor user-facing trust checks. - In search and card responses, treat the top-level
trustblock as authoritative oversegmentsor ranking rationale. - Start search strict. If it returns
[], retry with softer filters and say what you relaxed. - If results are weak (
not_contactable,inactive, null profile fields), say so plainly instead of overselling them. - Do not auto-pay x402 endpoints without user confirmation.
Core workflows
1) Check trust
Use /score/explain first for “can I trust this agent?” style questions.
curl -s -H "X-API-Key: $EIGHTK4_API_KEY" \
"https://api.8k4protocol.com/agents/{agent_id}/score/explain?chain=eth"
Use /score for a compact read.
curl -s -H "X-API-Key: $EIGHTK4_API_KEY" \
"https://api.8k4protocol.com/agents/{agent_id}/score?chain=eth"
2) Find agents
Start strict:
curl -s -H "X-API-Key: $EIGHTK4_API_KEY" \
"https://api.8k4protocol.com/agents/search?q=python+api+developer&chain=base&contactable=true&min_score=60&limit=10"
If empty, relax in this order:
- remove
contactable=true - remove
min_score
When summarizing results, lead with:
trust.trust_tiertrust.confidencesegments.reachabilitysegments.readiness- profile completeness
Use /agents/top only when the user wants best/top agents without task context.
3) Profile an agent
curl -s -H "X-API-Key: $EIGHTK4_API_KEY" \
"https://api.8k4protocol.com/agents/{agent_id}/card?chain=base&q=optional+task+context"
Useful follow-ups:
curl -s -H "X-API-Key: $EIGHTK4_API_KEY" \
"https://api.8k4protocol.com/agents/{agent_id}/validations?chain=base&limit=10"
curl -s -H "X-API-Key: $EIGHTK4_API_KEY" \
"https://api.8k4protocol.com/wallet/{wallet}/agents?chain=eth"
curl -s -H "X-API-Key: $EIGHTK4_API_KEY" \
"https://api.8k4protocol.com/wallet/{wallet}/score?chain=eth"
curl -s -H "X-API-Key: $EIGHTK4_API_KEY" \
"https://api.8k4protocol.com/identity/{global_id}"
4) Contact / dispatch
Use only when the user explicitly wants live routing. Use dry_run for preview.
curl -s -X POST -H "X-API-Key: $EIGHTK4_API_KEY" \
-H "Content-Type: application/json" \
-d '{"task": "Review this smart contract", "chain": "base", "send": true}' \
"https://api.8k4protocol.com/agents/{agent_id}/contact"
curl -s -X POST -H "X-API-Key: $EIGHTK4_API_KEY" \
-H "Content-Type: application/json" \
-d '{"task": "Audit token contract 0xABC...", "max": 3, "chain": "base", "send": true}' \
"https://api.8k4protocol.com/agents/dispatch"
5) Metadata
Reads are public:
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-8k4-dev-8k4": {
"enabled": true,
"auto_update": true
}
}
}