Skip to content
Skill

Compose wp

Lets an agent run WordPress Docker Compose stacks through the project's bin/ scripts

Compose wp is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
14
Last commit
License
MIT
Listing updated

Similar skills

About Compose wp

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 7 files (42 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Compose wp 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.

More from hekivo/kivo-wise

  1. Writes approved design plans as WordPress block markup and scaffolds missing blocks

    • Open source
    • 14 GitHub stars
    • Developer tools
  2. Maps Figma components to project code blocks through Code Connect, with approval first

    • Open source
    • 14 GitHub stars
    • Design and media
  3. Turns a Figma frame, HTML file or URL into a WordPress page on the Roots stack

    • Open source
    • 14 GitHub stars
    • Developer tools
  4. Turns a Figma frame into neutral section specs for kivo-creator via the Figma MCP server

    • Open source
    • 14 GitHub stars
    • Design and media
  5. Turns an HTML file or URL into kivo-creator section specs with reference screenshots

    • Open source
    • 14 GitHub stars
    • Developer tools
  6. Maps design sections to a project's existing blocks before any code is generated

    • Open source
    • 14 GitHub stars
    • Developer tools