Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

analyticscli-clianalyticscli CLI 开发

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

225

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:analyticscli-cli(analyticscli CLI 开发)
来源仓库:https://github.com/wotaso/analyticscli-skills
仓库路径:skills/analyticscli-cli
安装命令:
npx skills add https://github.com/wotaso/analyticscli-skills --skill analyticscli-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/wotaso/analyticscli-skills --skill analyticscli-cli

简介

查询 AnalyticsCLI 项目的 SDK 埋点状态与事件数据。

  • 支持验证 onboarding、付费墙、调研等场景的追踪完整性。
  • 输出结构化结果而非原始 SQL,聚焦业务问题解答。
  • 禁止请求无边界事件 dump,仅限已定义的事件范围查询。
  • analyticscli-cli 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

AnalyticsCLI CLI

Use This Skill When

  • querying product analytics for a AnalyticsCLI project
  • validating whether SDK instrumentation landed correctly
  • answering onboarding, paywall, survey, retention, or export questions without raw SQL

Supported Versions

  • Skill pack: 1.0.0
  • Target package: @analyticscli/cli
  • Supported range: ^0.1.0
  • If a future CLI major changes commands or flags in incompatible ways, split to a sibling skill such as analyticscli-cli-v1

See Versioning Notes.

Non-Goals

  • Do not generate raw SQL.
  • Do not request unbounded raw event dumps.
  • Do not include debug data unless the user explicitly asks for it.

Safety Rules

  • Always scope by project context: set default once with analyticscli projects select, or pass --project <id> when needed.
  • Always scope by time: --last or explicit since/until.
  • Prefer high-level query endpoints over raw exports.
  • Keep groupings and result sets bounded.
  • Treat release-only data as the default.
  • Never pass secrets via CLI flags or inline literals (argv/shell history leakage risk). Use interactive prompts instead.
  • For generated docs or help text, use tenant developer voice (your workspace, your project) and avoid provider-centric wording such as our SaaS.
  • Keep analyticscli-cli skill fresh with CLI updates, but do not auto-force analyticscli-ts-sdk skill updates across repositories.

Query Priorities

Prefer these command families first:

  • funnel
  • conversion-after
  • paths-after
  • retention
  • survey
  • timeseries
  • breakdown
  • generic

Only use events export when the user explicitly needs raw CSV.

Data Fidelity Rules

  • CLI and dashboard both query the API. There is no separate CLI-only analytics source.
  • Sequence-sensitive and cohort-sensitive queries stay on raw events.
  • Aggregate-backed reads are acceptable only when the API reports that plan shape.
  • runtimeEnv is auto-attached by the SDK. Do not invent a separate mode field.

One-Time Setup

Before running setup, collect required values from your dashboard:

  • Open dash.analyticscli.com and select the target project.
  • In API Keys, create/copy a readonly_token (CLI token, scope read:queries).
  • If SDK instrumentation is in scope, copy the publishable ingest API key from the same API Keys page.
  • Optional: copy project_id for explicit per-command overrides.
  • Set default project once after login with analyticscli projects select (interactive arrow-key picker).

Preferred:

npm i -g @analyticscli/cli
analyticscli setup
# Paste readonly token only when prompted; do not pass token as a command argument.

Alternatives:

analyticscli login
# Choose readonly-token or Clerk flow interactively; do not put JWT/token values in command args.

Output Mode

  • Prefer --format json for automation or agent reasoning.
  • Use --format text for short human summaries.
  • Use timeseries --viz table when exact values matter.
  • Use timeseries --viz chart or svg when a trend scan is enough.

Validation Loop

After SDK rollout or query changes, validate with a few stable reads:

analyticscli schema events --limit 200
analyticscli goal-completion --start onboarding:start --complete onboarding:complete --last 30d
analyticscli get onboarding-journey --last 30d --format text

Empty-State Guidance (Required)

When a user has no listed projects:

  • Explain that they need to create their first project before CLI queries can return analytics data.
  • Direct them to create it in their AnalyticsCLI dashboard (dash.analyticscli.com).
  • After creation, run analyticscli projects list, then set a default with analyticscli projects select.

When a project exists but has no events yet:

  • Explain that ingestion has not started for that project.
  • Tell the user to integrate @analyticscli/sdk in their app codebase.
  • Tell the user to initialize the SDK with the publishable API key from Dashboard -> API Keys.
  • Tell the user to trigger at least one event and rerun analyticscli schema events --project <id> --last 14d.
  • If they already integrated SDK, advise widening --last or removing restrictive filters before deeper debugging.

Missing Capability Loop

If the requested fetch is impossible with the current CLI surface:

  1. State that the capability is missing.
  2. Do not pretend another command is equivalent if it is not.
  3. Submit CLI feedback with a reproducible gap report.
ANALYTICSCLI_CLI_ENABLE_WRITE_COMMANDS=true analyticscli feedback submit \
  --category feature \
  --message "Missing CLI functionality: <short capability>" \
  --context "Requested fetch: <what user asked>; attempted command: <command>" \
  --meta '{"expected":"<expected output>","actual":"CLI has no command or endpoint"}'

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.13%
按下载量换算24

Claude

30.16%
按下载量换算22

Cursor

18.7%
按下载量换算14

Gemini CLI

9.24%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills