# Compose wp

> Compose wp is an open-source agent skill for developer tools. Lets an agent run WordPress Docker Compose stacks through the project's bin/ scripts. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/hekivo/kivo-wise/tree/main/plugins/kivo-wise/skills/compose-wp
- **Repository:** https://github.com/hekivo/kivo-wise
- **GitHub stars:** 14
- **License:** MIT
- **Skill name:** compose-wp
- **Collection:** https://github.com/hekivo/kivo-wise
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill guides an agent through the Docker Compose environment of a WordPress project that uses the kivo-wp contract generated by wp-kit. It routes WP-CLI, Acorn, Composer and Node commands through the bin/ scripts instead of host binaries, and it explains which lifecycle command applies after a change, such as up, restart, build or down.

The workflow starts by reading compose.yaml and any personal override, then checks which services are running before any command. It covers database import and export, log reading, and health checks, and it separates stopped stacks from broken ones. Destructive steps such as deleting a database volume or replacing a database require the user's consent first.

TLS and host names differ between contract versions: contract 1 serves each project on *.localhost through a Caddy proxy, while contract 2 uses one machine-wide router with a domain. The skill includes a symptom table for port clashes, certificate trust, devcontainer and cloud session problems. It expects Docker Engine or Docker Desktop with Compose v2 and a project with the wp-kit bin/ scripts.

## When your agent uses it

> Use when the question is about the Docker Compose environment of a WordPress project (runner compose, the kivo-wp contract generated by wp-kit) - running WP-CLI, Acorn, Composer and Node through the bin/ scripts, start vs up vs restart vs rebuild vs down, editing compose.yaml or the personal override, database import and export, TLS and host names (*.localhost on contract 1, the global router on contract 2), ports 80 or 443 already in use, docker not found in an editor devcontainer, cloud agent sessions, logs. For Lando projects use lando-wp; for running tests use testing-wp; for the Vite dev server use tailwind-vite-assets; for project detection use roots-triage.

## What it can access

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

- [Instructions only, no scripts](https://github.com/hekivo/kivo-wise/tree/HEAD/plugins/kivo-wise/skills/compose-wp)
- [License: MIT](https://github.com/hekivo/kivo-wise/tree/HEAD/plugins/kivo-wise/skills/compose-wp)

## Features

- **Script-based command routing:** Runs WP-CLI, Acorn, Composer and Node through the project's bin/ wrappers inside the containers.
- **Lifecycle command selection:** Explains when to use up, restart, build or down after a configuration or code change.
- **Database import and export:** Covers bin/db-import, bin/db-export and database shell access, with a warning before replacing data.
- **TLS and host name setup:** Distinguishes the two kivo-wp contract versions and how each serves local HTTPS sites.
- **Port and certificate troubleshooting:** Offers a symptom table for taken ports, untrusted certificates and devcontainer Docker errors.
- **Health and log checks:** Describes how to read service health, container logs and debug.log to diagnose a stack.

## Good for

- Run WP-CLI commands against a Docker Compose WordPress site
- Restart a service after a configuration change without losing data
- Import a database dump into the local WordPress stack
- Fix a port 443 conflict when starting a WordPress project
- Find out why the local site shows a certificate warning
- Read container logs to debug a WordPress error

## Install

### Claude Code

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

```sh
/plugin marketplace add hekivo/kivo-wise
/plugin install kivo-wise@kivo-wise
```

Or copy only this skill to `~/.claude/skills/compose-wp`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/compose-wp &&
cp -R "$tmp/plugins/kivo-wise/skills/compose-wp" ~/.claude/skills/compose-wp &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/compose-wp &&
cp -R "$tmp/plugins/kivo-wise/skills/compose-wp" ~/.agents/skills/compose-wp &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/compose-wp &&
cp -R "$tmp/plugins/kivo-wise/skills/compose-wp" ~/.cursor/skills/compose-wp &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/compose-wp` 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/hekivo/kivo-wise.git --path plugins/kivo-wise/skills/compose-wp
```

Or copy the folder to `~/.gemini/skills/compose-wp` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/compose-wp &&
cp -R "$tmp/plugins/kivo-wise/skills/compose-wp" ~/.copilot/skills/compose-wp &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/hekivo/kivo-wise.git
```

Then copy `kivo-wise/plugins/kivo-wise/skills/compose-wp` into your agent's skills folder as `compose-wp`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which projects is Compose wp for?

Projects whose runner is Docker Compose and that use the kivo-wp contract generated by wp-kit, with a root compose.yaml and bin/ scripts. Lando projects are handled by a different skill.

### Does Compose wp delete data?

Only with the user's consent. Commands such as bin/down --volumes and bin/db-import are listed as destructive, and the skill asks for confirmation before running them.

### Can the agent edit the personal override file?

The skill says the hooks deny edits to the gitignored override, so the agent proposes the change to the user instead.

### What does Compose wp need on the host?

Docker Engine or Docker Desktop with Compose v2, and a project with the wp-kit bin/ scripts. Production hosts and CI pipelines are out of scope.

### How do I install Compose wp in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/compose-wp to use it in all your projects, or to .claude/skills/compose-wp in one project. Or install the kivo-wise plugin, which includes it: /plugin marketplace add hekivo/kivo-wise, then /plugin install kivo-wise@kivo-wise.

### Does Compose wp run scripts?

No. It is instructions only, with no 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 Compose wp?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Compose wp?

The closest alternatives to Compose wp are Wp composer plugins, Wp performance, Lando wp, Acorn stack and Testing wp.

## Where this comes from

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

## Alternatives

- [Wp composer plugins](https://ai-powered.com/skills/wp-composer-plugins): Wp composer plugins is an open-source agent skill for developer tools.
- [Wp performance](https://ai-powered.com/skills/wp-performance): Wp performance is an open-source agent skill for developer tools.
- [Lando wp](https://ai-powered.com/skills/lando-wp): Lando wp is an open-source agent skill for developer tools.
- [Acorn stack](https://ai-powered.com/skills/acorn-stack): Acorn stack is an open-source agent skill for developer tools.
- [Testing wp](https://ai-powered.com/skills/testing-wp): Testing wp is an open-source agent skill for developer tools.
- [Docker patterns](https://ai-powered.com/skills/docker-patterns): Docker patterns is an open-source agent skill for developer tools.
- [Wp hooks lifecycle](https://ai-powered.com/skills/wp-hooks-lifecycle): Wp hooks lifecycle is an open-source agent skill for developer tools.
- [Wp REST API](https://ai-powered.com/skills/wp-rest-api): Wp REST API is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/compose-wp
