Usage
Arguments
| Argument | Description |
|---|---|
url | URL to the remote facet.yaml manifest (required) |
What it does
Fetches a remote facet manifest and caches it locally, making it available for installation. The full process:- Fetch the
facet.yamlfrom the given URL - Validate the manifest against the schema
- Cache the manifest to
~/.cache/facets/<name>/facet.yaml - Download resources — all files referenced in the manifest (skill files, prompt files, tool files) are fetched by resolving relative paths against the manifest URL
- Update project files:
- Adds an entry to
facets.yamlunderremote: - Records the version and integrity hash in
facets.lock
- Adds an entry to
Example
facets list as not installed. Run facets install to materialize its resources.
Integrity
The raw manifest content is hashed with SHA-256 and stored infacets.lock as sha256-<hex>. This lets Facets detect if a remote manifest has been tampered with or drifted between fetches.