/openclix:openclix-update-campaignsfrom openclix
Proposes campaign operations (pause/resume/add/delete/update) from measured analytics performance, generates a reviewable config, and applies changes only after user confirmation.
Ships in openclix. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Operate campaigns from measured outcomes, not intuition.
This skill consumes openclix-analytics outputs and generates safe, reviewable campaign updates.
.openclix/campaigns/openclix-config.next.json without mutating the active config.propose_then_apply..openclix/campaigns/openclix-config.json before user confirmation.openclix_campaign_id) with conservative sampling.openclix-design-campaigns..openclix/**, ensure .openclix/ exists in .gitignore.Required:
.openclix/analytics/impact-metrics.json.openclix/campaigns/openclix-config.jsonOptional:
.openclix/analytics/campaign-metrics.json.openclix/campaigns/app-profile.json.openclix/campaigns/update-history.json.openclix/campaigns/update-recommendations.json.openclix/campaigns/openclix-config.next.json.openclix/campaigns/update-history.json.openclix/ is ignored by git when .openclix/** outputs are created.Run:
bash skills/openclix-update-campaigns/scripts/detect_delivery_mode.sh --root <target-project-root>
Priority:
--mode) if providedReturned mode is one of:
bundlehosted_httpdualunknownIf mode is unknown, stop and ask the user to choose bundle or hosted HTTP.
If .openclix/analytics/campaign-metrics.json is missing:
status: insufficient_data.no_change decisions.Run:
bash skills/openclix-update-campaigns/scripts/evaluate_campaigns.sh --root <target-project-root>
Decision defaults:
d7_retention_delta_ppopen_rate, fail_rate, cancel_ratedelivered >= 200 and opened >= 20Action rules are documented in references/decision-rules.md.
The evaluator must output:
update-recommendations.json with action list, reason codes, and proposed patchesopenclix-config.next.json with draft changes onlyupdate-history.jsonShow the recommendation summary and ask for confirmation. Do not apply to active config until confirmation.
bundle: sync updated source config to bundled runtime resource path and verify local load + OpenClixCampaignManager.replaceConfig(...) path.hosted_http: publish updated config to user-owned HTTPS host and verify URL health.dual: update both hosted primary and local fallback paths consistently.Run platform checks and report:
For multi-agent retention review loops, run:
bash scripts/retention_ops_automation.sh \
--root <target-project-root> \
--agent all \
--delivery-mode auto \
--dry-run
The helper executes delivery mode detection + evaluator orchestration and writes:
.openclix/automation/run-summary.json.openclix/automation/prompts/openclaw.md.openclix/automation/prompts/claude-code.md.openclix/automation/prompts/codex.mdFailure 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 failedreferences/decision-rules.mdreferences/delivery-mode-detection.mdreferences/campaign-metrics-contract.mdreferences/provider-campaign-query-recipes.md../openclix-design-campaigns/SKILL.md../openclix-analytics/SKILL.mdagents/openai.yaml (opens in a new tab)references/campaign-metrics-contract.md (opens in a new tab)references/decision-rules.md (opens in a new tab)references/delivery-mode-detection.md (opens in a new tab)references/provider-campaign-query-recipes.md (opens in a new tab)scripts/detect_delivery_mode.sh (opens in a new tab)scripts/evaluate_campaigns.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub openclix/openclix --plugin openclix5 skills in this plugin
/openclix-analyticsWire OpenClix events to an installed product analytics provider (Firebase, PostHog, Mixpanel, or Amplitude) and produce pre/post campaign impact reports centered on 7-day retention. TRIGGER when the user asks to "connect analytics", "measure campaign impact", "check retention", "tag OpenClix events", or wants to know whether campaigns are working — even if they say "are my notifications helping?" without mentioning analytics. DO NOT trigger for campaign config changes based on metrics — that belongs to openclix-update-campaigns./openclix-design-campaignsDesign, create, and iterate OpenClix campaign configurations from product goals and app events, producing schema-valid openclix-config.json with delivery mode setup. TRIGGER when the user asks to "create campaigns", "design notifications", "configure engagement messages", "set up onboarding/re-engagement/streak flows", or refine trigger logic, suppression rules, or message content — even if they just describe a retention goal without mentioning campaigns. DO NOT trigger for campaign performance analysis or optimization from metrics — that belongs to openclix-update-campaigns./openclix-initSet up OpenClix in a mobile app by detecting the platform, copying source templates into a dedicated namespace, wiring initialization/event/lifecycle touchpoints, and running build verification. TRIGGER when the user asks to "integrate OpenClix", "set up local notifications", "add engagement logic", or mentions OpenClix for the first time in a project without an existing integration — even if they don't mention this skill by name. DO NOT trigger when OpenClix is already integrated and the user is asking about campaigns, analytics, or template updates — those belong to other openclix-* skills./openclix-updateSync OpenClix source-integration code with the latest openclix-init template baseline using dry-run planning and explicit overwrite controls. TRIGGER when the user asks to "update OpenClix", "sync templates", "refresh integration code", or when the openclix-init template baseline has changed and source files need re-sync. DO NOT trigger for campaign config updates — that belongs to openclix-update-campaigns. This skill updates integration source code, not campaign configurations.Other plugins' skills for the same job