agent-analytics

Track page views, events, funnels, and A/B experiments via CLI.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/dr-code/beacon --skill agent-analytics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-analytics
Source: https://github.com/dr-code/beacon/tree/main/plugins/all-skills/skills/agent-analytics
Command: npx skills add https://github.com/dr-code/beacon --skill agent-analytics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers and product teams measure and optimize AI agent performance by providing actionable tracking, experiment tooling, and unified analytics across multiple projects so you can know which changes actually improve engagement and conversions.

Core Features & Use Cases

  • Cross-project tracking: unified event and page view collection across sites and apps to compare agent behavior.
  • A/B experiments & insights: create experiments, view probability_best and lift, and declare winners from CLI-driven results.
  • Funnels, cohorts, and real-time monitoring: run funnel analyses, retention cohorts, breakdowns, and live TUI streams for immediate insight.
  • Use Case: Run an experiment on signup CTAs across projects, analyze funnel drop-off and retention cohorts, then ship the winning variant to increase conversions.

Quick Start

Log in with your Agent Analytics API key, create a project with the CLI, and add the provided tracking snippet to your site's HTML before the closing body tag.

Frequently Asked Questions about agent-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track custom events for AI agents across multiple projects?

You can track custom events for AI agents across multiple projects by adding an embed snippet to your HTML and using the CLI to collect page views, funnels, and retention cohorts with an API key.

How do I run A/B testing on AI agent interactions via command line?

A/B testing on AI agent interactions is executed via npx-based CLI commands that create experiments, calculate probability_best and lift, and declare winners from the command line.

Can I analyze funnel drop-off and retention cohorts for chatbot conversations?

Yes, you can analyze funnel drop-off and retention cohorts for chatbot conversations by querying collected events through the CLI to produce insight reports on user engagement.

What's the best way to monitor AI agent events in real-time?

The best way to monitor AI agent events in real-time is using the live TUI streams provided by the CLI, which offers immediate insight into tracking data and breakdowns.

Do I need an API key to use analytics tracking for AI agents?

Yes, you need an API key to use analytics tracking for AI agents, along with an optional project write token, to create projects and query events via the npx CLI.