ACQ CRM CLI Onboarding Back to Operations Guides
Repo-Native CLI

Share the ACQ CRM CLI through the repository, not as a copied local script.

The ACQ CRM CLI is the terminal command surface for Codex and teammate-driven CRM work. Everyone should use the same committed CLI from GitHub so the command behavior, approval rules, and safety controls stay consistent across machines.

Best Distribution Model

Share through GitHubClone the repo, install dependencies, and run the `npm run crm:*` commands from the committed codebase.

Safety Model

Draft-first where neededEmail and SMS flows still respect the same draft-first and approval-sensitive behavior as the live app.

Required Access

Before someone can use the CLI reliably, they need the same repo and environment context as the app.

RequirementDescription
GitHubAccess to https://github.com/andi-c-ops/acquira-crm.
CRM accountA valid ACQ CRM user account at https://crm.acquira.co.
EnvironmentA securely provisioned .env.local with the protected values needed for live CLI work.
GmailA connected CRM Gmail account if the teammate will draft or send email through the CLI.

Teammate Setup

These are the steps Dante and Nathan should follow on their own machines.

1
Clone the repo

git clone https://github.com/andi-c-ops/acquira-crm.git

2
Install dependencies

Run npm ci so the CLI uses the same dependency tree as the repo.

3
Load approved secrets

Receive the approved .env.local values through the team’s secure secret-sharing path.

4
Verify the CLI

Run npm run crm:help and confirm the command surface loads correctly.

5
Read the core docs

Review README.md, docs/cli-onboarding.md, and docs/change-management-protocol.md. Use docs/archive/README.md only if you need older planning or onboarding context.

Command Guidance

Use these buckets to decide what teammates should run first and what still needs explicit intent.

Day-One Approved Commands

  • npm run crm:help
  • npm run crm:contact -- --query "Name"
  • npm run crm:report -- --range week --json
  • npm run crm:task-count -- --user-email <user@acquira.com> --status OPEN --json
  • npm run crm:nl -- "..." --dry-run --json

Commands That Need Intentional Review

  • crm:email because it writes draft state in the Codex session workflow
  • crm:sms because it writes draft state in the Codex session workflow and must preserve compliance
  • crm:send-draft because it can trigger a real outbound send from the Codex session workflow
  • crm:update-contact, crm:update-opportunity, crm:create-task, and crm:update-task because they perform live CRM writes
  • crm:gmail-backfill-write because it is a production write-mode import

Sharing Rules

These are the guardrails that keep the CLI usable across teammates and prevent drift.

RuleDescription
Do not send local copiesShare the CLI through GitHub, not by copying scripts/crm-command.mjs between machines.
Do not share secrets in chatProvision .env.local through the approved secure path.
Keep Git cleanTeammates should work from a clean branch and keep local repo state aligned with origin/main.
Verify live state firstFor production-sensitive work, confirm repo, deploy, and integration state before changing anything.
Keep docs alignedIf the CLI behavior changes, update the implementation, README, and supporting docs in the same pass.
Suggested share message

The ACQ CRM CLI is now available through the ACQ CRM repo. Please use the repo version only, not copied local scripts. Start with npm ci, load the approved .env.local, run npm run crm:help, and review the onboarding docs before doing write actions.