Skip to main content
Glama
crm-lifecycle-ops

crm-lifecycle-ops

crm-lifecycle-ops

Pre-send QA for Braze, Klaviyo and Iterable. Every email, text, push and in-app message is checked by code, as every kind of customer, before it goes out. Then, in your live account: what a change will break, and how to build it.

CI Release Status: early alpha License: MIT

The 80-second demo (sound on):

https://github.com/user-attachments/assets/dc4e632c-f71e-43d5-8451-6e2a67b6471e

A Claude Code plugin (and a CLI for CI) for lifecycle, CRM and marketing-ops teams who build campaigns by hand. The message checks work fully today; the live-account features are early alpha (see the status column below). It is read-only: it never sends or edits anything.

Try it in 30 seconds

No account and no Claude Code needed, just Node.js 20+. This checks four sample emails that ship with the package:

npx crm-lifecycle-ops check --demo

Then point it at your own templates: npx crm-lifecycle-ops check path/to/emails. That covers emails. The plugin below adds the rest: every channel, your live account, what a change will break, and build steps.

Related MCP server: Pushizo MCP Server

What it does

Try

Plan and build faster

Click-by-click build steps in your platform's terms, with your naming and UTMs

/build-plan

Change safely

See what a change to a segment, field or shared block will break, before you make it

/what-breaks

Send with confidence

Every message on every channel, checked as every kind of customer

/check-campaign

Prove the impact

Delivery health after launch, plus problems caught and hours saved

/ops-report

Quick start

Needs Claude Code and Node.js 20+.

/plugin marketplace add har5h98/crm-lifecycle-ops
/plugin install crm-lifecycle-ops@crm-lifecycle-ops

Then try it on the built-in demo account. No platform access needed:

  1. /refresh demo loads a fictional brand's Braze workspace.

  2. /check-campaign Price Drop Alert checks a whole campaign.

  3. /what-breaks loyalty_tier shows what a change would affect.

When you're ready for your own account:

  • /setup teaches it your team's rules (about five minutes, or paste an email you like and it learns from that).

  • /connect adds a read-only key. Keys go in the plugin's settings and your system's secure storage, never in chat.

The engine is also on npm, so any MCP client can run it. The slash commands are Claude Code skills, so elsewhere you ask in plain words ("check this email", "what breaks if I rename loyalty_tier?").

{
  "mcpServers": {
    "crm-lifecycle-ops": {
      "command": "npx",
      "args": ["-y", "crm-lifecycle-ops"],
      "env": { "CLO_BRAZE_API_KEY": "…", "CLO_BRAZE_REST_ENDPOINT": "https://rest.iad-01.braze.com" }
    }
  }
}

Leave env out to use the demo account. Every setting is listed in server.json.

The same checks run from a terminal, so a pipeline can stop a broken email before anyone launches it. It exits 1 on a blocking problem (or on warnings too, with --fail-on warn). It uses the built-in rules unless you pass a rules file, so it gives the same verdict on every machine; commit your team's file (the one /setup saves to ~/.crm-lifecycle-ops/rules.json) and point at it:

npx crm-lifecycle-ops check emails/ --rules team-rules.json
# .github/workflows/email-qa.yml
on: pull_request
jobs:
  email-qa:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npx -y crm-lifecycle-ops@0.5 check emails/ # pin a version so new checks don't change your build

--help lists the options (--platform, --subject, --transactional, --json). The template language is detected per file; the output says "guessed" when nothing in a file gives it away, so pass --platform then.

Early alpha. Everything works on the demo account and against mocked API responses. It hasn't been field-tested on real accounts yet. If a result looks wrong, /report-problem turns it into a test and a fix.

Example

Real output from the demo account:

/check-campaign Price Drop Alert          🔴 Don't send. 1 blocking problem

fail  links.non-production-host        "See items" points at staging.fernbrook.example
warn  personalization.dangling-punct.  Someone with no first name on file sees "Hi ,"
warn  html.img-missing-alt             1 image has no alt text
warn  a11y.no-lang                     No lang attribute, so screen readers guess the language

/check-sms Flash Sale Text                🟡 Fix before sending

