OPENCLAW INTEGRATION
RANKIGI for OpenClaw
One skill install. Every action governed. Free forever for solo builders.
cp -r rankigi-governance ~/.openclaw/skills/What gets governed
- Every tool call your agent makes
- Every tool result returned
- Every agent output generated
- Every error encountered
- Optional: encrypted reasoning records (Intent Chain)
Setup
Copy the skill
cp -r rankigi-governance ~/.openclaw/skills/Add environment variables
export RANKIGI_API_KEY=rnk_xxxxxxxxx
export RANKIGI_AGENT_ID=my-openclaw-agent
export RANKIGI_INTENT_CHAIN=trueGet your free API key
# Sign up at https://rankigi.com/signup
# No credit card requiredConfiguration
Intent Chain
Intent Chain captures why your agent acted alongside what it did. When enabled, reasoning strings are hashed and chained alongside the event. This provides cryptographic proof that intent existed at the moment of action.
Enable with RANKIGI_INTENT_CHAIN=true. Pass a reasoning string as the third argument to toolCall() or the second argument to agentOutput().
Verify your chain
Run a verification check at any time. Cryptographic proof your audit trail hasn't been touched.
curl https://api.rankigi.com/v1/agents/YOUR_AGENT_ID/verify \
-H "Authorization: Bearer $RANKIGI_API_KEY"
# Response: { "valid": true, "blocks": 1247, "broken_events": [] }Examples
Basic governance
const rankigi = require('./rankigi');
// Before a tool call
await rankigi.toolCall('read_file', { path: '/etc/config.json' });
// Execute the tool
const result = fs.readFileSync('/etc/config.json', 'utf8');
// After the tool call
await rankigi.toolResult('read_file', { content: result });
// When your agent produces output
await rankigi.agentOutput({ summary: 'Config read', fields: 12 });With Intent Chain
// Set RANKIGI_INTENT_CHAIN=true in your environment
// Reasoning is encrypted client-side before transmission.
// Raw reasoning never leaves the machine unencrypted.
const rankigi = require('./rankigi');
await rankigi.toolCall(
'query_database',
{ query: 'SELECT balance FROM accounts WHERE id = 42' },
'User asked about balance. Querying accounts table.'
);
const rows = [{ balance: 15420.00 }];
await rankigi.toolResult('query_database', { rows });
await rankigi.agentOutput(
{ answer: 'Balance is $15,420.00' },
'Retrieved balance. Formatting as currency.'
);Also available on ClawHub
Search for rankigi-governance in the ClawHub registry to install directly.
Support
Full documentation at rankigi.com/docs. For questions, reach us at standard@rankigi.com.
Passport Images
Your OpenClaw agent gets a unique passport with a visual identity. Upload a custom image or RANKIGI auto-generates one from your agent name. The image appears on your passport card, public verification page, and governance reports.
Upload via the dashboard at /dashboard/agents/[id] or the API:
# Upload a custom passport image
curl -X POST https://rankigi.com/api/agents/YOUR_AGENT_ID/passport-image \
-H "Authorization: Bearer YOUR_JWT" \
-F "image=@passport.png"
# Auto-generate from agent name
curl https://rankigi.com/api/agents/YOUR_AGENT_ID/passport-image/generate \
-H "Authorization: Bearer YOUR_JWT"Accepted formats: JPEG, PNG, WebP. Maximum file size: 2MB. When no custom image is uploaded, RANKIGI generates an SVG avatar using the first letter of your agent name.