ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

agent-analytics

Run analytics end-to-end from your agent without opening a dashboard. English-first workflow, with Chinese docs and content available. Create projects, ship tracking, query results, and run experiments.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/dannyshmueli/agent-analytics
Or

What This Skill Does

Agent Analytics is a developer-centric web analytics platform designed to be queried directly by AI agents. Unlike traditional heavy-handed analytics tools that require complex dashboard navigation, this skill provides a CLI and MCP-native interface. It focuses on the 'Is this project alive and growing?' philosophy, encouraging developers to track only the most critical 3-5 custom events alongside automatic page view tracking. It supports funnel analysis, retention cohorts, traffic heatmaps, and A/B experiment tracking, allowing your AI to proactively monitor the health of your deployments without human intervention.

Installation

To integrate this skill into your environment, use the OpenClaw command-line interface: clawhub install openclaw/skills/skills/dannyshmueli/agent-analytics

Once installed, initialize your project using the CLI:

  1. Login via npx @agent-analytics/cli login --token aak_YOUR_API_KEY.
  2. Create a project entry using npx @agent-analytics/cli create [PROJECT_NAME] --domain [URL].
  3. Inject the provided tracking snippet into the <body> of your web application.
  4. Verify event flow with npx @agent-analytics/cli events [PROJECT_NAME].

Use Cases

  • Continuous Growth Monitoring: Automatically query retention rates and conversion funnels to assess if a recent update improved user engagement.
  • A/B Testing Optimization: Let the AI agent compare variant performance and suggest the winning strategy based on real-time event data.
  • Error Tracking: Proactively monitor the error event category to catch user-facing issues before support tickets pile up.
  • Feature Adoption Analysis: Track usage of core features to decide which parts of your product to invest more resources in.
  • Cross-Project Management: Use the AI to aggregate data across multiple domains/projects to get a high-level view of your development ecosystem.

Example Prompts

  1. "OpenClaw, check the conversion funnel for 'my-site' and tell me where we are losing the most users between the landing page and signup."
  2. "Compare the cta_click metrics between the last two weeks for our new feature launch to see if the engagement increased."
  3. "Run a property analysis for the feature_used event to identify which specific features are currently most popular among our users."

Tips & Limitations

  • Simplicity is Key: Avoid 'track everything' syndrome. Stick to the suggested standard events (cta_click, signup, login, feature_used, checkout, error) to maintain clean, actionable data.
  • Naming Consistency: Always use npx @agent-analytics/cli properties-received [PROJECT_NAME] before adding new tracking events to ensure property naming remains consistent with existing project data.
  • Security: Keep your API keys and write tokens separate. The write token goes in your frontend snippet, while your personal API key should only be used by your AI agent/CLI for querying data.

Metadata

Stars3376
Views1
Updated2026-03-24
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-dannyshmueli-agent-analytics": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#analytics#tracking#web#events#experiments#live
Safety Score: 4/5

Flags: network-access, external-api