warn  sms.unicode            "’" and "—" switch the text to Unicode: 70 characters per segment, not 160.
                             Swap ’ → ' and — → -
warn  sms.too-many-segments  Up to 3 billed segments; house limit is 2
warn  sms.no-opt-out         No "Reply STOP to opt out"

Code makes every pass/fail call, never AI. Claude adds a labelled, advisory review (subject line, CTA, tone) on top. Need a record for the launch ticket? Ask /check-campaign for a QA sign-off report: a Markdown file with every finding, what couldn't be verified and a reviewer sign-off, ready to paste into Jira, Slack or Notion.

All commands

✅ works fully today · 🧪 works on the demo account and mocked APIs, not yet field-tested on real accounts

Command

What it does

Status

Get started

/start-here

Overview and the best first step

✅

/setup

Teach it your team's rules: language, brand, links, footer, senders, test customers, strictness

✅

/house-rules

View or change those rules; mark a finding "fine for us"

✅

/connect

Connect Braze, Klaviyo or Iterable with a read-only key

🧪

/refresh

Pull the latest campaigns, journeys, segments, templates and content blocks (or load the demo)

🧪

Plan and build

/plan-journey

Design a journey and check it for overlap with what's already live

🧪

/build-plan

Step-by-step build instructions in your platform's own terms

🧪

/bulk-edit

Preview a find-and-replace across every subject, body and content block

🧪

Change safely

/what-breaks

What's affected if you change or delete an attribute, segment, block, event or link

🧪

/what-changed

What changed in the account since last time, live items first

🧪

/edit-plan

The safe way to change something live (copy, running journeys, shared blocks, audiences)

🧪

/show-journey

Draw a live journey as a diagram, with structural problems flagged

🧪

Send with confidence

/check-campaign

A whole campaign or journey: every message, settings and structure

🧪

/check-email

One email: HTML, links, unsubscribe, UTMs, personalization, house rules

✅

/check-push

One push: lock-screen length for your longest names, deep links, blanks

✅

/check-sms

One text: billed segments, Unicode traps, opt-out wording, sender name

✅

/check-in-app

One in-app message or content card: length, buttons, links

✅

Prove the impact

/watch-launch

Bounce, unsubscribe, spam and delivery rates against thresholds

🧪

/ops-report

Messages checked, problems caught, hours saved, for you or the whole team

✅

/report-problem

Report a wrong result; it becomes a test case and gets fixed

✅

Details

Channel

Catches

Email

Broken Outlook blocks, unclosed tables, missing alt text, Gmail clipping; a preheader that's missing, repeats the subject or reads "View in browser"; staging or malformed links, http://, inconsistent UTMs, broken pages (live check); missing unsubscribe (skipped for transactional mail)

Accessibility (email)

Missing lang, "click here" links, image-only links with no alt text, layout tables screen readers read as data, text under 12px

Push

Title and body length for your longest customer names, line breaks that hide titles on iOS, deep links, Android's required title (Braze)

SMS

Billed segments the way carriers count them, the exact character that switches a text to Unicode, opt-out wording, sender name, each platform's limits

In-app

Body length, buttons and their links, click-through destination, HTML structure

Content cards

Title and message length, card link and image destinations

Webhooks

Missing or staging URLs, keys written into the URL, JSON bodies that break when a name contains a quote

Personalization (all)

Renders every message for a complete, empty, long-values and accented-name customer (or your own): Hi , blanks, literal null, leftover {{ }}, template errors, Iterable comparisons that silently skip the send

Campaigns & journeys

Audience and conversion event, naming convention, dead-end branches, unreachable steps, empty message steps

Braze Liquid, Klaviyo's template language and Iterable Handlebars are supported. Platform tags that can't run locally (coupon codes, catalog lookups, Connected Content) are reported as not verified, never as passing or failing. Full list with ids: src/checks/catalog.ts.

What's "wrong" depends on the team, so checks come in three layers:

Layer

Examples

Can a team change it?

Locked: wrong for everyone

No unsubscribe, template syntax that doesn't render, broken links

No

Defaults: sensible everywhere

Missing alt text, http:// links, Gmail clipping, mixed UTM tagging

