aai-cli OpenPanel

SkillMonitoring & ops

aai-openpanel lets your AI read your OpenPanel analytics directly. Once added, your AI can pull event data, traffic summaries, and visitor profiles, so you can ask questions about your site or product activity and get answers backed by real data.

Available today. Use it from your connected AI after setup.

Add the skill, then ask your AI to list your OpenPanel projects or summarize recent events. From there, request specific metrics, pages, referrers, devices, or user profiles.

Then ask your AI: use the aai-cli OpenPanel skill

What your AI can do with it

  • List your OpenPanel projects
  • Export raw event data
  • Report key metrics and insights
  • Show top pages, referrers, devices, and regions
  • Look up individual user profiles

What this skill tells your AI

The instructions your AI receives, as published by aai-labs/agent-barn in api/domains/agents/aai_cli_skills/bundled/skills/aai-openpanel/SKILL.md and read by ahel’s review.

Use this skill when working with OpenPanel analytics through aai-cli openpanel.

This is a read-only integration — there are no write endpoints (no identify/track calls, no project or client management). Always pass the intended profile with --profile unless the active default profile is already known.

OpenPanel clients are typed write, read, or root server-side, and this matters for which commands work with a given profile:

  • projects list / projects get (the Manage API) require a root client.
  • events export, all insights * commands, and profiles * commands require a read or root client.
  • A project's default write client fails every command here with 401/403.

insights * and profiles * commands need a project ID in the URL — pass --project-id or set profile.project_id to avoid repeating it. events export's --project-id is optional: omit it when the profile's client is already scoped to a single project.

insights pages/referrers/devices/geo accept --limit/--cursor but the provider ignores them — those four always return every breakdown row for the date range, unsorted. To answer a "top N" question, fetch all rows, then sort and slice client-side. Only events export really paginates, and a { "name": null, ... } breakdown row is the "no value for this dimension" bucket, not an error.

Successful output is JSON on stdout, wrapped in an _aai.pagination metadata block added by this CLI. Errors are structured JSON on stderr. See the command reference for command shapes, response notes, and examples captured from a live OpenPanel workspace.

Signals

GitHub stars
85
Forks
8
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
aai-openpanel
Source
github.com/aai-labs/agent-barn