From openclix
Wires OpenClix events to installed product analytics providers (Firebase, PostHog, Mixpanel, Amplitude) and generates pre/post campaign impact reports on 7-day retention.
npx claudepluginhub openclix/openclix --plugin openclixThis skill uses the workspace's default tool permissions.
Add outcome measurement on top of OpenClix campaign delivery.
assets/android/app/src/main/kotlin/ai/openclix/analytics/OpenClixAnalyticsEmitter.ktassets/flutter/lib/openclix/analytics/openclix_analytics_emitter.dartassets/ios/OpenClix/OpenClixAnalyticsEmitter.swiftassets/react-native/src/openclix/analytics/OpenClixAnalyticsEmitter.tsreferences/event-contract.mdreferences/impact-metrics-spec.mdreferences/pa-detection-matrix.mdreferences/provider-query-recipes.mdscripts/detect_pa.shDesigns OpenClix campaign configurations from product goals and app events, producing schema-valid openclix-config.json, app profiles, and runtime integration setup for notifications and retention flows.
Guides mobile app developers in setting up, interpreting, and optimizing analytics tracking with App Store Connect, Firebase, Mixpanel. Covers acquisition, engagement, retention metrics, funnels, attribution.
Implements product analytics with event tracking, funnel analysis, A/B testing using Segment, Amplitude, Mixpanel, PostHog. Designs privacy-compliant event schemas and instrumentation.
Share bugs, ideas, or general feedback.
Add outcome measurement on top of OpenClix campaign delivery. This skill is for proving impact, not only sending events.
firebase > posthog > mixpanel > amplitude.openclix.message.*, app event names)..openclix/**, ensure .openclix/ is listed in .gitignore (add it if missing).references/event-contract.md.references/impact-metrics-spec.md:
openclix-init first.Run:
bash skills/openclix-analytics/scripts/detect_pa.sh <target-project-root>
Use the JSON output as source of truth:
installed_providersselected_providerevidenceopenclix_detectedDetection rules live in references/pa-detection-matrix.md.
If installed_providers is empty:
openclix-analytics.If at least one provider exists:
selected_provider by fixed priority.src/openclix/analytics/OpenClixAnalyticsEmitter.tslib/openclix/analytics/openclix_analytics_emitter.dartOpenClix/OpenClixAnalyticsEmitter.swift or Sources/OpenClix/OpenClixAnalyticsEmitter.swiftapp/src/main/kotlin/ai/openclix/analytics/OpenClixAnalyticsEmitter.kttrackEvent(...)trackSystemEvent(...)openclix-init output:
src/openclix/core/OpenClix.tslib/openclix/core/openclix.dartOpenClix/Core/OpenClix.swift or Sources/OpenClix/Core/OpenClix.swiftapp/src/main/kotlin/ai/openclix/core/OpenClix.ktTemplate emitters are in assets/<platform>/... with namespace-ready paths.
Run platform checks (same policy as openclix-init):
npx tsc --noEmitflutter analyze./gradlew assembleDebugxcodebuild -scheme <scheme> build or swift buildThen verify that forwarding is wired in both event paths.
After event flow is active, generate:
.openclix/analytics/impact-metrics.json.openclix/analytics/impact-report.mdUse:
references/impact-metrics-spec.mdreferences/provider-query-recipes.mdRequired metrics:
d7_retention_pred7_retention_postd7_retention_delta_ppnotification_open_rate_prenotification_open_rate_postsessions_per_user_presessions_per_user_postIf sample size is insufficient, report status: insufficient_data with explicit reasons and minimum required data.
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 missing20: no supported PA provider detected21: OpenClix integration not detected30: required input artifact missing31: delivery mode unresolved (unknown)40: evaluator failed