Re-grade or turn off

House rules: your conventions

Spelling, date format, brand terms, banned phrases, approved domains and senders, UTM naming, footer, subject length, name fallback, naming convention, test customers

Set in /setup

"That's fine for us" becomes a recorded exception with a reason (/house-rules), which is different from "the tool is wrong" (/report-problem). Teams share one rulebook by setting the same Shared rules file in the plugin's settings.

Every result says what it couldn't verify, and every dependency says how it's known (confirmed by the API, read from the template, read from the segment description, seen on screen).

  • Local rendering is an approximation. Braze Connected Content and catalog lookups aren't executed, and Klaviyo's template language is approximated. These are reported as not verified.

  • Braze's API doesn't say which segment a campaign or Canvas targets. /what-breaks lists those as "can't rule out" and can read them from your Braze dashboard via Claude in Chrome, with your OK.

  • Iterable's API doesn't return journey step order, so Iterable journeys show their emails but not the path.

  • Braze content cards come back from the API with few fields; card checks are fullest when the copy is pasted.

  • It never builds or edits in your account. /build-plan and /edit-plan tell you how; /bulk-edit previews only.

What it runs, sends and fetches

It never sends messages, never edits your account, never reads customer profiles (it tests with made-up customers), and sends nothing to the author or any third party.

What

When

Where it goes

A local MCP server (node dist/mcp-server.js, readable source in src/)

When Claude Code loads the plugin

Your machine only

Read-only API calls

/refresh, /watch-launch

Only the platform you connected: your Braze REST endpoint, a.klaviyo.com, or api.iterable.com / api.eu.iterable.com

Link checks (unsubscribe and tracking links are never requested)

Only when you ask for a live link check

The links in the email being checked

Local files: snapshots, house rules, QA sign-off reports, a usage log of check ids and counts

Normal use

~/.crm-lifecycle-ops/

A copy of the usage log (counts only, never message content)

Only if you set a team report folder

The folder you chose

A GitHub issue

Only via /report-problem, after you approve the exact text

github.com/har5h98/crm-lifecycle-ops

API keys are read only from the plugin's settings (secure storage). See SECURITY.md and the privacy policy.

Learn more

  • Operator guide: a one-page routine for setup, each step of a build, and the weekly review.

  • How it works: the architecture, data flow and design decisions in plain language.

How it gets better

  1. You report: /report-problem turns a wrong result into a redacted GitHub issue (it asks before posting).

  2. It becomes a test: each confirmed report joins tests/corpus/ and must pass from then on.

  3. Fixes are drafted automatically: Claude writes the test and the fix as a pull request for human review.

  4. Vendor changes are watched: a weekly job checks the Braze, Klaviyo and Iterable APIs for changes, and a monthly one opens a checklist to re-verify the build and edit guides against the vendors' docs. Every plan says when its steps were last verified, and warns once that's more than 90 days ago.

Wrong results are the most valuable contribution. See CONTRIBUTING.md.

License

MIT. Not affiliated with or endorsed by Braze, Klaviyo or Iterable; product names are trademarks of their owners.

Available Tools

21 tools
add_exceptionMark a finding as fine for usA

Record that a finding is acceptable for this team (not a tool bug), with a reason. Optionally scoped by match text. Locked checks can't be waived. For tool bugs use /report-problem instead.

Inputs: reason (required), check_id (required), match.

bulk_edit_previewPreview a bulk editA
Read-only

Find text (or a regex) across every subject, preheader, body and content block and preview the replacement, live items first. Preview only; nothing is written.

Inputs: find (required), replace (required), platform (required), regex, +2 more.

check_campaignCheck a campaign or journeyA
Read-only

QA every message in a campaign or journey (Canvas/flow): emails with content blocks expanded, push, SMS and in-app, plus its settings: audience, conversion events, naming and journey structure (dead ends, unreachable steps).

Inputs: platform (required), name_or_id (required), workspace.

check_emailCheck an emailA
Read-only

