# Acorn background

> Acorn background is an open-source agent skill for developer tools. Guides an agent through background jobs, scheduling, Redis cache and logging in Acorn. 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-background
- **Repository:** https://github.com/hekivo/kivo-wise
- **GitHub stars:** 14
- **License:** MIT
- **Skill name:** acorn-background
- **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 helps an agent choose between WordPress-native tools (WP-Cron, Action Scheduler, transients, WP_DEBUG_LOG) and Laravel pieces brought in by Acorn (queues, console commands, the scheduler, Laravel Cache and Redis, log channels). It includes a decision table that asks the agent to start with the native option and move to Laravel only when there is a real gap such as retries, timeouts, or high volume.

The workflow covers setting up a database or Redis queue, creating and dispatching jobs, running a worker, adding console commands and scheduling them from system cron, separating Redis databases for Laravel and the WordPress object cache, and configuring log channels for files or containers. It also includes verification commands and a table of common failure modes with fixes. The guidance is organised by Acorn profile, since paths differ between a theme, a mu-plugin and a Radicle project.

The skill expects a project running Acorn on WordPress with WP-CLI available. Redis work needs the illuminate/redis package and either the PHP redis extension or predis. It does not run scripts of its own; it instructs the agent to run existing Acorn and WP-CLI commands.

## When your agent uses it

> Use when work must run outside the request, on a schedule, or be logged in an Acorn project - WP-Cron vs Action Scheduler vs Laravel queues (make:job, ShouldQueue, queue:work, failed_jobs), console commands (make:command, wp acorn <command>), Schedule::command and schedule:run from system cron, Laravel Redis and Cache vs transients, logging channels (Log::, LOG_CHANNEL, stderr, storage/logs). For tables use acorn-data; for object cache tuning use wp-performance.

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

## Features

- **Mechanism selection table:** Compares WP-Cron, Action Scheduler, transients, queues and Laravel logging to pick the right tool for a task.
- **Laravel queue setup:** Covers queue tables, job creation, dispatching, worker commands and restarts after deploys.
- **Console commands and scheduling:** Explains creating Acorn commands and scheduling them through routes or a system cron entry.
- **Redis and cache separation:** Shows how to keep Laravel queues and sessions apart from the WordPress object cache in Redis.
- **Logging channel configuration:** Describes default file logging and switching to stderr for container-based deployments.
- **Failure mode reference:** Lists common symptoms such as jobs running inline or scheduled tasks not firing, with their causes and fixes.

## Good for

- Move a slow external API sync out of the web request into a queued job
- Set up a nightly cleanup task that runs from system cron
- Create a WP-CLI-style Acorn command for importing records
- Configure Redis so queues and the object cache use different databases
- Send Acorn logs to stderr so a container platform collects them

## 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-background`:

```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-background &&
cp -R "$tmp/plugins/kivo-wise/skills/acorn-background" ~/.claude/skills/acorn-background &&
rm -rf "$tmp"
```

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

```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-background &&
cp -R "$tmp/plugins/kivo-wise/skills/acorn-background" ~/.copilot/skills/acorn-background &&
rm -rf "$tmp"
```

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

## FAQ

### What does Acorn background need installed?

It needs Acorn in a WordPress project. For Redis it needs illuminate/redis plus either the PHP redis extension or predis/predis, and Action Scheduler is used only if it is already installed.

### Does Acorn background change the default queue behaviour?

It advises setting QUEUE_CONNECTION to database or redis per environment, because the default sync connection runs jobs inline during the request.

### When does Acorn background trigger?

It applies when work must run outside the request, on a schedule, or be logged in an Acorn project, and it points table work to acorn-data and object cache tuning to wp-performance.

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

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

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 background?

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

## Where this comes from

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

## Alternatives

- [Acorn stack](https://ai-powered.com/skills/acorn-stack): Acorn stack 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.
- [Acorn data](https://ai-powered.com/skills/acorn-data): Acorn data is an open-source agent skill for databases.
- [Acorn scaffolding](https://ai-powered.com/skills/acorn-scaffolding): Acorn scaffolding 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.
- [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-background
