Usage
Options
| Option | Description |
|---|---|
--env-file <path> | Path to .env file (defaults to .env in project root) |
What It Does
- Loads
clawup.yamland resolves agent identities - Loads
.envand resolves secrets - Runs each plugin’s
onboardhook (if defined) with the resolved context - Hooks can prompt for input, call external APIs, and display follow-up instructions
When to Use
Runclawup onboard after your first clawup deploy if any plugins have onboard hooks that need interactive setup. For example, a plugin might need to register webhook URLs that are only available after deployment.
You can also pass --onboard to clawup deploy to run onboard hooks during the deploy phase.
Plugin Manifest Example
Onboard hooks are defined in a plugin’s manifest file. Here’s a minimal example:runOnce is true, the hook is skipped if all required secrets for the plugin are already configured.
Examples
Onboard hooks can be defined at the swarm level (
clawup.yaml), identity level (identity.yaml), or plugin level. Not all levels require onboard hooks — only those that need interactive first-time configuration. See the Lifecycle Hooks guide for details on writing onboard hooks.