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

openclix-analytics开放式分析

Agent Skill

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

总安装

636

周安装

26

GitHub Stars

36

下载量

206
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/openclix/openclix --skill openclix-analytics

简介

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备,适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。

  • 使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。
  • 它可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 可通过 npx skills add 命令从 GitHub 仓库安装。
  • openclix-analytics 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

OpenClix Analytics

Add outcome measurement on top of OpenClix campaign delivery. This skill is for proving impact, not only sending events.

Goal

  1. Detect whether a supported PA provider is already installed.
  2. If installed, wire OpenClix events into one provider.
  3. If none is installed, stop with setup guidance.
  4. Produce a pre/post report that answers: "Did retention and engagement improve?"

Hard Rules

  • Do not install or update dependencies without explicit approval.
  • Use one provider only, even when multiple are installed.
  • Provider selection priority is fixed: firebase > posthog > mixpanel > amplitude.
  • Keep OpenClix canonical event names (openclix.message.*, app event names).
  • Before writing outputs under .openclix/**, ensure .openclix/ is listed in .gitignore (add it if missing).
  • Always include required OpenClix analytics properties from references/event-contract.md.
  • Use pre/post defaults from references/impact-metrics-spec.md:

- pre: 28 days before campaign go-live - stabilization gap: first 7 days after go-live excluded - post: next 28 days

  • If provider package exists but initialized client path cannot be found, fail fast with guidance and stop.

Workflow

1) Preflight

  1. Detect platform and project shape using actual files (Expo/RN/Flutter/iOS/Android).
  2. Confirm OpenClix integration exists.
  3. If OpenClix integration is missing, stop and instruct to run openclix-init first.

2) Detect provider

Run:

bash skills/openclix-analytics/scripts/detect_pa.sh <target-project-root>

Use the JSON output as source of truth:

  • installed_providers
  • selected_provider
  • evidence
  • openclix_detected

Detection rules live in references/pa-detection-matrix.md.

3) Branch: no provider installed

If installed_providers is empty:

  1. Explain that no supported PA was detected.
  2. Introduce the four providers briefly:

- Firebase Analytics - PostHog - Mixpanel - Amplitude

  1. Provide a short integration checklist for the detected platform.
  2. Ask the user to integrate one provider and re-run openclix-analytics.
  3. Exit without code changes.

4) Branch: provider installed

If at least one provider exists:

  1. Choose selected_provider by fixed priority.
  2. Locate initialized provider client instance in app startup/composition root.
  3. If initialization is unclear, fail fast with exact candidate files and required init example.
  4. Add OpenClix analytics emitter file under OpenClix namespace:

- React Native / Expo: src/openclix/analytics/OpenClixAnalyticsEmitter.ts - Flutter: lib/openclix/analytics/openclix_analytics_emitter.dart - iOS: OpenClix/OpenClixAnalyticsEmitter.swift or Sources/OpenClix/OpenClixAnalyticsEmitter.swift - Android: app/src/main/kotlin/ai/openclix/analytics/OpenClixAnalyticsEmitter.kt

  1. Wire event forwarding in both app and system event paths:

- app events: trackEvent(...) - system events: trackSystemEvent(...) - default patch points when using openclix-init output: - React Native / Expo: src/openclix/core/OpenClix.ts - Flutter: lib/openclix/core/openclix.dart - iOS: OpenClix/Core/OpenClix.swift or Sources/OpenClix/Core/OpenClix.swift - Android: app/src/main/kotlin/ai/openclix/core/OpenClix.kt

  1. Keep canonical event names; apply provider-level normalization only when required (Firebase).

Template emitters are in assets/<platform>/... with namespace-ready paths.

5) Validate integration

Run platform checks (same policy as openclix-init):

  • React Native / Expo: npx tsc --noEmit
  • Flutter: flutter analyze
  • Android: ./gradlew assembleDebug
  • iOS: xcodebuild -scheme <scheme> build or swift build

Then verify that forwarding is wired in both event paths.

6) Produce impact report

After event flow is active, generate:

  • .openclix/analytics/impact-metrics.json
  • .openclix/analytics/impact-report.md

Use:

  • metric definitions: references/impact-metrics-spec.md
  • provider extraction templates: references/provider-query-recipes.md

Required metrics:

  • d7_retention_pre
  • d7_retention_post
  • d7_retention_delta_pp
  • notification_open_rate_pre
  • notification_open_rate_post
  • sessions_per_user_pre
  • sessions_per_user_post

If sample size is insufficient, report status: insufficient_data with explicit reasons and minimum required data.

Automation handoff

When analytics artifacts are ready, hand off to the retention operations helper:

bash scripts/retention_ops_automation.sh \
  --root <target-project-root> \
  --agent all \
  --delivery-mode auto \
  --dry-run

This helper consumes analytics/config artifacts, runs campaign evaluation, and generates agent-specific review prompts under .openclix/automation/prompts/.

Failure codes from helper script:

  • 10: prerequisite command or required script missing
  • 20: no supported PA provider detected
  • 21: OpenClix integration not detected
  • 30: required input artifact missing
  • 31: delivery mode unresolved (unknown)
  • 40: evaluator failed

Required Output At Handoff

  • Selected provider and evidence files.
  • Files changed for emitter + wiring.
  • Validation command results.
  • Impact report file paths.
  • Key assumptions (campaign go-live date, period boundaries, any missing data).

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.69%
按下载量换算71

Claude

27.21%
按下载量换算56

Cursor

19.29%
按下载量换算40

Gemini CLI

8.88%
按下载量换算18

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills