> For the complete documentation index, see [llms.txt](https://developer.celigo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.celigo.com/cli/using-the-cli/skills.md). Agents can also search and read this documentation through its [MCP server](https://developer.celigo.com/~gitbook/mcp).

# AI assistant skills

Give your AI coding assistant grounded knowledge of integrator.io. Skills are domain-specific guides an assistant loads on demand. Ask Claude Code, Cursor, or Windsurf to "build a Shopify to NetSuite flow" or "debug this stuck job," and the assistant reads the relevant skill's workflow guidance and field schemas instead of guessing.

## Installing skills

Skills live in the public `celigo/ai` repository, and the CLI installs them through the official `skills` CLI. Install them yourself with `celigo skills install`, or let the CLI install them in the background. If you use Claude Code, Cursor, Codex, or Grok Build, you can install the Celigo plugin instead. See [Install the Celigo plugin](#install-the-celigo-plugin).

Without `--global`, skills install into the current project's agent directory. If you are not working inside a project, add `--global`. You do not need a git repository.

### `celigo skills install`

```bash
celigo skills install                      # detect your agents, prompt for a selection
celigo skills install --global --all --yes  # every skill, every detected agent, no prompts
celigo skills install --list                # show the catalog without installing
celigo skills install --skill building-flows --skill writing-sql
celigo skills install --agent claude-code
celigo skills install --copy                # copy files instead of creating symlinks
```

| Flag                      | Purpose                                                                                                 |
| ------------------------- | ------------------------------------------------------------------------------------------------------- |
| `-g, --global`            | Install for the current user rather than the current project.                                           |
| `-a, --agent <agents...>` | Install for specific agents only. Repeatable.                                                           |
| `-s, --skill <skills...>` | Install specific skills only. Repeatable.                                                               |
| `-l, --list`              | List the available Celigo skills and exit without installing.                                           |
| `--copy`                  | Copy the skill files instead of creating symlinks. Use this when your tooling does not follow symlinks. |
| `-y, --yes`               | Skip the installer's confirmation prompts.                                                              |
| `--all`                   | Install every skill for every detected agent.                                                           |

### `celigo skills list`

```bash
celigo skills list              # everything the skills CLI has installed
celigo skills list --global     # globally installed only
celigo skills list --agent cursor
```

### `celigo skills update`

```bash
celigo skills update building-flows writing-sql   # update the skills you name
celigo skills update building-flows --global      # the globally installed copy only
celigo skills update building-flows --project     # the project-installed copy only
celigo skills update --all-installed              # every installed skill, other publishers' included
```

Name the skills to update, or pass `--all-installed`, which updates every skill the skills CLI manages, including skills from other publishers. `celigo skills update` with neither is refused: `Name one or more skills to update, or pass --all-installed to update every installed skill.`

### Background installation

Any `celigo` command can install skills in the background so an agent driving the CLI has them without a manual step. The check runs at most once every 24 hours and never blocks the command that triggered it. With no exclusions set, it installs the same skills as `celigo skills install --global --all --yes`.

Before installing anything, the background process reads the current commit of the public `celigo/ai` repository. It compares that commit against the one it last installed. Matching commits mean your skills are already current, so it installs nothing and prints nothing. Reading the remote commit needs `git` and network access; without either, it installs without the comparison. When it does install, it prints one line on stderr naming the opt-outs.

Since celigo-cli 2026.10.1, the background install runs `npx` from your home directory, never from the directory you ran `celigo` in, so a project's `.npmrc` cannot choose the registry or the package it runs. Neither the background install nor `celigo skills` passes the CLI's API tokens (`CELIGO_API_TOKEN`, `CELIGO_TARGET_API_TOKEN`) to `npx`. `celigo skills` itself runs `npx` in the current directory, because a project install goes there. On Windows, both start `npx.cmd` through the shell with one quoted command line, so an argument holding a space stays one argument. Since celigo-cli 2026.11.2, `celigo skills` on Windows runs the `npx.cmd` on `PATH`, never one in the current directory.

The background install is skipped in these cases:

* The command is `celigo skills …` or `celigo config …`, so an explicit install or opt-out is never raced.
* The CLI detects a CI environment.
* The last check was less than 24 hours ago.
* The `celigo/ai` commit already installed has not changed, and neither has your exclusion list.

## Opting out

Two settings turn the background install off, and one narrows it:

```bash
# One run, or one shell session
export CELIGO_NO_SKILLS_INSTALL=1

# Persistent, machine-wide
celigo config set skills_auto_install false

# Keep the background install, but never install these
celigo config set skills_auto_install_exclude writing-sql,writing-handlebars
celigo config unset skills_auto_install_exclude     # clear the list
```

`skills_auto_install` and `skills_auto_install_exclude` are machine-wide, not per profile — one CLI installation serves every profile. See [Configuration reference](https://developer.celigo.com/cli/getting-started/configuration.md).

Clear the exclusion list with `celigo config unset` (since celigo-cli 2026.10.1). `config set` refuses an empty value, because an unset shell variable produces the same empty string, so `config set skills_auto_install_exclude ""` is refused:

```
The <value> argument is empty. Provide a non-empty value (this usually means a shell variable was unset). To clear a key, run: celigo config unset <key>.
```

See [config](https://developer.celigo.com/cli/commands/config.md).

### Excluding individual skills

`skills_auto_install_exclude` is the durable way to keep a skill off your machine. Deleting the skill's files is not durable on its own. The background install cannot tell a deliberate deletion from a half-finished one. It restores the skill the next time `celigo/ai` changes. Name the skill in the setting, delete its files once, and it stays gone.

The setting narrows the background install, not the CLI:

* A non-empty list makes the background install request every other skill by name, rather than all of them. Its stderr notice reports what it skipped.
* Naming the rest requires the skill list from `celigo/ai`. An unreadable list, or one that excludes every skill, means the background install skips that run. It retries the next day.
* Changing the list takes effect at the next daily check, even when `celigo/ai` has not moved.
* An explicit `celigo skills install` ignores the setting. It governs the background install, not what you install on purpose. `--all` still means all.

## Install the Celigo plugin

The `celigo/ai` repository is also a native plugin for Claude Code, Cursor, Codex, and Grok Build. The plugin bundles all of the skills and the Celigo Platform MCP server. For Cursor and Claude Code it also adds slash commands such as `/celigo-troubleshoot`. The MCP server signs in with OAuth the first time an agent uses it, so you need no API token.

### Claude Code

In the Claude Code app or with the `claude` CLI, run:

```
/plugin marketplace add celigo/ai
/plugin install celigo@celigo
```

When you install the plugin in the app, Claude Code asks for your Celigo region. Enter your region's API host: `api.integrator.io` for US, `api.eu.integrator.io`, `api.au.integrator.io`, or `api.ca.integrator.io`. From a terminal, pass the host when you install:

```bash
claude plugin install celigo@celigo --config api_host=api.eu.integrator.io
```

To change the region later, run `/plugin configure celigo@celigo`.

Claude Code keeps the plugin's skills in the plugin's own folder, not in `~/.claude/skills/`. It lists them under the plugin's name, for example `celigo:building-flows`.

The plugin and `celigo skills install` are independent. With both in place, Claude Code lists each skill twice: `building-flows` from `~/.claude/skills/` and `celigo:building-flows` from the plugin. To use the plugin alone:

1. Turn off the background install with `celigo config set skills_auto_install false`. See [Opting out](#opting-out).
2. Delete the Celigo skills from `~/.claude/skills/`.

### Cursor

The plugin is in the Cursor Marketplace. See [Connect Cursor](https://developer.celigo.com/mcp/connect/cursor) for the steps.

### Codex

Add the marketplace from a terminal:

```bash
codex plugin marketplace add celigo/ai
```

Then install **celigo** from the Plugins Directory in the ChatGPT desktop app.

The Codex plugin connects to the US endpoint only. For another region, or to connect only the MCP server, add the server by hand. See [Connect Codex](https://developer.celigo.com/mcp/connect/codex).

### Grok Build

```bash
grok plugin install celigo/ai --trust
```

`--trust` lets the plugin's MCP server run.

## Where skills are installed

The skills CLI writes into whichever agent directories it detects:

| Assistant   | Global install path           | Local (per-project) path      |
| ----------- | ----------------------------- | ----------------------------- |
| Claude Code | `~/.claude/skills/`           | `<project>/.claude/skills/`   |
| Cursor      | `~/.cursor/skills/`           | `<project>/.cursor/skills/`   |
| Windsurf    | `~/.codeium/windsurf/skills/` | `<project>/.windsurf/skills/` |

Each entry is named for the skill itself, for example `building-flows`.

> **Upgrading from celigo-cli 2026.6.1 or earlier.** Those releases installed skills through an npm `postinstall` hook, under names prefixed `npm-celigo-cli-`. That hook is gone. The prefixed directories are left in place and are not updated, so delete them once `celigo skills list` shows the current skills.

### Skills with the same name

The skills CLI keeps one skill per name in each directory, and Celigo's skill names carry no `celigo` prefix. When two publishers ship a skill with the same name, the one installed last replaces the other. The installer marks this with one `overwrites:` line in its installation summary. Its confirmation prompt does not mention the replacement, and with `--yes` there is no prompt.

The background install replaces a same-named skill in the same way, and it does not show the installer's summary. To keep another publisher's skill under a name that Celigo also uses, add the name to `skills_auto_install_exclude`. See [Excluding individual skills](#excluding-individual-skills).

In Claude Code, the [Celigo plugin](#install-the-celigo-plugin) avoids the shared directory. Its skills are listed as `celigo:<name>`, and installing another skill named `building-flows` into `~/.claude/skills/` leaves the plugin's copy unchanged.

## How they work

Each skill directory contains:

* **`SKILL.md`** — a workflow guide the assistant reads when the skill triggers. It describes the task scope, the build order, common pitfalls, and concrete examples.
* **`references/`** — OpenAPI-derived field schemas in YAML for the resources the skill touches, so the assistant writes JSON that validates against integrator.io.

The assistant selects one or more skills based on your question, loads each `SKILL.md`, and uses the schemas to produce valid configuration. Asking to set up an HTTP export with a delta cursor pulls in `configuring-exports` and `writing-handlebars`.

## What ships

`celigo skills install --list` prints the current catalog. The skills below are what `celigo/ai` publishes today.

**Orientation and administration**

* `getting-started` — core concepts, build order, and which skill to use for each task. Start here when a task is unclear or you're new to Celigo.
* `troubleshooting-flows` — diagnose flow failures: total failures, partial errors, stuck jobs, empty runs, performance issues.
* `managing-users` — invite users, update permissions, configure access levels, enforce MFA/SSO, disable accounts.
* `managing-integrations` — organize, clone, promote, and version integrations, including Integration Lifecycle Management revisions and snapshots.
* `managing-api-tokens` — create, scope, rotate, revoke, and delete API tokens and personal access tokens.
* `managing-stacks` — decide whether you need a stack, choose between `server` and `lambda`, and point a hook at one.
* `managing-on-premise-agents` — connect to systems behind a firewall, install and pair an agent, rotate its token.
* `managing-end-users` — MCP end users, groups, roles, and capability grants.
* `managing-file-storage` — Celigo Storage files and folders, Storage Query, and the hosted SFTP server for partners.
* `managing-network-policies` — IP allow and deny lists for API tokens, MCP servers, and sign-in.
* `using-marketplace-templates` — find, install, and reuse Marketplace templates and Integration Apps.

**Build**

* `building-flows` — pipelines that move data from source to destination on a schedule or in response to events. Covers scheduling, chaining, error management, and abstract/instance templating.
* `building-apis` — custom HTTP endpoints that let external systems push or query data synchronously through Celigo.
* `building-tools` — reusable building blocks that encapsulate lookups, imports, transforms, and branching behind input/output contracts.
* `building-mcp-servers` — MCP endpoints that expose Tools and builder-mode APIs to external AI agents and MCP clients.
* `building-b2b` — B2B Manager EDI integrations: trading partner onboarding, EDI profiles, file definitions, X12/EDIFACT flow patterns.
* `building-syncs` — Data Ingestion syncs: replicate application tables into a data warehouse, with backfill and schema drift handling.

**Configure**

* `configuring-connections` — credentials and configuration objects that authenticate to external systems. Auth methods, OAuth, iClients.
* `configuring-exports` — the data source step: choose adaptor type, set up delta/incremental syncs, webhooks, file transfers, lookups.
* `configuring-imports` — the destination step: choose adaptor type, mappings, lookups, upsert logic, AI agent and file imports.
* `configuring-lookup-caches` — in-memory key-value stores for fast lookups, dedup, cross-reference resolution, state tracking.
* `configuring-ai-agents` — LLM-powered flow steps that classify, extract, validate, or generate data. OpenAI, Gemini, BYOK.
* `configuring-guardrails` — safety and compliance checks: PII detection, content moderation, AI-based evaluation rules.
* `configuring-filters` — filter rules on exports, imports, and flow branches that control which records continue.
* `configuring-topics` — Event Streams topics: publish once, consume in several flows. Retention, messages, listener positions.

**Write**

* `writing-mappings` — field mappings and transforms: Mapper 2.0 (imports), Transformation 2.0 (exports), lookups, response mapping, Mapper 1.0.
* `writing-scripts` — Celigo JavaScript hook scripts: `preSavePage`, `preMap`, `postMap`, `postSubmit`, `postResponseMap`, filter, transform, branching, `handleRequest`.
* `writing-handlebars` — Handlebars template expressions for dynamic values in mappings, HTTP bodies, SQL queries, URIs, filters.
* `writing-sql` — SQL for RDBMS exports and imports across Snowflake, Postgres, MySQL, SQL Server, Oracle, BigQuery, Redshift.
* `writing-settings-forms` — settings forms that collect settings on integrations, flow groups, flows, exports, imports, connections, and iClients.

## Seeing what's installed

```bash
celigo skills list
celigo skills list --global
```

## Schema source of truth

Each skill's `references/schemas/` holds field schemas derived from the OpenAPI specs behind the API reference. Skills are published from the public `celigo/ai` repository, so `celigo skills update` picks up schema changes without a CLI upgrade. What your assistant reads in a skill reflects the current API.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.celigo.com/cli/using-the-cli/skills.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
