Amplitude for Openclaw

A zero-dependency Python tool for AI agents to track product analytics, user behavior, and conversion funnels via the Amplitude API.

aiwithabidi
v1.0.0
Feb 19, 2026
0
743
3

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install amplitude

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install amplitude using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Amplitude?

The Amplitude skill provides a robust interface for Openclaw Skills to interact directly with the Amplitude Product Analytics platform. It enables AI agents to log user events, manage user properties, and perform complex analytical queries such as cohort analysis and retention tracking without any external dependencies. Built using the Python standard library, this skill ensures maximum compatibility and security for developers building data-driven agentic workflows.

By integrating this tool into your Openclaw Skills library, you can empower your AI agents to monitor product usage, measure feature adoption, and gain actionable insights into user journeys in real-time. Whether you are tracking simple page views or complex revenue events, this skill streamlines the process of data collection and analysis for modern AI applications.

Amplitude Use Cases

  • Tracking user interactions and custom events within web or mobile applications.
  • Analyzing conversion funnels to identify drop-off points in user registration or purchase flows.
  • Monitoring user retention and return rates to measure product-market fit.
  • Segmenting users into cohorts based on behavior or properties for targeted engagement.
  • Exporting dashboard and chart data for automated reporting and AI-driven insights.

How Amplitude Works

  1. The AI agent initializes the skill using the provided environment variables for API authentication.
  2. Events are logged through the track command, sending data directly to Amplitude's servers.
  3. Users are identified and their properties updated via the identify command to maintain rich user profiles.
  4. The agent queries specific analytical endpoints such as funnel, retention, or active-users to retrieve structured JSON data.
  5. Results are returned to the agent's stdout for immediate processing or human-readable reporting.

Amplitude Setup

To get started with this skill for Openclaw Skills, ensure you have your API credentials ready.

1. Environment Variables: Set the following keys in your environment:

  • AMPLITUDE_API_KEY: Your project's API key.
  • AMPLITUDE_SECRET_KEY: Required for Export and Dashboard APIs.

2. Basic Usage: Track a single event using the CLI:

python3 scripts/amplitude.py track '{"user_id":"user123","event_type":"purchase","event_properties":{"amount":29.99}}'

3. Configuration: No additional Python packages are required as this skill uses the Python standard library.

Amplitude Data Schema & Taxonomy

The skill operates on a direct-to-API model, ensuring no sensitive data is stored locally within the Openclaw Skills environment.

Data Type Description
Event Data JSON objects containing user_id, event_type, and custom properties.
User Properties Key-value pairs defining user attributes like plan type or company name.
Analysis Results Structured JSON outputs for funnels, retention, and active user metrics.
Metadata Standardized taxonomy for event segmentation and cohort identification.

Amplitude Advanced Features

  • Batch event tracking for high-volume data ingestion using local JSON files.
  • Complex funnel analysis with customizable event sequences and specific date ranges.
  • Automated cohort management to list and fetch granular user group details.
  • Revenue analytics tracking including LTV, ARPU, and transaction-specific data.
  • Flexible output formatting with a flag for human-readable tables or raw JSON for programmatic use.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*