openclix-init, openclix-design-campaigns, openclix-analytics, openclix-update-campaigns) is already producing artifacts.
Run openclix-update separately when template baseline updates are needed.
This is OpenClix’s primary agent-based mobile app retention automation operating loop.
Why this layer exists
OpenClix already gives deterministic config + metrics artifacts. This guide adds an operations layer so teams can run a weekly or biweekly decision loop with coding agents while preserving a strict human approval gate.Capabilities by skill/script
openclix-init: integration automationopenclix-design-campaigns: campaign config automationopenclix-analytics: retention/engagement measurement automationopenclix-update-campaigns: campaign action proposal automationopenclix-update: source-template synchronization for baseline maintenanceretention_ops_automation.sh: OpenClaw/Claude Code/Codex review prompt automation
Operations loop
Evidence confidence model
Use this grading model when citing examples in retention automation docs:| Grade | Criteria |
|---|---|
| A | Public implementation artifacts and reproducible workflow evidence are available. |
| B | Workflow and tooling are public, but KPI impact proof is limited. |
| C | Anecdotal/operator report without reproducible KPI evidence. |
Run automation helper script
--agent openclaw|claude-code|codex|all--delivery-mode auto|bundle|hosted_http|dual--impact-file <path>--campaign-metrics-file <path>--config-file <path>--output-dir <path>(default:.openclix/automation)
Generated artifacts
.openclix/automation/run-summary.json.openclix/automation/prompts/openclaw.md.openclix/automation/prompts/claude-code.md.openclix/automation/prompts/codex.md
.openclix/automation/evaluator/ so dry-run usage can stay isolated from active campaign files.
Weekly / biweekly operating cadence
- Refresh analytics artifacts with
openclix-analytics. - Run
retention_ops_automation.shin dry-run mode. - Paste generated prompt(s) into the selected agent.
- Compare agent recommendations with
update-recommendations.json. - Approve only high-confidence, reversible changes.
- Apply changes by delivery mode (
bundle,hosted_http,dual). - Record rationale in your team changelog.
Approval gate and rollback policy
Before apply:- Confirm sampling thresholds were met (
delivered >= 200,opened >= 20). - Reject recommendations that rely on low-confidence data.
- Keep delete actions pause-first.
bundle: restore previous bundled config and redeploy app build.hosted_http: roll back to previous JSON version at stable HTTPS URL.dual: revert both hosted primary and local fallback together.
Third-party OpenClaw plugin review
OpenClix’s own skills (openclix-init, openclix-design-campaigns, openclix-analytics, openclix-update-campaigns, openclix-update) are first-party and source-auditable in this repository.
When the retention ops loop incorporates additional third-party OpenClaw plugins that are not part of this repository, apply these review steps to those external plugins:
- Review the external plugin’s source before execution.
- Run unfamiliar external plugins in sandboxed or isolated environments.
- Prefer read-only analysis prompts for first-pass review of external plugins.
- Require human approval before applying config changes from any source.
Failure codes from helper script
10: required command/script missing20: no supported analytics provider detected21: OpenClix integration not detected30: required input artifact missing31: delivery mode unresolved (unknown)40: evaluator execution failed