Install Paths

Install Paths#

Recommended. Use the open agent-skills CLI — it auto-detects which agents you have installed and writes the skill to the correct path for each, so you do not need the table below.

1
2
3
4
5
6
# Install just this skill (interactive — pick your agent(s))
npx skills add aristorinjuang/lesstruct --skill lesstruct-theme-development

# Non-interactive examples
npx skills add aristorinjuang/lesstruct --skill lesstruct-theme-development -a claude-code -y   # project scope
npx skills add aristorinjuang/lesstruct --skill lesstruct-theme-development -g -a opencode -y   # global scope

The CLI supports 30+ agents — Claude Code, OpenCode, Cursor, Codex, Gemini CLI, GitHub Copilot, Cline, Roo Code, Windsurf, Goose, Amp, and more. See the agent skills CLI for the full, up-to-date list.

Manual install (fallback)#

If you cannot run npx (air-gapped host, pinned toolchain, etc.), copy the skill directory into your agent’s skills folder. The path depends on the agent and the scope:

AgentProject scopeGlobal scope
Claude Code.claude/skills/~/.claude/skills/
OpenCode.opencode/skills/~/.config/opencode/skills/
Cursor.cursor/skills/~/.cursor/skills/
Codex.codex/skills/~/.codex/skills/
Gemini CLI.gemini/skills/~/.gemini/skills/
GitHub Copilot.github/skills/~/.copilot/skills/
1
2
3
4
5
# Example — Claude Code, global scope
cp -r lesstruct-theme-development ~/.claude/skills/lesstruct-theme-development

# Example — OpenCode, project scope
cp -r lesstruct-theme-development .opencode/skills/lesstruct-theme-development

For any other agent that loads Markdown files with YAML frontmatter from a skills/ directory, the minimum contract the agent must support is:

1
2
3
4
---
name: lesstruct-theme-development
description: <one-paragraph description>
---

…plus a SKILL.md filename. Copy the directory into that agent’s <config-dir>/skills/ folder.

Optional: customize.toml#

This skill includes a customize.toml file for BMad agents. Agents that do not understand BMad’s customization format will ignore the file. You can delete it without affecting the skill’s behaviour in non-BMad agents:

1
rm lesstruct-theme-development/customize.toml

Verifying the install#

After installing, restart your agent and ask it to perform a trivial task related to Lesstruct themes. For example:

“List the CSS variables in my Lesstruct default theme.”

If the agent responds with the variables from this skill’s theme-development.md (Brand colors, Status colors, Layout, etc.), the skill is loaded correctly. If the agent does not know what you are talking about, check the agent’s skill directory path and that the SKILL.md is in the right place.