QA one email before it sends, using the team's house rules: HTML structure, Outlook conditionals, Gmail clipping, alt text, links (non-production hosts, unsubscribe, UTMs, approved domains), personalization rendered for several synthetic personas, subject line, sender, brand terms, spelling variant and required footer text. Pass HTML or a local file path. Read-only; sends nothing.

Inputs: platform (required), file, from, html, +6 more.

check_messageCheck a push, SMS, in-app, content card or webhookA
Read-only

QA one push notification, SMS/MMS, in-app message, content card or webhook using the team's house rules: renders personalization for several synthetic personas, then checks length against lock-screen / segment / in-app / card limits, SMS encoding and billed segments, opt-out wording and sender name, deep links and other links (non-production hosts, malformed URIs), buttons, webhook URL, secrets in URLs and JSON bodies that break on quotes, brand terms and spelling. Read-only; sends nothing.

Inputs: body (required), channel (required), platform (required), name, +9 more.

connection_statusConnection statusA
Read-only

Which platforms have keys set (keys themselves are never shown), test each connection, and list the environment variables each platform needs.

Inputs: test.

find_overlapsFind overlaps with live programsA
Read-only

For a planned journey or campaign: which live campaigns/journeys already target the same segments or lists, trigger on the same events, or use the same attributes, and which live items can't be ruled out.

Inputs: platform (required), lists, events, segments, +2 more.

get_house_rulesShow house rulesA
Read-only

The team's rulebook (what counts as right for them) and where it's stored. Returns defaults if /setup hasn't run.

Inputs: no named parameters.

how_toPlatform-specific build or edit instructionsA
Read-only

Step-by-step instructions for a build or edit task in Braze, Klaviyo or Iterable, in that platform's own terms, from a procedure library verified against the vendors' docs (with links). Filled in with the team's house rules (naming, sender, UTMs, fallback syntax, footer, channel limits) and, when a snapshot exists, the account: segments and blocks to reuse, whether the target is live, and shared content that would change other live programs. The plugin never edits the account; a person follows the steps. Tasks: create-campaign (Create a one-off or scheduled campaign); create-journey (Create a multi-step journey); edit-live-journey (Change a journey that's already live); edit-live-message (Change the copy of a live or scheduled message); edit-shared-content (Change a shared content block / snippet used in live messages); change-audience (Change who a campaign or journey targets, or add exclusions); link-tracking (Add UTM parameters and click tracking); frequency-and-quiet-hours (Set frequency caps, rate limits and quiet hours); conversion-tracking (Set the conversion event / metric); ab-test (Run an A/B or multivariate test); test-and-preview (Preview as a user and send tests); pause-stop-duplicate (Pause, stop or duplicate).

Inputs: task (required), platform (required), target, audience, +3 more.

launch_healthLaunch healthB
Read-only

Recent delivery numbers for a campaign or journey (sent, delivered, bounces, unsubscribes, spam complaints, opens, clicks) judged against stated thresholds. Needs a connected account.

Inputs: platform (required), name_or_id (required), workspace.

learn_from_emailLearn conventions from a good emailA
Read-only

Read an email the team considers correct and propose house rules from it: link domains, UTM params and values, sender, name fallback, US/GB spelling, subject style, footer and postal address. Proposals only; confirm with the person before saving.

Inputs: file, from, html, subject.

list_checksList all checksA
Read-only

