xaffinity-cli-usage

Executes xaffinity CLI commands to query and export data from CRM entities.

1|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/yaniv-golan/affinity-sdk --skill xaffinity-cli-usage-yaniv-golan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xaffinity-cli-usage
Source: https://github.com/yaniv-golan/affinity-sdk/tree/main/plugins/xaffinity-cli/.claude-plugin/skills/xaffinity-cli-usage
Command: npx skills add https://github.com/yaniv-golan/affinity-sdk --skill xaffinity-cli-usage-yaniv-golan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides clear, actionable guidance for using the xaffinity CLI to search, retrieve, export, and list Affinity CRM data from the command line, reducing manual toggling between UI and CLI.

Core Features & Use Cases

  • CLI guided workflows for common tasks such as searching for people or companies, retrieving records by ID or email, and exporting lists to CSV.
  • Safety-first conventions including mandatory --readonly and --json flags, and a strict confirmation flow for destructive actions to prevent data loss.
  • Use-case examples covering read operations, exports, and workflow automation across entities like people, companies, opportunities, and lists.

Quick Start

Run an xaffinity command to list all contacts in JSON format by default.

Frequently Asked Questions about xaffinity-cli-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export Affinity CRM data to CSV from the command line?

Search Affinity CRM records by email or ID from the command line using xaffinity CLI lookup workflows. The CLI supports retrieving specific person, company, and opportunity records directly without manual UI interaction.

What is the safest way to run xaffinity CLI commands for Affinity data?

Automate Affinity CRM data retrieval workflows using the xaffinity CLI to search, get, and list records across entities. The CLI supports command-line automation for people, companies, opportunities, and lists with JSON output formatting.

Can I retrieve Affinity opportunity and list records using a CLI?

Yes, you can search and retrieve Affinity person and company records using the xaffinity CLI. It provides dedicated command workflows to query these entities directly from the command line and output results in JSON format.

How do I search Affinity CRM contacts from the terminal?

To prevent data loss when using the xaffinity CLI, adhere to safety-first conventions by applying the --readonly flag for data retrieval and enforcing explicit confirmation for destructive actions. The CLI recommends --readonly and --json by default.