Agent Analytics
AI Agent-Driven Product Analytics Tool
Install & Use
Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:
Help me install this AI Skill: Agent Analytics. It is used for: AI Agent-Driven Product Analytics Tool Full Skill content: https://321skill.com/skills/agent-analytics-x-5/raw/index.md Read that page and install it.
The prompt includes a link to the full Skill content. You can also view the full content.
This Skill addresses the problems of fragmented product data analysis, cumbersome operations, and the difficulty in quickly identifying growth opportunities. In real-world development, product and growth teams frequently need to query data such as user behavior funnels, retention curves, path analysis, and experiment results. However, traditional tools either rely on SQL queries or require manually clicking through multiple UI layers, which is inefficient and prone to missing key insights.
Usage is straightforward. You simply need to run npx --yes @agent-analytics/cli@0.5.34 login in an AI Agent-supported editor (like Claude Code, Cursor) or terminal to complete browser authorization. After that, you can use natural language instructions to have the AI agent perform analysis tasks directly. For example, say "Analyze the user activation funnel for the past 7 days" or "Check the new user Day 1 retention trend." The AI will automatically invoke the corresponding CLI commands (e.g., funnel, retention) and return results. You can further ask follow-up questions like "Which step has the highest drop-off?" to receive growth suggestions.
It's well-suited for teams or individuals needing rapid product insights, especially product managers, data analysts, and growth operators who already use AI coding assistants in their daily development. Whether it's e-commerce, SaaS, or content platforms, as long as there's a need to track user behavior, optimize conversion paths, or evaluate experiment performance, this Skill can significantly shorten the time from question to decision.
It's recommended to use CLI commands uniformly for analysis instead of manually constructing API requests, as the CLI encapsulates all standard commands (e.g., funnel, retention, experiments) and automatically handles authentication and pagination. Note that the free tier has limits on data read per query. When encountering a PRO_REQUIRED error, you can run the upgrade-link command to guide users to upgrade to the Pro version. Additionally, this tool relies on a browser for login authorization; in headless runtimes (like Paperclip, OpenClaw), the --detached mode is required.
Key Features
Unlike traditional product analytics platforms like Amplitude or Mixpanel, Agent Analytics allows you to complete analysis directly via an AI agent using natural language, eliminating the need for manual SQL query building or dashboard clicking. It can also automatically recommend the next growth actions, creating a closed loop from "data query" to "actionable insight."
Limitations
Requires npx to run and an internet connection; the free tier has read limits; only supports CLI commands, not direct API calls; browser authorization is the default method, requiring detached mode in headless environments.
FAQ
Do I need to manually obtain an API key?
No. For normal use, only browser login authorization is required. The CLI handles authentication automatically, with no need for manual entry of API keys or key files.
How do I upgrade to the Pro version to increase read limits?
When the CLI returns a PRO_REQUIRED error, run `npx --yes @agent-analytics/cli@0.5.34 upgrade-link --detached --reason 'Need more data' --command 'The restricted command'`, then complete the upgrade process in your browser.
Installation guide for AI assistants
If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:
Visit https://321skill.com/skills/agent-analytics-x-5/raw/index.md to read the original Skill definition (Markdown format) for Agent Analytics, and install it according to the instructions.
Raw Markdown URL for AI: /skills/agent-analytics-x-5/raw/index.md