
Roots triage
Classifies a Roots WordPress project and its runner, then pins the result in a flag file
Roots triage is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- JavaScript
- Platforms
- Claude Code
- GitHub stars
- 14
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Roots triage
This skill runs a bundled read-only detector that inspects a working directory and reports whether it is a Sage theme, an Acorn mu-plugin, a Radicle app, a Bedrock or plain WordPress layout, and which runner (Lando, Docker Compose or DDEV) it uses. The detector returns a JSON document with the layout, core directory, Acorn apps, runtime commands, session kind and warnings, and it never starts a process or touches the network.
The agent is guided through reading that output, matching each warning to a concrete fix, and proposing a .roots-stack.json file at the project root to stop relying on heuristics. The flag file can override the detected profile, app path or runner, and the detector keeps reporting drift when the two disagree. Writing the file stays a decision for the user.
The skill expects Node 20 or newer and a filesystem agent with bash. It reads composer files, Landofile and Compose files, bin scripts, devcontainer configuration and theme or plugin headers, and it hands off to other skills for routing and for running Lando or Compose commands.
When your agent uses it
Use when you need to know what kind of project the working directory is (Sage theme, Acorn mu-plugin, Radicle, Bedrock, plain WordPress) or which runner it uses (Lando, Docker Compose bin/ scripts, DDEV), when the session context is missing or contradicts the files, when there is no .roots-stack.json, or when a detector warning (ACORN_BASEPATH, misplaced env_file, Landofile still present, no bin/ scripts, docker CLI not found, truncated scan, flag drift) needs explaining. Runs scripts/detect-roots-project.mjs and writes .roots-stack.json. For choosing a skill after triage use roots-router; for Lando commands use lando-wp; for Compose commands use compose-wp.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 4 files (31 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-wiseOr copy only this skill to ~/.claude/skills/roots-triage:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/roots-triage &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-triage" ~/.claude/skills/roots-triage &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/roots-triage inside it instead.
Copy the skill folder to ~/.agents/skills/roots-triage 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/roots-triage &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-triage" ~/.agents/skills/roots-triage &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/roots-triage inside it instead.
Copy the skill folder to ~/.cursor/skills/roots-triage 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/roots-triage &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-triage" ~/.cursor/skills/roots-triage &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/roots-triage inside it instead.
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/roots-triageOr copy the folder to ~/.gemini/skills/roots-triage yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/roots-triage:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/roots-triage &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-triage" ~/.copilot/skills/roots-triage &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/roots-triage inside it instead.
Get the folder:
git clone --depth 1 https://github.com/hekivo/kivo-wise.gitThen copy kivo-wise/plugins/kivo-wise/skills/roots-triage into your agent's skills folder as roots-triage. Agents that support SKILL.md read one folder per skill.
What it does
- Project layout detection
- Identifies whether the project is Radicle, Bedrock, Composer WordPress or plain WordPress and locates the core directory.
- Roots profile classification
- Distinguishes Sage themes, Acorn mu-plugins and Radicle apps and lists their namespaces and versions.
- Runner detection
- Determines whether commands run through Lando, Docker Compose, DDEV or directly on the host.
- Warning explanations
- Maps each detector warning, such as a missing ACORN_BASEPATH or a truncated scan, to a concrete fix.
- Flag file pinning
- Guides writing a .roots-stack.json file that overrides heuristics for profile, app path and runner.
- Read-only detection
- The detector only reads files and checks the PATH for docker, so it never runs project commands.
Good for
- Work out whether this repo is a Sage theme or an Acorn mu-plugin
- Explain why the detector warns about a misplaced env_file in Lando
- Figure out which runner commands should go through for this project
- Create a .roots-stack.json to pin the project's profile and runner
- Diagnose why the detector found no apps in a Roots project
Roots triage FAQ
What does the skill need to run?
Node 20 or newer and a filesystem agent with bash. The detector only reads project files and checks for docker on the PATH.
Does Roots triage change any project files?
The detector is read-only. Writing .roots-stack.json is proposed to the user, who decides whether to commit it.
Which runners does Roots triage recognise?
Lando, Docker Compose, DDEV and a none option for host-only commands.
When should Roots triage be used?
When the session context is missing or contradicts the files, when there is no .roots-stack.json, or when a detector warning needs explaining.
How do I install Roots triage in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/roots-triage to use it in all your projects, or to .claude/skills/roots-triage 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 Roots triage run scripts?
Yes. It runs JavaScript 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 Roots triage?
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 Roots triage?
The closest alternatives to Roots triage are Roots onboarding, Roots router, Roots debugging, Roots reviewing and Acorn stack.
Where this comes from
- Description: from the skill's own SKILL.md.
More from hekivo/kivo-wise

Writes approved design plans as WordPress block markup and scaffolds missing blocks
- Open source
- 14 GitHub stars
- Developer tools

Maps Figma components to project code blocks through Code Connect, with approval first
- Open source
- 14 GitHub stars
- Design and media

Turns a Figma frame, HTML file or URL into a WordPress page on the Roots stack
- Open source
- 14 GitHub stars
- Developer tools

Turns a Figma frame into neutral section specs for kivo-creator via the Figma MCP server
- Open source
- 14 GitHub stars
- Design and media

Turns an HTML file or URL into kivo-creator section specs with reference screenshots
- Open source
- 14 GitHub stars
- Developer tools

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

