---
title: Agent Skills
description: Let AI agents query your analytics data
url: https://www.supalytics.co/docs/skills
---



Agent skills teach AI coding assistants how to use the Supalytics CLI. Once installed, you can ask your AI questions like "how's my traffic this week?" or "which pages generate the most revenue?" and it will run the right commands for you.

Works with Claude Code, Cursor, OpenClaw, and other AI agents.

## Installation

### skills.sh

The easiest way. Works with Claude Code, Cursor, and most AI agents:

```bash
npx skills add supalytics-co/skills
```

### OpenClaw / ClawHub

For OpenClaw users:

```bash
npx clawhub@latest install supalytics
```

Or browse it at [clawhub.ai/yogesharc/supalytics](https://www.clawhub.ai/yogesharc/supalytics)

## What You Can Ask

Once the skill is installed, try prompts like:

| You say                                    | AI runs                                                                                          |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| "How's my site doing?"                     | `supalytics stats`                                                                               |
| "Who's on my site right now?"              | `supalytics realtime`                                                                            |
| "What are my top traffic sources?"         | `supalytics referrers`                                                                           |
| "Which pages generate the most revenue?"   | `supalytics query -d page -m revenue --sort revenue:desc`                                        |
| "How's my newsletter campaign performing?" | `supalytics query -d utm_campaign -f "utm_source:is:newsletter" -m visitors,conversions,revenue` |
| "Show me the visitor trend this week"      | `supalytics trend --period 7d`                                                                   |

## Prerequisites

The skill requires the CLI to be installed and authenticated. OpenClaw will guide you through this automatically when you first use the skill.

Manual setup:

```bash
# Install Bun runtime
curl -fsSL https://bun.sh/install | bash

# Install Supalytics CLI
bun add -g @supalytics/cli

# Authenticate
supalytics login
```

## Source

The skill is open source: [github.com/supalytics-co/skills](https://github.com/supalytics-co/skills)


---

## Other Documentation

- [Autocapture](https://www.supalytics.co/llms/docs/autocapture)
- [Backfill Existing Subscriptions](https://www.supalytics.co/llms/docs/backfill-existing-subscriptions)
- [Block Your Own Traffic](https://www.supalytics.co/llms/docs/block-your-traffic)
- [CLI](https://www.supalytics.co/llms/docs/cli)
- [Custom Events](https://www.supalytics.co/llms/docs/custom-events)
- [Features](https://www.supalytics.co/llms/docs/features)
- [Conversion Funnels](https://www.supalytics.co/llms/docs/funnels)
- [Introduction](https://www.supalytics.co/llms/docs)
- [Install Script](https://www.supalytics.co/llms/docs/install-script)
- [MRR Tracking](https://www.supalytics.co/llms/docs/mrr-tracking)
- [Revenue Attribution](https://www.supalytics.co/llms/docs/revenue-attribution)
- [Tracking Modes](https://www.supalytics.co/llms/docs/tracking-modes)
- [Visitor Journey](https://www.supalytics.co/llms/docs/visitor-journey)
- [Annotations](https://www.supalytics.co/llms/docs/api/annotations)
- [Error Codes](https://www.supalytics.co/llms/docs/api/errors)
- [Events (Read)](https://www.supalytics.co/llms/docs/api/events)
- [API Reference](https://www.supalytics.co/llms/docs/api)
- [Journeys](https://www.supalytics.co/llms/docs/api/journeys)
- [Query API](https://www.supalytics.co/llms/docs/api/query)
- [Realtime API](https://www.supalytics.co/llms/docs/api/realtime)
- [Revenue Attribution API](https://www.supalytics.co/llms/docs/api/revenue-attribution)
- [Events (Write)](https://www.supalytics.co/llms/docs/api/server-side-events)