/install drip-openclaw-billing
Drip OpenClaw Billing
Instrument OpenClaw agents with Drip for run timelines, tool-call usage metering, and customer-level billing attribution.
Install (copy/paste)
clawhub install drip-openclaw-billing
Use slug only in CLI (
drip-openclaw-billing), notowner/slug.
What this gives you
- Per-run billing traceability (
start_run→ events → usage →end_run) - Metered usage by unit (tokens, tool calls, API calls, compute time)
- Customer/project-level cost and usage visibility in Drip
- Idempotent writes for retry-safe telemetry
Integration paths
- Recommended:
DRIP_API_KEYwith/v1/*endpoints for full billing + telemetry control. - Lightweight:
OPENCLAW_IDENTITY_TOKENwith/openclaw/*endpoints.
Security rules
- Use least-privilege runtime keys (prefer scoped telemetry key).
- Never send raw prompts, raw model outputs, credentials, or PII.
- Send sanitized metadata only (hash content fields like
queryHashwhen needed). - Emit stable idempotency keys for all writes.
- Validate payload schemas in staging before production rollout.
Quickstart (Node.js)
import { OpenClawBilling } from '@drip-sdk/node/openclaw';
const billing = new OpenClawBilling({
apiKey: process.env.DRIP_API_KEY,
customerId: 'cus_123',
workflowId: process.env.DRIP_WORKFLOW_ID ?? 'wf_openclaw',
});
await billing.withRun({ externalRunId: 'openclaw_req_456' }, async ({ runId }) => {
await billing.withToolCall({ runId, provider: 'brave', endpoint: '/res/v1/web/search' }, async () => {
// tool execution
});
});
Quickstart (Python)
from drip import Drip
import os
client = Drip(api_key=os.environ['DRIP_API_KEY'])
run = client.start_run(customer_id='cus_123', workflow_id='wf_openclaw', external_run_id='openclaw_req_456')
client.emit_event(run_id=run.id, event_type='tool.call', quantity=1, metadata={'provider': 'brave'})
client.track_usage(customer_id='cus_123', meter='brave_api_calls', quantity=1, metadata={'runId': run.id})
client.end_run(run.id, status='COMPLETED')
Load detailed API docs
See references/API.md for:
- endpoint shapes
- run/event/usage lifecycle
- pricing units and rate-limit notes
- error handling patterns
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install drip-openclaw-billing - After installation, invoke the skill by name or use
/drip-openclaw-billing - Provide required inputs per the skill's parameter spec and get structured output
What is Drip OpenClaw Billing?
Add usage metering and billing telemetry to OpenClaw agents using Drip. Use when you need per-run cost attribution, tool-call usage tracking, and customer-le... It is an AI Agent Skill for Claude Code / OpenClaw, with 575 downloads so far.
How do I install Drip OpenClaw Billing?
Run "/install drip-openclaw-billing" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Drip OpenClaw Billing free?
Yes, Drip OpenClaw Billing is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Drip OpenClaw Billing support?
Drip OpenClaw Billing is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Drip OpenClaw Billing?
It is built and maintained by lucas-309 (@lucas-309); the current version is v1.1.1.