# Craft cloud

> Craft cloud is an open-source agent skill for databases. Guides an agent through Craft Cloud config, deploys, caching, and Cloud-specific limits. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/michtio/craftcms-claude-skills/tree/main/skills/craft-cloud
- **Repository:** https://github.com/michtio/craftcms-claude-skills
- **GitHub stars:** 91
- **License:** MIT
- **Skill name:** craft-cloud
- **Collection:** https://github.com/michtio/craftcms-claude-skills
- **Categories:** [databases](https://ai-powered.com/categories/databases), [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill gives an agent a reference for running Craft CMS on Pixel & Tonic's serverless Craft Cloud platform. It explains how platform settings in craft-cloud.yaml differ from runtime environment variables set in the Cloud console, and walks through the Build, Migrate and Release deploy pipeline with its time caps.

It covers edge image transforms, static caching rules and ESI islands, the Cloud S3 filesystem, supported database versions, the console command runner and scheduled cron, and custom domains with per-branch preview environments. It also lists the platform's constraints, such as the ephemeral filesystem, missing SSH and .htaccess support, and the lack of built-in mail, along with guidance for moving a self-hosted site across.

The skill runs a bash script to report the project's Craft version and expects a Craft CMS codebase, and the agent reads topic-specific reference files as needed.

## When your agent uses it

> Craft Cloud, Pixel & Tonic's serverless hosting platform for Craft CMS. Covers craft-cloud.yaml, the Build → Migrate → Release deploy pipeline, the craftcms/cloud extension, edge transforms and static caching (cache.rules, ESI), the Cloud S3 filesystem, MySQL 8 / Postgres 15 (no MariaDB, no tablePrefix), the Console command runner and scheduled cron, queue jobs, custom domains, preview environments per branch, limits (ephemeral filesystem, no SSH, no .htaccess, no built-in mail), Cloud-compatible plugins, and self-hosted → Cloud migration.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs shell scripts](https://github.com/michtio/craftcms-claude-skills/tree/HEAD/skills/craft-cloud)
- [Asks for: Bash(sh ${CLAUDE_SKILL_DIR}/scripts/craft-version.sh)](https://github.com/michtio/craftcms-claude-skills/blob/HEAD/skills/craft-cloud/SKILL.md)
- [No network calls found in its scripts](https://github.com/michtio/craftcms-claude-skills/tree/HEAD/skills/craft-cloud)
- [License: MIT](https://github.com/michtio/craftcms-claude-skills/tree/HEAD/skills/craft-cloud)

## Features

- **Cloud config file:** Covers craft-cloud.yaml keys for PHP and Node versions, build output, caching rules, redirects and rewrites.
- **Deploy pipeline guidance:** Explains the Build, Migrate and Release stages, build-time versus runtime variables and artifact URLs.
- **Edge caching and ESI:** Describes static caching rules, cookie variation for logged-in users and ESI islands inside cached pages.
- **Platform limits:** Lists ephemeral storage, missing SSH and mail, upload and request caps, and unsupported features.
- **Database and migration:** Covers supported MySQL and Postgres versions, table prefix restrictions and moving a self-hosted site to Cloud.
- **Cloud-compatible plugins:** Provides a checklist for making plugins work with ephemeral filesystems, queues and cookie-free caching.

## Good for

- Set up craft-cloud.yaml with the PHP and Node versions my project needs
- Figure out why a plugin's file writes disappear on Craft Cloud
- Add a cached page that includes a personalized ESI island
- Move a self-hosted Craft site and its assets over to Craft Cloud
- Schedule an hourly command or run a one-off console command on Cloud
- Set up a custom domain and preview environments for a branch

## Install

### Claude Code

This skill ships in the `craftcms-claude-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add michtio/craftcms-claude-skills
/plugin install craftcms-claude-skills@craftcms-claude-skills
```

Or copy only this skill to `~/.claude/skills/craft-cloud`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/craft-cloud &&
cp -R "$tmp/skills/craft-cloud" ~/.claude/skills/craft-cloud &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/craft-cloud` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/craft-cloud` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/craft-cloud &&
cp -R "$tmp/skills/craft-cloud" ~/.agents/skills/craft-cloud &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/craft-cloud` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/craft-cloud` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/craft-cloud &&
cp -R "$tmp/skills/craft-cloud" ~/.cursor/skills/craft-cloud &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/craft-cloud` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/michtio/craftcms-claude-skills.git --path skills/craft-cloud
```

Or copy the folder to `~/.gemini/skills/craft-cloud` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/craft-cloud`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/craft-cloud &&
cp -R "$tmp/skills/craft-cloud" ~/.copilot/skills/craft-cloud &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/craft-cloud` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git
```

Then copy `craftcms-claude-skills/skills/craft-cloud` into your agent's skills folder as `craft-cloud`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Craft cloud need to run?

It runs a bash script to read the project's Craft version, so the agent needs a shell and a Craft CMS project. It is aimed at sites deployed on Craft Cloud.

### Which database versions does Craft Cloud support?

The skill lists MySQL 8.0 and Postgres 15, and notes that MariaDB and table prefixes are not supported.

### Can I run cron jobs more often than hourly on Cloud?

No. The skill states scheduled cron runs hourly at most, and recommends queue jobs triggered by events for more frequent work.

### Does the skill work with other hosts like Servd or fortrabbit?

No. The skill is scoped to Craft Cloud only and points to separate skills for Servd and fortrabbit.

### How do I install Craft cloud in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/craft-cloud to use it in all your projects, or to .claude/skills/craft-cloud in one project. Or install the craftcms-claude-skills plugin, which includes it: /plugin marketplace add michtio/craftcms-claude-skills, then /plugin install craftcms-claude-skills@craftcms-claude-skills.

### Does Craft cloud run scripts?

Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Craft cloud?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Craft cloud?

The closest alternatives to Craft cloud are Servd, Craftcms, Qdrant managed cloud quickstart, Cloud run basics and Cloudflare pages stale assets.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Servd](https://ai-powered.com/skills/servd): Servd is an open-source agent skill for developer tools.
- [Craftcms](https://ai-powered.com/skills/craftcms): Craftcms is an open-source agent skill for developer tools.
- [Qdrant managed cloud quickstart](https://ai-powered.com/skills/qdrant-managed-cloud-quickstart): Qdrant managed cloud quickstart is an open-source agent skill for knowledge and memory.
- [Cloud run basics](https://ai-powered.com/skills/cloud-run-basics): Cloud run basics is an open-source agent skill for cloud and infrastructure.
- [Cloudflare pages stale assets](https://ai-powered.com/skills/cloudflare-pages-stale-assets): Cloudflare pages stale assets is an open-source agent skill for cloud and infrastructure.
- [Agents SDK](https://ai-powered.com/skills/agents-sdk): Agents SDK is an open-source agent skill for developer tools.
- [Cloud build basics](https://ai-powered.com/skills/cloud-build-basics): Cloud build basics is an open-source agent skill for cloud and infrastructure.
- [Craft plugin release](https://ai-powered.com/skills/craft-plugin-release): Craft plugin release is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/craft-cloud
