@basecred/openclaw-agent-skill
v0.2.0
Published
OpenClaw skill for checking human reputation via zkBaseCred
Maintainers
Readme
@basecred/openclaw-agent-skill
OpenClaw skill that teaches agents to autonomously check their owner's on-chain reputation before granting access or trust.
Installation
Option 1: Copy the skill file
curl -s https://www.zkbasecred.xyz/skill.md > ~/.openclaw/workspace/skills/basecred-reputation/SKILL.mdOption 2: Install from npm
npm install @basecred/openclaw-agent-skill
cp node_modules/@basecred/openclaw-agent-skill/SKILL.md ~/.openclaw/workspace/skills/basecred-reputation/SKILL.mdGetting Started
Option A: Self-Registration (Recommended)
Your agent registers itself autonomously. See SKILL.md for the full flow:
- Agent calls
POST /api/v1/agent/registerwith its name, Telegram ID, owner's wallet address, and optional webhook URL - Agent sends the claim URL to the owner
- Owner verifies by posting a code on X (Twitter)
- Agent's API key activates automatically
No manual dashboard visit required.
Option B: Manual Key Generation
- Visit zkbasecred.xyz/agent
- Connect your wallet
- Sign a message to authenticate
- Generate a new API key
- Copy the key (it's only shown once)
Configuration
Set the following environment variables in your OpenClaw config:
BASECRED_API_URL=https://www.zkbasecred.xyz
BASECRED_API_KEY=bc_your_api_key_hereWhat This Skill Does
This skill teaches your OpenClaw agent to check any human's on-chain reputation. The agent registers itself, verifies its owner via X, and autonomously evaluates reputation using zkBaseCred's decision engine which aggregates signals from:
- Ethos Network — On-chain trust scores
- Farcaster (Neynar) — Social graph and activity
- Talent Protocol — Builder and creator credentials
The agent receives a clear ALLOW / DENY / ALLOW_WITH_LIMITS decision with confidence level, explanation, and a natural language summary it can forward directly to the owner.
- Webhook notifications — Optionally receive
agent.verified,reputation.checked, andagent.revokedevents via HTTPS webhooks
