Usage
Arguments
| Argument | Description |
|---|---|
name | Name of the facet to remove (required) |
What it does
Removes a facet by uninstalling all its resources and cleaning up the project registry:- Load manifest — Reads the facet manifest from local or cache to determine what resources were installed
- Delete resources from
.opencode/:- Skills — removes the entire directory (
.opencode/skills/<name>/) - Agents — removes the file (
.opencode/agents/<name>.md) - Commands — removes the file (
.opencode/commands/<name>.md) - Tools — removes the file (
.opencode/tools/<name>.ts)
- Skills — removes the entire directory (
- Update
facets.yaml— removes the facet entry from bothremoteandlocalsections
Example
What it doesn’t do
- Does not delete the cached copy from
~/.cache/facets/. Usefacets cache clearto clean the cache. - Does not modify
facets.lock— stale lock entries are harmless and will be overwritten if the facet is re-added.