Bring your ActiveCampaign marketing automation, CRM, and email marketing into your AI agent. This plugin adds ActiveCampaign domain expertise, guided workflows, intelligent reporting, and safe write operations on top of ActiveCampaign's MCP server, so your agent can analyze your account, plan your marketing, and make changes for you, all in plain conversation.
Packaged in the open Agent Plugins format. It installs as a plugin in Claude Code, Claude Co-Work, Cursor, and Grok Bot, and ChatGPT has its own listing. The skills and MCP connection are portable to any other client that supports Agent Skills and MCP, including Codex. See Setup and Compatibility.
- What's in the Plugin
- Compatibility
- What the Plugin Can and Can't Do
- Setup
- How It Works
- Examples
- Data Handling & Privacy
- Known Limitations
- Support
- Maintaining
Skills activate on their own when Claude detects relevant context, so you don't need to invoke them. Just describe what you want.
| Skill | Helps with | What it does |
|---|---|---|
| Reporting Analyst | Performance questions, metrics, revenue, goals, ecommerce, reports, dashboard widgets | Answers from your report data: a campaign's sends, opens, clicks, bounces, unsubscribes and attributed revenue, who opened, didn't open, unsubscribed or bounced, split-test variations, the emails inside an automation, SMS broadcast and automation SMS results, contact growth and automation goal rates, and rankings over any date range. Also reads revenue and conversions, how your business goals are tracking against their targets, store orders, abandoned carts, repeat customers and top products, and what one contact converted on; it never creates or changes a goal or conversion. Creates a dashboard widget after your yes (each one runs a billable design pass). Read-only otherwise; recaps go to Weekly Digest and bounce causes to Deliverability Advisor |
| Forms | Signup forms, embed code, why a form isn't working | Reads your forms: what each does on submit, its thank-you or redirect, opt-in and blocked-domain settings, sign-up counts, and the embed code. Read-only: it can't create or change a form |
| Segments | "How many contacts...", who visited the site, why a contact is in a segment | Counts and samples contacts by list, tag, status, site visits, opens, clicks and events, checks a segment you describe in plain words, and explains why a contact is or is not in a saved segment. A segment built here is a 24-hour preview that is never saved; saving, editing and deleting are done in the segment builder |
| Campaign Strategist | Campaign planning, email content, targeting, sending | Plans the campaign from your account data, then generates it from a prompt or web page, imports an email you already have, edits or copies past sends, undoes changes, and sends or schedules after you confirm the summary |
| Automation Builder | Workflow design, triggers, drip sequences, why an automation isn't working | Designs automations, checks what your account can build, drafts them for review or builds and saves them, and edits existing ones. Finds why an automation sends nothing or a contact is stuck by reading its start, steps and the contact's run, and enrolls a contact or ends their run after your yes (ending keeps the history). It can't turn an automation on or off, which is done in ActiveCampaign; opens and clicks for automation emails go to Reporting Analyst |
| Contact Operations | Find one contact, its tags, lists and notes, deleted contacts, failed imports, exclusions | Finds one contact and reads its record, tags, list subscriptions and notes; looks in the archive of deleted contacts; explains why an import had errors and which exclusions block an address. After your yes it tags a contact, adds one to a list or unsubscribes it, updates it, adds a note, and imports contacts you supply; it also manages lists and custom fields. It does not count contacts or build sets by criteria (Segments), never loops over a large set (Data Operations, or ActiveCampaign's bulk actions), and can't remove a tag, merge contacts or restore a deleted one |
| Deals & CRM | Pipelines, deals, tasks, companies, custom objects | Builds and operates your CRM: creates pipelines, stages, and deals, moves deals, reassigns owners, adds contacts and notes to deals, creates tasks and companies, models custom objects, all with preview-and-confirm. It can't complete or edit an existing task |
| Deliverability Advisor | Why bounces, spam placement or unsubscribes are high, why one contact bounced, domain authentication, warming up a new domain | Reads the number first, then the cause: bounce codes for a campaign or one contact, the From domain's DKIM and authentication checks, and the pattern in bounces, complaints and unsubscribes. Sizes a domain warm-up from your own recent send volumes. Read-only; it can't see inbox placement or sender reputation, and it hands changes to Contact Operations for one contact and to Data Operations for a set |
| Weekly Digest | "My Monday digest", "how did we do this week", period recaps | Read-only summary across campaigns, automations, contacts, and deals; also runs by /activecampaign:weekly-digest |
| Brand Kit | Brand kit, brand voice, account-wide instructions | Reads your kits, their tone and competitors, and the account's custom instruction; creates a kit from a website, or saves the one account-wide instruction, after your yes. It doesn't write emails, and it can't edit or delete a kit or change the instruction |
| Connect and Capabilities | "What can you do?", "why can't you do X?", a connection that fails | Says what your connection can read and change and where to do the rest in ActiveCampaign, checks which account you are connected to, and walks through the connector URL and sign-in; read-only, and never asks for an API key or password |
These four skills run only when you type their name; a matching question does not start them. They produce read-only reports, and each takes an optional argument such as a list, campaign, or pipeline name.
| Skill | What it produces |
|---|---|
/activecampaign:campaign-report |
Performance report for your recent campaigns |
/activecampaign:automation-audit |
Automation health read: entry/completion counts, likely drop-off, stale workflows |
/activecampaign:audience-health |
Contact database health: active, bounced and recently unsubscribed contacts, list sizes, engagement, data quality |
/activecampaign:deal-pipeline-review |
Pipeline structure, deals by stage, top deals by value, likely stuck deals |
| Agent | What it does |
|---|---|
| Marketing Planner | Creates 30/60/90-day marketing plans grounded in your account data. Read-only: it produces the plan, it doesn't execute. |
| Data Operations | Tags or moves a set of contacts chosen by criteria (everyone who opened a campaign, everyone in a saved segment) and migrates contacts between lists, with safety previews and automation-trigger warnings. One contact and imports go to Contact Operations. |
This repository follows the Agent Plugins specification v1.0.0, an open, vendor-neutral format for packaging agent extensions.
| Component | Used by | Notes |
|---|---|---|
plugin.json, mcp.json |
Any Agent Plugins client | The manifest and the portable MCP config. mcp.json points at ActiveCampaign's shared MCP endpoint (https://mcp.app-us1.com/http); OAuth links the connection to your account on first use |
skills/ |
Every client | Portable Agent Skills: Claude, Cursor, Codex, and others |
agents/ |
Claude Code, Claude Co-Work, Cursor | Subagents aren't part of the portable standard yet |
.claude-plugin/, .mcp.json |
Claude Code, Claude Co-Work | Claude's plugin manifest and MCP config, which asks for your account-specific MCP Server URL at install time |
.cursor-plugin/ |
Cursor, Grok Bot | Cursor's plugin manifest; it points at the portable mcp.json |
openai/ |
ChatGPT | The listing details and per-skill settings used to build the ChatGPT package. ChatGPT installs from its own plugin directory, not from this repo |
Clients that support Agent Skills but not the full plugin format can add the skills and the MCP server by hand (see Setup).
Contacts and their tags, list subscriptions and notes, deleted contacts, import history and failed rows, exclusions, custom fields, campaigns and their performance reports, email activities, automations, lists, deals, pipelines, stages, deal activities, deal notes, tasks, companies, custom objects, groups, and (for admins) your sending domain's DKIM and DMARC status.
Also brand kits, their voice and tone and competitors, the account branding, and the account's custom instruction.
Also signup forms: their actions, thank-you or redirect, opt-in and blocked-domain settings, sign-up counts, public link and embed code.
Also contact counts by list, tag, status, site visits, opens, clicks and tracked events, a sample of the contacts behind a count, saved segments with their conditions and last counts, and why one contact is or is not in a segment.
- Contacts & data: create/update contacts, create and apply tags, list membership, custom fields and values, bulk import contacts.
- CRM / deals: create and update deals, deal and company notes, deal custom field values, bulk owner reassignment, contacts on a deal, create/update pipelines and stages, move deals between stages, create tasks and task reminders, create companies and link contacts to them, create custom objects.
- Automations: draft an automation for review, build and save one from a description, edit an existing one, and enroll or remove contacts.
- Campaigns: generate a campaign from a prompt or web page (brand is applied automatically), import an email you already have, edit copy or design, copy a past campaign with changes, undo a change, set the audience, and send now or schedule a one-time or A/B campaign. Sending always shows you a summary first and waits for your yes.
- Brand: create a brand kit from your website, or save the one custom instruction every user on the account follows.
Every change follows a read, preview, confirm, execute, verify flow, and nothing changes in your account until you say yes.
- Send RSS, recurring, or date-based campaigns, verify a sender domain, or lift contact limits. Those stay in ActiveCampaign.
- Compute automation or deal aggregates (automation-wide completion rate, win rate, average deal value, totals). Reports show the records and counts; use ActiveCampaign's native reporting for those roll-ups. Campaign rates and rankings, and per-goal automation rates, are available.
- Edit or delete a brand kit, change which kit is the default, or edit the custom instruction. Those stay in ActiveCampaign.
- Complete, edit, or delete an existing task, edit or delete a company, or delete a deal, pipeline, stage, or note. Creating tasks and companies works; these changes stay in ActiveCampaign.
- See inbox placement. The Deliverability Advisor checks authentication and campaign metrics, not where mail lands.
- Create or change a form, copy one, add its opt-in email, or block email domains on it. The Forms skill reads forms only; those changes are made in the forms builder in ActiveCampaign.
- Save, edit or delete a segment. The Segments skill counts, samples and previews a segment that expires after 24 hours; saving or changing one is done in the segment builder in ActiveCampaign.
Which tools are available can vary by client and account permissions; the skills only use tools the connected server lists.
Install from the client you use. Every client links to your ActiveCampaign account with OAuth. The plugin never asks for or stores API keys.
/plugin install activecampaign@claude-plugins-official
You can also run /plugin, open Discover, and pick ActiveCampaign. (Claude Code: install plugins)
- Enter your ActiveCampaign MCP Server URL when prompted. Find it in your ActiveCampaign account under Settings > Developer > MCP. It looks like
https://yoursubdomain.activehosted.com/api/agents/mcp/http. - Authorize Claude to access your ActiveCampaign account.
- Start using it. Ask a question, run a report skill such as
/activecampaign:campaign-report, or ask Claude to set something up.
In claude.ai or the Claude desktop app, open Customize > Plugins, select ActiveCampaign, and choose Add. (Claude: plugins on claude.ai and in Cowork) Then enter your MCP Server URL if prompted and authorize, as in steps 1 and 2 above.
In Cursor, run:
/add-plugin activecampaign
Or open Customize in the sidebar, find ActiveCampaign, select Install, and choose a project or user scope. (Cursor plugins, ActiveCampaign on the Cursor Marketplace) Sign in with your ActiveCampaign login on first use; there is no account URL to look up.
Grok Bot installs from the Cursor marketplace. Open Connect apps in the sidebar, search for ActiveCampaign, add it, and finish the ActiveCampaign sign-in in your browser when asked. It then shows under Installed. (Grok Bot: connect an app)
Install ActiveCampaign from the ChatGPT plugin directory. ChatGPT uses the skills, including the four report skills, which the package marks manual-only; the agents aren't part of it. This repo builds the package for that listing but isn't where you install it from (see Maintaining).
If your client supports Agent Plugins, install the plugin and you're set: the bundled mcp.json connects to the shared endpoint. If it supports only skills and MCP, set up the two pieces by hand:
-
Install the skills. Each folder under
skills/is a self-contained Agent Skill. Copy the folders into your client's skills directory. -
Connect the MCP server through your client's MCP configuration. For example, in Codex's
~/.codex/config.toml(Codex MCP docs):[mcp_servers.activecampaign] url = "https://mcp.app-us1.com/http"
Syntax varies by client and version. Your account-specific MCP URL (Settings > Developer > MCP in ActiveCampaign) works here too.
-
Authorize access (OAuth) when your client first connects to the server.
The two agents come with Claude Code, Claude Co-Work, and Cursor; other clients get the skills, which carry the core expertise everywhere.
The plugin connects your agent to ActiveCampaign through ActiveCampaign's MCP server. From there:
- Skills add ActiveCampaign expertise so the agent uses the right data in the right order, with marketing best practices built in.
- Report skills run pre-built reporting workflows when you type their name.
- Agents handle multi-step tasks.
Agents are available where the client supports them (see Compatibility).
Reading your data is seamless. Anything that changes your account is previewed first and waits for your explicit yes, so nothing is modified without your go-ahead. Text inside your account data (contact notes, imported files, email HTML) is treated as data and can never authorize a change on its own.
- Analyze: "How are my recent campaigns performing?"
- Report:
/activecampaign:weekly-digest - Plan: "Build me a 30-day re-engagement plan for contacts who haven't opened in 90 days."
- Organize contacts: "Tag everyone on the Webinar list as
event:webinar-2026." → Claude shows you how many match and warns if it would trigger an automation, then applies it on your confirmation. - Create and send: "Write a campaign announcing our new pricing page, link: …" → Claude asks about the image, generates the draft, and when you're ready, shows the send summary and sends only after your yes.
- Build CRM: "Set up a Partnerships pipeline with stages Outreach, Demo, Negotiation, Closed." → Claude previews the pipeline, then creates it on your confirmation and verifies the result.
- Troubleshoot: "Why are my emails going to spam?"
- What the plugin is. Configuration only: skills, agents, and an MCP connection. It stores none of your data. The
scripts/folder holds maintainer tooling; the plugin never runs it. - Where your data goes. When you use the plugin, your agent calls ActiveCampaign's MCP server using your authorization. Your ActiveCampaign data flows between your account and your agent's client to answer your requests, governed by ActiveCampaign's Terms of Service and Privacy Policy and your client's own terms.
- Authentication. Access is via OAuth against your own ActiveCampaign account. The plugin never asks for or stores API keys; the only setting it collects is your MCP Server URL.
- Changes are gated. Every write to your account is previewed and waits for your explicit yes.
- Scope. The plugin can only do what the MCP server exposes and what your account permissions allow. It cannot reach other accounts or data outside your ActiveCampaign account.
- Some sends stay in ActiveCampaign. RSS, recurring, and date-based campaigns, sender domain verification, and contact limits are handled in the ActiveCampaign UI.
- No automation or deal aggregates. Campaign rates and rankings and automation goal rates are available; automation-wide completion rates, win rates, averages, and totals come from ActiveCampaign's native reporting.
- Per-account URL. You enter your subdomain URL during setup in Claude Code.
- Authentication checks are admin-only. Non-admin users get guidance instead of a live DKIM/DMARC check.
- Email:
amurrey@activecampaign.com - Help and questions: ActiveCampaign Community
For people who change or release the plugin. You need bash and python3. scripts/export-openai.sh and scripts/check-openai-package.sh also need PyYAML (pip install pyyaml), scripts/refresh-tool-snapshot.sh needs uv, and scripts/evals.py needs Python 3.11 or later and Node.js; CI has PyYAML and does not refresh.
- Shared facts. The root
plugin.jsonholds the name, version, description, author, homepage, repository, license, and keywords.scripts/sync-manifests.shcopies them into.claude-plugin/plugin.jsonand.cursor-plugin/plugin.json, which keep their own client-only keys;--checkexits 1 if any differ. Edit these facts in the root file, then run the script. - Safety rules.
shared/safety.mdholds the rules every skill and agent shares, andshared/safety-read-only.mdis the variant for a skill that names no write tool, by the same rulescripts/evals.py checkuses (scripts/evals.py writes skills/<name>lists the write tools a skill names). Edit them there, then runscripts/sync-shared.shto copy the right one into each skill and agent;--checkexits 1 if any copy is out of date, including a read-only skill with the write rules or a write skill with the read-only rules. - Consent wording. The user's yes in the conversation is the only consent the plugin recognises.
scripts/check-consent-wording.pyfails CI on wording inskills/,shared/,agents/,openai/, the manifests andevals/planned-skills/that says a client's or host's permission prompt, approval, pre-approval or "always allow" setting confirms, gates or stands in for a write, including as a prohibition. Say "ask the user and wait for their explicit yes" and nothing about prompts. It skips this README and the changelog, which the model never reads. - Skills. A skill's frontmatter must not set
allowed-tools; CI fails any that does. A report skill that should run only when typed setsdisable-model-invocation: trueand keeps itsargument-hint; the ChatGPT export drops both keys and marks the skillallow_implicit_invocation: false. - ChatGPT listing.
openai/plugin.jsonis the listing identity (app id, publisher, descriptions, URLs). Each skill has anopenai/<skill>.yaml, whoseicon_smallandicon_largepoint at the copy ofassets/activecampaign-icon.pngthe export places in the skill's ownassets/folder. The optionalopenai/release-notes.mdbecomes the package's release notes.
tools/exposed-tools.txt lists the tools production exposes: the server's own exposure policy, run for the public caller under the switch values in tools/production-switches.env, at one recorded server commit. A name marked held is held in OpenAI review, so ChatGPT lacks it. tools/server-tools.txt lists every tool the server can register, which is more than production exposes. scripts/check-tool-refs.sh treats every snake_case word in skills/ and agents/ as a tool name and fails on any that production does not publish, saying whether the server doesn't define it, doesn't expose it, or ChatGPT lacks it.
- Tools that may be absent: a line that says
may be absentmay name a tool the server defines but production withholds or ChatGPT lacks. Use it only when that is true, for example "check_automation_can_editmay be absent from your tool list." A name the server doesn't define fails even on such a line. - Refresh the lists:
scripts/refresh-tool-snapshot.sh <path-to-ac-mcp-server> [ref]. The path is a local clone of the server repo, andrefdefaults toorigin/main. The script fetches, exports that commit without touching the checkout, runs the server'sexposure dry-runthere (needsuv), and records the full sha and commit date in both file headers. It also writestools/tool-definitions.json, each listed tool's name, description, input schema and annotations from the server's contract snapshots, which the eval mock server serves. A tool with no contract snapshot (get_profileand the tool-search toolsfind_toolsanddescribe_tools) has its annotations read from the server's own registration code and recorded underno_contract_annotations, so a read-only tool is never counted as a write because it lacks a snapshot. The refresh fails on an exposed tool with neither.tools/output-schemas.jsonholds the output schema of each tool an eval fixture answers for, soscripts/check-fixture-schemas.shruns without the server. - Production's switches: the deployment keeps them in a secret, so
tools/production-switches.envis inferred: the one assignment that reproduces the 443 tools production lists. Edit it when a switch changes, then refresh. - Held in OpenAI review:
tools/openai-held.txtis edited by hand from the OpenAI platform scan, because the policy cannot derive it. The refresh fails if a name there is no longer exposed. - Words that aren't tools: a snake_case word that is a parameter, status value, or report field goes in
tools/not-tools.txt, grouped under a comment that says what it is.
Run these before you open a pull request:
scripts/sync-shared.sh --check
scripts/check-tool-refs.sh
scripts/check-consent-wording.py
scripts/sync-manifests.sh --check
scripts/check-openai-package.sh
scripts/evals.py inventory --check
scripts/evals.py check
scripts/check-fixture-schemas.sh
The last one builds the ChatGPT package twice. It fails if the two builds differ, if the zip holds anything but .codex-plugin/plugin.json and skills/, if a skill's declared icon is missing or an undeclared file sits in its assets/, if a packaged SKILL.md keeps a Claude-only key, if a skill with disable-model-invocation: true lacks policy.allow_implicit_invocation: false in its agents/openai.yaml or any other skill has it, or if the manifest lacks a required listing field or the live listing's app id. A skill's references/ folder is packaged with it, and the check fails when a SKILL.md names a references/ file that is not in the skill, or the zip lacks one or differs from the source. scripts/evals.py check builds the eval suite without calling a model and fails on a malformed case, a tool production does not list, or a bad line in evals/expected-failures.txt. scripts/evals.py inventory --check fails when evals/write-inventory.json, each skill and agent with the write tools it names (scripts/evals.py inventory regenerates it), differs from what the skills and agents name now; scripts/evals.py check also fails when any write tool in that inventory has no case, and scripts/check-fixture-schemas.sh fails when an eval fixture does not validate against its tool's output schema (it installs jsonschema into a throwaway virtualenv). CI runs all of them on every pull request and every push to main, plus schema validation of plugin.json and mcp.json and claude plugin validate ..
The eval suite checks how Claude behaves with the plugin installed: which skill a prompt loads, which tools it calls with which arguments, and whether it asks before a change. scripts/evals.py turns evals/suite.toml into a claude plugin eval suite and gates the result.
- Rows. Each row in
evals/suite.tomlis one job with at least five prompts (two forcontractandconfirmrows, one forunattendedrows).collisionrows (T1 to T14, T3b, G1 and G2) give a prompt that two skills could claim and name the one that should load and the ones that should not. Each skill has atriggerrow (it loads), ano-triggerrow (it stays out of a nearby job), acontractrow (tool calls carry the right arguments, in the right order) and aconfirmrow (no write without a yes). A skill that names a write tool also has anunattendedrow: the prompt says no one is there to answer (a scheduled run, a background agent), and the skill must show its preview and call no write tool. A manual-only skill has noconfirmrow only while it is read-only:scripts/evals.py checkrequires one when it names a tool the snapshot intools/tool-definitions.jsondoes not markreadOnlyHint: true, unless one of its own rows lists that tool undernever(a handoff it must not call), and it proves the rule on the skills intests/evals-waiver. A waived skill'striggerprompts type the slash command and grade the tools its steps call, and itsno-triggerprompts are the questions it must not load for.collisionandtriggerrows pass when 80% of their cases pass; the other kinds need every case. - Runs. Each case runs three times and passes when at least two runs pass every grader. The agent under test is
claude-sonnet-5-5, andclaude-haiku-5-5judges the few graders written as criteria. - Mock server. No case reaches ActiveCampaign. The suite replaces the plugin's MCP server with a mock that lists the real definitions from
tools/tool-definitions.jsonand answers fromevals/canned/<tool>.md, or with an empty list for a read tool and{"status":"accepted"}for a write without a canned answer.claude plugin evalallows 255 tools per mock server, so the mock serves the tools the plugin's text or the suite names, not all 443. - Absent arguments.
neverasserts a tool is not called.omits = ["<tool> <object> <property>"]asserts that no call to the tool sets that property directly in the named object, such asnameinattributes; it needs acallsentry for the same tool, so it cannot pass because the tool was never called.scripts/evals.py checkfails a skill thatREQUIRED_OMITSlists, such assegments, when no case carries itsomits, and proves the pattern on sample inputs. It also fails a skill thatREQUIRED_CALLSlists when itscontractrows no longer assert a call to each tool listed:reporting-analystfor the revenue, goal, ecommerce and contact-conversion reads, andcontact-operationsfor the contact lookup, tag read, import-failure and exclusion reads. It also fails whendeliverability-advisor/confirmhas no case that listsbulk_import_contactsundernever(REQUIRED_CONFIRM_NEVER: a handoff tool the skill does not name, so the write inventory cannot cover it). - One call per turn. A tool whose contract in
tools/tool-definitions.jsonsays "You already called this tool this turn" refuses a second call in one turn (todaylist_automations,list_campaigns,list_contacts,list_deal_pipelines,list_dealsandlist_lists; the list is read from the snapshot, not typed here).scripts/evals.py checkfails a case that asserts a call to one of them without an entry that caps it,{ tool = "<tool>", max = 1 }with nomatch(a cap tied to amatchonly counts calls with those arguments, and a retry with other arguments is what the contract forbids), so a run that chains two calls fails. It also fails when any skill or agent that names one of them (read from the files, the way the write inventory is) has no contract case of its own that asserts a call to the tool capped at one, whether the case sits in a row whose id starts with the skill or agent name or carriesagent = "<name>", and when no tool in the snapshot carries the sentence any more. The check reads the suite, not the skills' prose: whether a step chains two calls shows only when the suite runs. - Write coverage.
evals/write-inventory.jsonlists, for each skill and agent, the write tools it names, by the rulescripts/evals.py writesuses (a tool the snapshot does not markreadOnlyHint: true).scripts/evals.py checkfails unless each pair has a case of its own, in a row that is not atriggerorno-triggerrow, that lists the tool underneveror, in aconfirmrow, calls it. A case is the skill's own when its row id starts with the skill's name or the case loads the skill or dispatches the agent. An agent that names a write tool also needs aconfirmrow and anunattendedrow. The check proves the rule on sample inventories. - Planned skills.
evals/planned-skills/holds a stand-inSKILL.mdfor each skill that is planned but not built, so collision rows can test the boundary before it exists. The build fails once a real skill of the same name lands, so delete its stand-in then. - Expected failures.
evals/expected-failures.txtlists the rows that fail today, one per line: the row id, the unit of work that fixes it, and why. A listed row may fail. The run fails when an unlisted row misses its bar, when every case of a listed row passes (remove its line), or when a case did not run.
Run the suite from the repo root with Claude Code credentials in your environment (a signed-in session, ANTHROPIC_API_KEY, or your cloud provider's variables):
scripts/evals.py run # the whole suite
scripts/evals.py run --rows 'T1*' 'deals-crm/*' --runs 1 # some rows, one run each
scripts/evals.py run --out /tmp/evals --keep-temp # keep the report, results and every trace
scripts/evals.py gate /tmp/evals/results.json # gate a results file again
run prints one line per row, the cost and the token counts, and writes an HTML report under --out. A full run measured locally cost about $41 at list prices, took about 14 minutes at the default concurrency of 8, and used about 38 million input tokens (8.5 million uncached, 29.2 million read from cache) and 0.4 million output tokens. --max-cost-usd (default 80) stops a run that costs more.
CI does not run the suite on pull requests or pushes, because a full run costs about $41. A maintainer starts it by hand: the evals workflow (.github/workflows/evals.yml) runs only on workflow_dispatch, with the key from the repository secret ANTHROPIC_API_KEY. It fails, naming the secret, when the secret is not set.
gh workflow run evals.yml -R ActiveCampaign/activecampaign-plugin --ref <branch>
gh run list -R ActiveCampaign/activecampaign-plugin --workflow evals.yml --limit 1
GitHub only offers a dispatch for a workflow file that exists on the default branch, so this works once evals.yml is on main, for any branch of this repo as --ref. The run uploads the results and report as the eval-results artifact. The skills job still runs scripts/evals.py check on every pull request and every push to main; it builds the suite without a model call.
scripts/export-openai.sh builds dist/activecampaign-chatgpt.zip and its .sha256 from this repo alone, with the version taken from the root plugin.json. The same commit always builds the same bytes. The export drops the Claude-only keys listed in scripts/claude-only-keys.txt from each SKILL.md, since the export's frontmatter validator allows only name, description, license, allowed-tools, and metadata. The check also builds the fixture skills in tests/openai-export, which set every one of those keys, and applies the same rules to them. A manual-only skill's policy.allow_implicit_invocation: false is merged into the policy block its openai/<skill>.yaml already has, and the export refuses a skill whose yaml sets it to anything else (tests/openai-export-conflict).
Every push to main that passes the checks rebuilds the zip and publishes it to the chatgpt-latest pre-release: activecampaign-chatgpt.zip and its .sha256. The release notes name the version, commit, and checksum. This is a rolling build of main, not a release: only a version you upload in the OpenAI platform reaches ChatGPT users.
Releases are manual, and the version is set by hand.
- Set
versionin the rootplugin.json, then runscripts/sync-manifests.sh. - Add a section for the version to
CHANGELOG.md, with its date, and move the[Unreleased]entries into it. - Merge to
mainwith the checks green. - Download the zip from the
chatgpt-latestlink above. Check that the release notes name your version and the merge commit. - Upload the zip in the OpenAI platform.
Claude Code installs come from Anthropic's claude-plugins-official entry for this plugin. That entry names a specific commit of this repo, and entries are submitted and managed at claude.ai/directory/manage, so a merge here doesn't change what Claude Code installs by itself.