amplitudeAmplitude product analytics ā track events, analyze user behavior, run cohort analysis, manage user properties, and query funnel/retention data via the Ampli...
Install via ClawdBot CLI:
clawdbot install aiwithabidi/amplitudeAmplitude product analytics ā track events, analyze user behavior, run cohort analysis, manage user properties, and query funnel/retention data via the Amplitude API.
| Variable | Required | Description |
|----------|----------|-------------|
| AMPLITUDE_API_KEY | ā
| API key/token for Amplitude |
| AMPLITUDE_SECRET_KEY | ā
| Amplitude secret key for Export/Dashboard APIs |
# Track an event
python3 {baseDir}/scripts/amplitude.py track '{"user_id":"user123","event_type":"purchase","event_properties":{"amount":29.99}}'
# Track batch events
python3 {baseDir}/scripts/amplitude.py track-batch events.json
# Set user properties
python3 {baseDir}/scripts/amplitude.py identify '{"user_id":"user123","user_properties":{"plan":"pro","company":"Acme"}}'
# Get active user counts
python3 {baseDir}/scripts/amplitude.py active-users --start 2026-01-01 --end 2026-02-01
trackTrack an event.
python3 {baseDir}/scripts/amplitude.py track '{"user_id":"user123","event_type":"purchase","event_properties":{"amount":29.99}}'
track-batchTrack batch events.
python3 {baseDir}/scripts/amplitude.py track-batch events.json
identifySet user properties.
python3 {baseDir}/scripts/amplitude.py identify '{"user_id":"user123","user_properties":{"plan":"pro","company":"Acme"}}'
active-usersGet active user counts.
python3 {baseDir}/scripts/amplitude.py active-users --start 2026-01-01 --end 2026-02-01
eventsGet event data.
python3 {baseDir}/scripts/amplitude.py events --start 2026-01-01 --end 2026-02-01 --event purchase
funnelRun funnel analysis.
python3 {baseDir}/scripts/amplitude.py funnel '{"events":[{"event_type":"page_view"},{"event_type":"signup"},{"event_type":"purchase"}]}' --start 2026-01-01 --end 2026-02-01
retentionRetention analysis.
python3 {baseDir}/scripts/amplitude.py retention --start 2026-01-01 --end 2026-02-01
cohortsList cohorts.
python3 {baseDir}/scripts/amplitude.py cohorts
cohort-getGet cohort details.
python3 {baseDir}/scripts/amplitude.py cohort-get abc123
revenueRevenue analysis.
python3 {baseDir}/scripts/amplitude.py revenue --start 2026-01-01 --end 2026-02-01
user-searchSearch for a user.
python3 {baseDir}/scripts/amplitude.py user-search "user@example.com"
user-activityGet user activity.
python3 {baseDir}/scripts/amplitude.py user-activity user123
segmentsEvent segmentation query.
python3 {baseDir}/scripts/amplitude.py segments --event purchase --group-by platform --start 2026-01-01 --end 2026-02-01
All commands output JSON by default. Add --human for readable formatted output.
# JSON (default, for programmatic use)
python3 {baseDir}/scripts/amplitude.py track --limit 5
# Human-readable
python3 {baseDir}/scripts/amplitude.py track --limit 5 --human
| Script | Description |
|--------|-------------|
| {baseDir}/scripts/amplitude.py | Main CLI ā all Amplitude operations |
This skill never stores data locally. All requests go directly to the Amplitude API and results are returned to stdout. Your data stays on Amplitude servers.
Built by M. Abidi | agxntsix.ai
Part of the AgxntSix Skill Suite for OpenClaw agents.
š Need help setting up OpenClaw for your business? Book a free consultation
Generated Mar 1, 2026
An online retailer uses the skill to track user events like 'add_to_cart', 'checkout_start', and 'purchase' to analyze funnel conversion rates. They run retention analysis to measure repeat customer rates and segment users by purchase history to target marketing campaigns.
A software-as-a-service company employs the skill to monitor feature usage events such as 'feature_activated' and 'dashboard_viewed'. They analyze cohort retention to understand user engagement over time and set user properties to track subscription tiers for personalized onboarding.
A mobile gaming app developer uses the skill to track in-app events like 'level_completed' and 'in_app_purchase'. They perform funnel analysis to optimize user journeys from tutorial to monetization and run revenue analytics to calculate average revenue per user (ARPU).
A telehealth platform utilizes the skill to log patient interactions such as 'appointment_scheduled' and 'prescription_refilled'. They analyze user activity to identify drop-off points in the care process and manage cohorts based on treatment plans for targeted health interventions.
A financial technology firm applies the skill to track transaction events and user properties like account type. They run segmentation queries to detect anomalous behavior patterns and analyze retention to assess customer loyalty and reduce churn in competitive markets.
Companies charge recurring fees for access to analytics dashboards and API integrations. The skill enables tracking of user engagement metrics to optimize pricing tiers and reduce churn through data-driven insights into feature adoption.
Platforms generate revenue through transaction fees or commissions on sales. The skill helps analyze funnel conversions to increase seller success rates and segment users for targeted promotions, driving higher transaction volumes and repeat purchases.
Apps offer free downloads with monetization via in-app purchases or ads. The skill tracks revenue events and user retention to optimize monetization strategies, such as identifying high-value user cohorts for personalized offers and ad targeting.
š¬ Integration Tip
Ensure both AMPLITUDE_API_KEY and AMPLITUDE_SECRET_KEY are set as environment variables before running commands; use the --human flag for initial testing to verify outputs in a readable format.
Quick system diagnostics: CPU, memory, disk, uptime
Query Google Analytics 4 (GA4) data via the Analytics Data API. Use when you need to pull website analytics like top pages, traffic sources, user counts, ses...
Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search queries, and SEO metrics. Use when the user asks to: check site traffic, analyze page views, see traffic sources, view user demographics, get real-time visitor data, check search console queries, analyze SEO performance, request URL re-indexing, inspect index status, compare date ranges, check bounce rates, view conversion data, or get e-commerce revenue. Requires a Google Cloud service account with GA4 and Search Console access.
Google Analytics API integration with managed OAuth. Manage accounts, properties, and data streams (Admin API). Run reports on sessions, users, page views, and conversions (Data API). Use this skill when users want to configure or query Google Analytics. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Deploy privacy-first analytics with correct API patterns, rate limits, and GDPR compliance.
Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search queries, and SEO metrics. Use when the user asks to: check site traffic, analyze page views, see traffic sources, view user demographics, get real-time visitor data, check search console queries, analyze SEO performance, request URL re-indexing, inspect index status, compare date ranges, check bounce rates, view conversion data, or get e-commerce revenue. Requires a Google Cloud service account with GA4 and Search Console access.