...
Official documentation

Use the CLI with Codex or Claude Code

Find saved information, then work with your agent.

What is installed, and where

CRM AIO v1.2.6 or later includes the native crm-aio-cli reader. Open the CRM after updating it before the first use. You do not need the development repository.

The crm-aio-patient skill is an instruction guide for the agent, distributed on GitHub. It can be updated without rebuilding the CRM. It does not replace the reader bundled with the app.

Use Codex or Claude Code on the computer containing the CRM and its database. A cloud agent does not automatically have access to your computer.

Install the skill

The npx installer requires Node.js 22.20 or later and an Internet connection. Run this in a terminal:

npx skills@1.7.4 add AIO-ME/AIO-CRM-release --skill crm-aio-patient --agent codex claude-code

Without another option, installation applies to the current project. For all your projects, add --global:

npx skills@1.7.4 add AIO-ME/AIO-CRM-release --skill crm-aio-patient --agent codex claude-code --global

Keep only codex or claude-code if you use just one agent. Follow the installer’s choices; global installation places the guide in your user profile, rather than in the CRM database.

Make a first request

In your local agent, try:

Use the crm-aio-patient skill to find my fictitious patient “Camille Example” and summarise their last two sessions, excluding AI interpretations.

The skill reuses the reader’s existing profile. If none exists, it guides the agent through finding the CRM installation and metadata on macOS or Windows, then configuring the database it found. If several databases or installations exist, the agent asks you to choose before reading a record.

The selected path is saved in the CLI’s local configuration, never in the shared skill. For a permissions or compatibility error, the agent should explain the problem rather than switch to a different record store.

What the reader supports

ReadScope

Find a patient

Search by name without immediately opening the whole record. Namesakes must be distinguished.

Read sessions

A dated list, then the necessary sessions and their linked elements.

Read the record

Structured information, assessments and follow-up. Collections are paginated; the agent continues through the relevant pages.

Work on a proposal

The result is written in the conversation. The reader does not edit the record.

AI interpretations: excluded by default

By default the reader omits stored interpretation fields, as well as generated workshop questions, formulations and summaries. Explicitly request them if needed; the agent can then use --include-ai when reading a record or session in detail. Contact information separately requires --include-contact on the record.

Free-form notes may already contain accepted or pasted AI text. The filter therefore cannot certify the origin of every sentence and does not anonymise the output.

Read-only does not mean all processing stays local

The CLI does not modify the database or make network calls to read it. Excerpts provided to your agent are then handled under that provider’s terms. Limit reading to the task at hand rather than sending a complete record by default.

Limits to know

The reader sees the latest saved state, rather than drafts. It does not expose attachment bytes or billing and does not provide a complete backup. It refuses incompatible schemas or formats without repairing them and offers no arbitrary SQL. Stop reads during a complete restore and resume after the CRM restarts.

For technical use, crm-aio-cli --help lists commands. The macOS/Windows setup procedure details installation discovery and permissions troubleshooting.