
Roots router
Routes Roots-stack WordPress requests to the right kivo-wise skill and order
Roots router is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 14
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Roots router
Roots router is an entry-point skill for projects built on the Roots stack, such as a Sage theme, an Acorn must-use plugin, Bedrock or Radicle. It makes the agent identify the project profile, read the project's own guidelines first, and then choose one skill to open for the task. When two skills seem to apply, it follows a written decision tree with tie-breaks that favour the symptom over the topic.
The workflow sets a few gates before any code is written. A native-first check asks the agent to name the WordPress, ACF or Acorn mechanism that would do the job and confirm it in the local source, so custom code is kept for proven gaps. Commands are taken from the runner listed in the project's triage output rather than the host shell, and when no runner exists the skill tells the agent to say so and warn about the risk.
The skill relies on a triage JSON from the session or a separate roots-triage step, plus routing and keyword reference files shipped alongside it. It is distributed as an MIT-licensed Claude Code plugin skill in the kivo-wise marketplace.
When your agent uses it
Use when you must decide which kivo-wise skill to open first, or in what order, for a task in a Roots-stack project (Sage theme, Acorn mu-plugin, Bedrock, Radicle) - "which skill", two skills seem to apply, the profile x intent map, the project-guidelines-first and native-first rules. When one skill clearly matches the task, open that skill instead. For detecting the profile 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 4 files (33 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-router:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/roots-router &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-router" ~/.claude/skills/roots-router &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/roots-router inside it instead.
Copy the skill folder to ~/.agents/skills/roots-router 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-router &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-router" ~/.agents/skills/roots-router &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/roots-router inside it instead.
Copy the skill folder to ~/.cursor/skills/roots-router 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-router &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-router" ~/.cursor/skills/roots-router &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/roots-router 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-routerOr copy the folder to ~/.gemini/skills/roots-router yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/roots-router:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/roots-router &&
cp -R "$tmp/plugins/kivo-wise/skills/roots-router" ~/.copilot/skills/roots-router &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/roots-router 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-router into your agent's skills folder as roots-router. Agents that support SKILL.md read one folder per skill.
What it does
- Profile detection
- Determines whether the project is a Sage theme, Acorn mu-plugin or Radicle app before routing.
- One-skill routing
- Picks a single skill for a request using an intent table and tie-break rules.
- Native-first gate
- Requires checking the native WordPress, ACF or Acorn mechanism before proposing custom code.
- Guidelines-first lookup
- Reads project guidelines before local source, docs and web sources, in that order.
- Runner-aware commands
- Uses the project's configured runner for wp, composer and acorn commands instead of host tools.
- Profile difference table
- Summarises how base paths, boot files, blocks and assets differ between profiles.
Good for
- Decide which Roots skill to open for a Sage theme change
- Work out whether a task belongs to an Acorn mu-plugin or a theme
- Check whether a WordPress feature has a native hook before writing custom code
- Find the right runner command for a Lando or Compose project
Roots router FAQ
When does Roots router trigger?
It applies to requests in a Roots-stack project when the session names a Roots profile, the project has a .roots-stack.json or matching composer or Lando files, or the agent is unsure which stack skill applies. It says not to use it for plain WordPress sites without Acorn or for generic PHP questions.
What does Roots router need to run?
It expects a filesystem agent with bash and node, and the triage output from the session or roots-triage. Project commands run through the runner named in that output, not on the host.
Does Roots router run scripts or change files?
The skill ships no scripts. Its instructions guide routing and the choice of which skill to open next.
Which AI clients does Roots router support?
The content ties it to the Claude Code plugin marketplace, so it is listed for Claude Code only.
How do I install Roots router in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/roots-router to use it in all your projects, or to .claude/skills/roots-router 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 router 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 Roots router?
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 router?
The closest alternatives to Roots router are Roots onboarding, Roots triage, Roots reviewing, Roots debugging 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

