Docs / Agents, CLI and API

Claude Code plugin

Use checked procedures to install Datum, connect services, operate an instance, and answer reporting questions.

Overview

The Datum plugin gives Claude Code seven skills for installation and operation. Each skill verifies the result after each command. A failed check stops the procedure and reports the output.

The plugin manages servers, containers, connections, and reports through the terminal. The MCP server also gives agents access to members and the review queue. You can use both together.

Configure

The repository contains the plugin at deploy/claude-plugin. It has no marketplace entry yet.

Clone the repository. Start Claude Code with the plugin directory:

git clone https://github.com/OCMGR/ocmgr.git
claude --plugin-dir ./ocmgr/deploy/claude-plugin

--plugin-dir loads the plugin for that session only. Use the same option for each session that needs these skills.

Skills run the CLI through local Docker Compose, SSH to a server, or a built repository checkout.

Basics

The skills

Skill Purpose
deploy-droplet Installs Datum with TLS on Ubuntu 24.04 through SSH. Creates a workspace, API key, signed-in user, and agent connection.
deploy-local Starts local Docker Compose, runs doctor, and creates a workspace and key.
connect-sources Connects sources such as GitHub, Slack, Discourse, and CSV. Verifies each connection before import.
connect-sinks Configures sinks for HubSpot, Salesforce, Snowflake, Postgres, S3, and Google Sheets. Verifies, tests, enables, and backfills each sink.
operate Checks health and backup restoration, performs upgrades, starts optional event services, and diagnoses failures.
map-source Creates catalogue mappings from sample payloads or CSV headers. Validates sample round trips within a repository checkout.
community-metrics Answers questions with read-only SQL about activity, cohorts, reactivation, responsiveness, contributor progression, segments, organizations, and source mix.

Ask for what you want

Describe the task. Claude Code selects the relevant skill.

Example requests:

  • “Install Datum on my droplet at 203.0.113.10.”
  • “Connect our GitHub organization.”
  • “Check whether this instance has working backups.”
  • “Export our champions to HubSpot.”
  • “Create a mapping for this export.”

How skills request your input

Some actions require you, including provider approval, sign-in, and CRM authorization. The skill supplies the URL and instructions. It checks the result before continuing.

The sink skill explains external changes before making them. Verification creates a CRM property. A test writes one real record. A backfill writes every matching member.

The skill reports the backfill count before starting. Datum cannot undo these external changes.

FAQ

Does the plugin need the MCP server?

No. Skills use CLI commands. Connecting MCP additionally lets Claude Code read and change community records with your permissions.

Can I install it with claude plugin install?

Not yet. No marketplace entry exists. Load the repository’s plugin directory with --plugin-dir.

Will a skill keep going if a step fails?

No. Each step has a verification command. Failure stops the procedure and reports the output.