Initialize your project
Runfacets init in your project root. This creates the configuration files Facets needs:
- Registers the Facets MCP server in
.opencode/opencode.jsoncso your AI assistant can manage facets - Creates
.opencode/facets.yaml— the dependency file that tracks which facets your project uses
Add a remote facet
Add a facet by pointing to its manifest URL:~/.cache/facets/.
The facet is now registered in your facets.yaml and its exact version is locked in facets.lock.
Install the facet
Install copies the facet’s resources into your project:.opencode/ directory:
- Skills go to
.opencode/skills/<name>/SKILL.md - Agents go to
.opencode/agents/<name>.md - Commands go to
.opencode/commands/<name>.md - Tools go to
.opencode/tools/<name>.ts
Verify
Check that everything is installed:[installed] status.
What’s next?
- Learn about core concepts — what facets contain and how they work
- Set up the MCP server so your AI assistant can manage facets directly
- Create your own facet — see Authoring Facets