# Acorn stack

> Acorn stack is an open-source agent skill for developer tools. Guides an agent through booting Acorn and wiring providers, config and caches in WordPress. 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/acorn-stack
- **Repository:** https://github.com/hekivo/kivo-wise
- **GitHub stars:** 14
- **License:** MIT
- **Skill name:** acorn-stack
- **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 covers how the Acorn Laravel-style framework starts up inside a WordPress setup, whether that is a Sage theme, an mu-plugin or a Radicle project root. It explains how the base path is determined, where service providers get registered for each profile, and how the register() and boot() phases should be split. It also lays out where a given piece of logic belongs, from plain WordPress hooks to container bindings, view composers and Blade components.

The skill includes a step to confirm the runtime facts before changing anything, using WP-CLI to print the base path and namespace and checking the Acorn command list. It then describes the cache layers Acorn keeps for config, routes, packages, compiled views and ACF Composer manifests, with the matching clear and rebuild commands, and warns that stale caches can make edits appear ignored.

It expects a working WordPress install with Acorn installed through Composer and WP-CLI available, with the runner commands adapted to the project's local environment. Its reference files cover providers, views and caches in more depth.

## When your agent uses it

> Use when changing how Acorn boots or is wired on a Sage theme, Acorn mu-plugin or Radicle root - Application::configure(), withProviders(), withRouting(), ACORN_BASEPATH, base_path(), provider register() vs boot(), where providers are registered (functions.php, config/app.php, composer.json extra.acorn.providers), config publishing, optimize:clear, "'acorn' is not a registered wp command". For generating providers, blocks or composers use acorn-scaffolding; for hook timing use wp-hooks-lifecycle; for unexplained breakage use roots-debugging.

## 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/acorn-stack)
- [License: MIT](https://github.com/hekivo/kivo-wise/tree/HEAD/plugins/kivo-wise/skills/acorn-stack)

## Features

- **Profile detection:** Identifies whether Acorn runs in a theme, mu-plugin or project root and adjusts paths accordingly.
- **Provider registration rules:** Explains where providers are listed and how register() and boot() responsibilities differ.
- **Base path and config:** Covers base_path(), storage locations and publishing config files only when they change.
- **Cache layer reference:** Maps each Acorn cache to its clear and rebuild commands and the order to run them in.
- **View composers and components:** Describes how view composers and Blade components are discovered and resolved.
- **Failure diagnosis table:** Lists common symptoms such as missing wp commands or ignored edits with likely causes and fixes.

## Good for

- Wire a new service provider into a Sage theme's functions.php
- Fix Acorn booting with the wrong base path inside a mu-plugin
- Figure out why a config change is not taking effect
- Clear and rebuild Acorn caches after changing views or ACF fields
- Decide whether logic belongs in a provider, composer or plain hook

## 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/acorn-stack`:

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

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

### Codex

Copy the skill folder to `~/.agents/skills/acorn-stack` 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/acorn-stack &&
cp -R "$tmp/plugins/kivo-wise/skills/acorn-stack" ~/.agents/skills/acorn-stack &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/acorn-stack` 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/acorn-stack &&
cp -R "$tmp/plugins/kivo-wise/skills/acorn-stack" ~/.cursor/skills/acorn-stack &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/acorn-stack` 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/acorn-stack
```

Or copy the folder to `~/.gemini/skills/acorn-stack` yourself.

### VS Code

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

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

For one project only, put the folder in `.github/skills/acorn-stack` 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/acorn-stack` into your agent's skills folder as `acorn-stack`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Acorn stack trigger?

When changing how Acorn boots or is wired on a Sage theme, Acorn mu-plugin or Radicle root, including providers, base paths, config publishing and cache clearing.

### Which tools does Acorn stack need?

It uses WP-CLI with the acorn subcommand and Composer, running through the project's local environment, such as Lando where that is the setup. It runs no bundled scripts.

### Does Acorn stack handle scaffolding new providers or blocks?

No. The skill points to a separate acorn-scaffolding skill for generating artifacts, and to other skills for hook timing and debugging.

### How do I install Acorn stack in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/acorn-stack to use it in all your projects, or to .claude/skills/acorn-stack 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 Acorn stack 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 Acorn stack?

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 Acorn stack?

The closest alternatives to Acorn stack are Acorn background, Acorn scaffolding, Acorn routes API, Wp hooks lifecycle and Acorn livewire.

## Where this comes from

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

## Alternatives

- [Acorn background](https://ai-powered.com/skills/acorn-background): Acorn background is an open-source agent skill for developer tools.
- [Acorn scaffolding](https://ai-powered.com/skills/acorn-scaffolding): Acorn scaffolding is an open-source agent skill for developer tools.
- [Acorn routes API](https://ai-powered.com/skills/acorn-routes-api): Acorn routes API 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.
- [Acorn livewire](https://ai-powered.com/skills/acorn-livewire): Acorn livewire is an open-source agent skill for developer tools.
- [Acorn data](https://ai-powered.com/skills/acorn-data): Acorn data is an open-source agent skill for databases.
- [Roots debugging](https://ai-powered.com/skills/roots-debugging): Roots debugging 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.

---
Source: https://ai-powered.com/skills/acorn-stack