Every check, with its id, default severity and what it catches, plus which ones are locked (can't be turned off). Use to explain a finding or fill in a problem report.

Inputs: no named parameters.

list_itemsFind campaigns, journeys, segments or blocksA
Read-only

Search the latest snapshot by name. Use it to resolve what the person means before checking, mapping or analysing impact.

Inputs: platform (required), kind, limit, query, +2 more.

ops_reportOps reportB
Read-only

From the usage log: messages and campaigns checked, blocking problems caught, most common findings, weekly trend and estimated hours saved (assumption stated). With team: true, totals every operator's log in the shared team folder and breaks it down per operator.

Inputs: days, team, minutes_per_manual_check.

record_audienceRecord an audience seen on screenA

Fill an API gap: record which segment/list a campaign or journey targets, as read from the platform's dashboard (e.g. via Claude in Chrome). Stored as 'seen-on-screen' with today's date on the latest snapshot.

Inputs: item (required), segment (required), platform (required), mode, +1 more.

refresh_accountRefresh account snapshotA

Pull the latest campaigns, journeys, segments, templates and content blocks into a local snapshot (read-only API calls), then report what changed since the previous one. Set demo: true to load the fictional Fernbrook Market demo account instead.

Inputs: platform (required), demo.

save_house_rulesSave house rulesA
Destructive

Replace the team's rulebook. Always show the person the changes and get a yes first. Locked checks can't be overridden. Schema: locale, brand, links, compliance, senders, personalization, style, naming, severity, exceptions.

Inputs: rules (required).

save_sign_off_reportSave a QA sign-off reportA

Re-run the campaign check and save the result as a Markdown QA sign-off report (verdict, findings per message, what wasn't verified, reviewer sign-off) under ~/.crm-lifecycle-ops/reports/. Returns the path and the Markdown. Use after check_campaign when someone wants a record for a launch ticket.

Inputs: platform (required), name_or_id (required), workspace.

show_journeyShow a journeyB
Read-only

A Mermaid diagram of a live journey (Canvas/flow) with subject lines, plus structural problems (dead ends, unreachable steps, empty message steps).

Inputs: platform (required), name_or_id (required), workspace.

what_breaksWhat breaks if I change thisB
Read-only

Everything that depends on an attribute, segment/list, content block, event, message or piece of text, live items first, each with how we know (api-verified, parsed from template, seen on screen…) and a list of live items we can't rule out.

Inputs: kind (required), value (required), platform (required), workspace.

what_changedWhat changed in the accountA
Read-only

Differences between the latest snapshot and the previous one (or the newest one taken before since): added, removed, status changes, content, audience and structure edits. Live items first.

Inputs: platform (required), since, workspace.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 21 tools

    Disambiguation4/5

    Most tools have sharply distinct purposes (rules get/save/learn, snapshot refresh/diff, checks, impact analysis, reporting). The only real friction is between check_email, check_message and check_campaign, where the boundary (single email vs single non-email channel vs whole campaign) is inferable from the descriptions but not obvious from names, and what_breaks vs find_overlaps are two flavors of impact analysis that could be confused at a glance.

    Naming Consistency3/5

    All names are snake_case, but the conventions are mixed: most follow verb_noun (save_house_rules, check_message, find_overlaps, show_journey), while about a third are noun-only or question-style (ops_report, connection_status, launch_health, what_breaks, what_changed, how_to). Readable overall, but not a predictable pattern an agent can extrapolate from.

    Tool Count3/5

    21 tools is in the heavy band for a single plugin surface. Each tool does map to a real workflow (rules, checks, snapshot, impact, guidance), so nothing is obviously padding, but the surface is large enough that selection cost is meaningful and some grouping (e.g. check_email/check_message/check_campaign) could have been collapsed.

    Completeness4/5

    Coverage is strong for the domain: rulebook read/write/learn/exception, single-message and campaign QA, snapshot refresh/diff/search, dependency and overlap analysis, journey visualization, bulk edit preview, sign-off reporting and platform how-to guidance. Minor gaps: no way to list or remove an existing exception, no explicit enumeration of campaigns/journeys beyond snapshot search, and bulk editing is preview-only (intentional by design, but a dead end for any write workflow).

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables checking whether a Meta, LinkedIn, or Google Ads campaign is structurally able to serve and convert before spending, by inspecting schedule, bid, destination, approval, geo, and budget fields through read-only tools. It also reconciles reported spend across the three platforms against a ledger to surface discrepancies, armed campaigns, and drift.
      16 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Lets AI clients read segments, campaigns, messages, templates, and analytics and create draft campaigns and segments with explicit approval, without send, schedule, or delete tools.
      478 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Lets AI agents connect a user's database, draft marketing campaigns in their brand, preview emails, and send tests while the user retains final send control.
      48 npm
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI clients to inspect and safely modify Salesforce and HubSpot data through read-only and permission-gated tools for deduplication, normalization, enrichment, assignment, job-change detection, record creation, mass updates, and segmentation, with auditable and reversible writes.
      1
      -