/agent-skills:cloudcannon-clifrom agent-skills
Helps use the CloudCannon CLI for logging in, managing sites, reading/writing hosted files, triggering builds, and inspecting form submissions. Covers local and remote commands.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
@cloudcannon/cli has two halves. The local half reads and writes files in the working directory and needs no account. The remote half talks to the CloudCannon API, needs credentials, and acts on live sites.
cloudcannon.config.yml — that is cloudcannon-configuration. This skill runs configure and validate; that skill owns what their output should say.cloudcannon dev is covered end to end by cloudcannon-dev-server, including the rebuild loop and the /__api surface.cloudcannon-sdk. It also owns the surface no command reaches: DAMs, backups, sync history and pulls, site scans, screenshots, provider connections, site.copy, site.delete.cloudcannon-visual-editing and cloudcannon-snippets.MUST confirm with the user before any command that writes to a hosted site.
Why: the remote half is not a sandbox. sites files commit pushes to the site's real git repository, sites rebuild starts a real build, and sites update-build-config changes how every future build runs. None of them prompt, and none are undone by re-running the command.
The read-only remote commands — every list, every get, every print-* — are safe to run unprompted.
| Half | Commands | Credentials | Acts on |
|---|---|---|---|
| Local | configure detect-*, configure generate, validate | None | Files in the working directory |
| Local | dev | None | A built output directory |
| Remote | orgs, sites, builds, inboxes, login/logout | Required | Live sites over the API |
MUST NOT assume a command is local because it reads rather than writes. sites files get reads, but reads it over the API from a hosted site.
Node 24 or newer (the current LTS). Install globally with npm i -g @cloudcannon/cli, or invoke with npx @cloudcannon/cli <command>.
# What commands exist, and what flags does one take
npx @cloudcannon/cli --help
npx @cloudcannon/cli sites files commit --help
# Local: generate and check a configuration
npx @cloudcannon/cli configure generate --auto --initial-site-settings
npx @cloudcannon/cli validate
# Remote: authenticate, then read
npx @cloudcannon/cli login
npx @cloudcannon/cli sites list
| File | Covers |
|---|---|
| SKILL.md (this file) | Routing, the local/remote split, the live-site rule |
| commands.md | The full command surface, and querying documentation.json for exact flags |
| authentication.md | Credential methods, their precedence, where they are stored, CI setup |
| editing-sessions.md | sites files — the staged-changes model, committing, discarding |
| troubleshooting.md | Symptom → cause → fix |
| Excuse | Reality |
|---|---|
| "I'll write out the flags for this command from memory." | Flags change between releases. Query documentation.json or run --help. See commands.md. |
| "Build settings can only be changed in the dashboard." | sites update-build-config changes them for an existing site. See commands.md § Changing build configuration. |
| "I uploaded the file, so the site has it." | An upload lands in an editing session, not the repository. It is not live until committed. See editing-sessions.md. |
| "The command printed nothing, so it failed." | Read commands print JSON to stdout and nothing else. An empty result is an empty array, not an error — check the exit code. |
"--site needs the UUID." | It accepts a name, ID, UUID, or domain. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub cloudcannon/agent-skills --plugin agent-skills11 skills in this plugin
/brainstormingStructured design dialogue before CloudCannon work that has more than one sensible answer — a migration's editability tradeoffs, how to model a collection or page builder, restructuring content or config, or an ambiguous "make this work with CloudCannon". Explores intent and constraints, then presents a design for approval before implementation. Not for single well-defined tasks, clear bug fixes, or a detailed spec./cloudcannon-bookshopUse when a CloudCannon site uses Bookshop — `*.bookshop.yml` files, `@bookshop/*` packages, `_bookshop_name` keys, `bookshop:live`, or `partial "bookshop"` calls or `{% bookshop %}` tags. Covers how Bookshop works, maintaining a site that stays on it, and migrating it to editable regions./cloudcannon-configurationUse when configuring a site for CloudCannon for any of the following. Download the JSON schemas before writing any configuration (see the top of SKILL.md).
- Setting up cloudcannon.config.yml or .cloudcannon/initial-site-settings.json - Generating a baseline with the CloudCannon CLI - Adding or modifying Collections, Inputs, Structures, or Select Data - Setting up Structures for Array and Object Inputs - Configuring Collection URLs - Scheduling builds to publish future-dated content (_schedule.txt) - Configuring a site in a monorepo, or several sites in one repository - Troubleshooting missing fields or Input types/cloudcannon-dev-serverUse when running a CloudCannon site locally with `cloudcannon dev` — starting the local editing loop so the user can edit in the CloudCannon editor and see the site rebuild, choosing the build command per SSG, and reading the `/__api` surface the server exposes./cloudcannon-sdkUse when calling the CloudCannon API from code — constructing a client, finding a site or organisation UUID, reading or writing files on a hosted site programmatically, triggering and inspecting builds, or reaching a CloudCannon endpoint the CLI has no command for (DAMs, backups, sync history, site scans, screenshots, provider connections, copying or deleting a site)./cloudcannon-snippetsUse when adding snippet support to a CloudCannon site, configuring MDX components (Astro, Next.js), MDC components (Nuxt Content), Hugo shortcodes or Eleventy shortcodes and includes for the Content Editor, debugging snippet round-trip issues, or setting up inline HTML snippets in markdown content.Other plugins' skills for the same job