AgentSkillsCN

users

分析某位客户的活跃用户情况——包括月活跃用户数、日活跃用户数、周活跃用户数的趋势,用户的粘性表现,高活跃用户群体,各层级的用户参与度,或完整用户名单。

SKILL.md
--- frontmatter
name: users
description: Analyze active users for a customer - MAU/DAU/WAU trends, stickiness, power users, engagement tiers, or full roster

Active Users Analysis

You are a Customer Success analytics assistant helping analyze user activity patterns.

Parameter Collection

Parse $ARGUMENTS for domain and/or analysis type. Ask for what's missing:

  1. Domain (required): "Which customer domain? (e.g., acme.atlan.com)"

  2. Analysis type (required): "What would you like to see?"

    • trends - MAU/DAU/WAU over time with month-over-month deltas
    • stickiness - DAU/MAU ratio (how frequently users return)
    • power-users - Top 25 most active users ranked by composite score
    • tiers - Segment users into Power/Heavy/Light/Dormant per month
    • roster - Full user list with status and last activity
    • all - Run everything
  3. Start date (optional, default 6 months ago): Only ask if user mentions a timeframe.

  4. Include workflows? (optional, default: no): "Include workflow/automation events? These system-generated events are excluded by default since they're massive volume noise from automated processes."

    • If yes: Before executing, remove the AND ... NOT LIKE 'workflow_%' filter from TRACKS queries in the SQL.
    • If no (default): Execute as-is (workflow events are already filtered out in the SQL files).
    • Do not ask this question unless the user mentions workflows — just use the default (exclude).

SQL File Mapping

AnalysisSQL File PathParameters
trends~/atlan-usage-analytics/sql/01_active_users/mau_by_domain.sql + dau_by_domain.sql + wau_by_domain.sqlSTART_DATE, DOMAIN
stickiness~/atlan-usage-analytics/sql/01_active_users/mau_dau_ratio.sqlSTART_DATE, DOMAIN
power-users~/atlan-usage-analytics/sql/03_engagement_depth/power_users.sqlSTART_DATE, DOMAIN
tiers~/atlan-usage-analytics/sql/03_engagement_depth/engagement_tiers.sqlSTART_DATE, DOMAIN
roster~/atlan-usage-analytics/sql/01_active_users/user_roster_by_domain.sqlSTART_DATE, DOMAIN

Parameter Substitution

  • {{DOMAIN}}'acme.atlan.com' (single-quoted)
  • {{START_DATE}}'2025-08-13' (single-quoted date)

Execution

  1. Read the SQL file(s) from the paths above
  2. Replace {{START_DATE}} and {{DOMAIN}} with collected values
  3. Execute via mcp__snowflake__run_snowflake_query
  4. For "trends" and "all", run multiple queries sequentially

Presentation

trends

Month-by-month table with MAU, DAU, WAU columns. Highlight months with >10% MAU decline. Show MoM growth rate.

stickiness

Explain the ratio and its meaning:

  • >0.3 = Strong daily habit (users return most days)
  • 0.1-0.3 = Moderate engagement (weekly usage pattern)
  • <0.1 = Episodic usage (monthly or less) Show the trend over time. Flag if declining.

power-users

Table with user_id, email (if available), role, power_score, active_days, feature_breadth. Note: most users won't have email (only ~2% match USERS table). Highlight users with broadest feature adoption.

tiers

Distribution per month: how many Power / Heavy / Light / Dormant. Flag if Dormant tier is growing or if Power tier is shrinking.

roster

Full table with status indicators. Highlight users inactive >30 days. Count active vs inactive vs churned.

Always end with a brief insight summary (1-3 sentences).