Add a registry
1
Register a remote git repository
Run dotbot clones the repository and validates
dotbot registry add with a short name and the repository URL:registry.json. The name you provide (myorg) must match the name field inside registry.json, and dotbot exits with an error if they do not match. Pass --branch <branch> to clone a non-default branch, or --force to overwrite an existing registry with the same name.2
Register a local path (optional)
Local paths are linked rather than cloned, so they always reflect the current state of the directory. Use this during development before pushing to a remote:
registries.json file in your dotbot home directory.
List registries
See all registered registries and the content they declare:Install from a registry
Pass the registry name and content name separated by a colon:Update and remove registries
Pull the latest content from all registered registries:Local-path registries are linked rather than cloned, so they always reflect the current state of the local directory. Running
registry update has no effect on local registries.registry.json manifest
Place aregistry.json at the root of your registry repository. dotbot validates this file during registry add:
registry.json
content section can list workflows, stacks, tools, skills, agents, and prompts. Each declared item must have a matching directory in the registry repository. For example, "workflows": ["custom-workflow"] requires workflows/custom-workflow/ to exist.
dotbot performs these checks during validation:
registry.jsonexists at the repository root.- The JSON parses without syntax errors.
- The
namefield matches the name provided on the command line. - The
contentsection lists at least one item. - Each declared item has a matching directory. A missing directory is a warning, not a fatal error.
min_dotbot_versionis read and reported so you can confirm compatibility with your installed version.
Authentication for private registries
If your registry is hosted on a private git repository, dotbot relies on your existing git credential configuration. When a clone fails because of an authentication error, dotbot prints provider-specific hints.- GitHub
- Azure DevOps
- GitLab