skill¶
Install, remove, or upgrade ConTree agent skills for Codex and Claude Code.
Spec format¶
Commands accept specs — a kind:hint URI that identifies the skill type
and target path:
Spec |
Resolves to |
Skill type |
|---|---|---|
|
|
ClaudeSkill |
|
|
ClaudeSkill |
|
|
OpenAISkill |
|
|
OpenAISkill |
|
|
ClaudeAgentSkill |
|
|
ClaudeAgentSkill |
|
|
ClaudeSkill |
|
|
auto |
When no specs are given, install defaults to all detected agent homes
(e.g. codex:~ claude:~ claude-agent:~).
Examples¶
# Install globally (default: codex:~ claude:~)
contree skill install
# Install into project-level .claude/skills/contree
contree skill install claude:
# Install globally into ~/.claude/skills/contree
contree skill install claude:~
# Install both globally
contree skill install codex:~ claude:~
# Install to explicit path (class guessed from path)
contree skill install ./my/custom/path
# Upgrade all remembered installs
contree skill upgrade
# Upgrade specific target
contree skill upgrade claude:~
# Remove by spec
contree skill remove -y claude:~
# Remove by full path
contree skill remove -y /path/to/skills/contree
# List installs with version and outdated status
contree skill list
contree skill ls
Help output¶
Behavior¶
contree skill install [SPEC ...] installs skill directories. Each spec
resolves to a skill class and a filesystem path. The skill class (kind)
is stored in the session SQLite database alongside the resolved path.
contree skill list shows remembered installs with their kind,
installed version, latest available version, outdated flag, and
whether the path exists on disk.
contree skill upgrade [SPEC ...] overwrites existing installs with the
current bundled version. Without specs, upgrades all remembered locations.
A .version file in each install directory tracks the installed version
for quick outdated detection.
contree skill remove SPEC [...] deletes installed skill files and
forgets the path from the registry.
Install contents¶
Skill directories contain:
.version— installed package versionSKILL.md— skill prompt withallowed-toolsfrontmatteragents/openai.yaml— OpenAI-compatible skill config
Skills require contree in PATH. If missing, ask the user to install it.
Skill classes¶
Class |
Kind |
Description |
|---|---|---|
|
|
Bundled skill directory for Claude Code |
|
|
Bundled skill directory for Codex |
|
|
Bundled skill directory for OpenCode |
|
|
Bundled skill directory for Amp |
|
|
Bundled skill directory for Cline |
|
|
Standalone |
|
|
Custom agent |