Skip to main content
POST
/
v1
/
instances
/
{instance_id}
/
skills
/
install
curl -X POST https://api.chowder.dev/v1/instances/ins_abc123/skills/install \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "slug": "web-search",
    "env": {
      "SEARCH_API_KEY": "sk-..."
    }
  }'
{
  "skill": "web-search",
  "status": "installed",
  "output": "Successfully installed [email protected]",
  "env_applied": {
    "SEARCH_API_KEY": "sk-..."
  },
  "message": "Skill installed and ready to use."
}
Installs a skill from ClawHub onto the instance. Under the hood, this runs npx clawhub install with the given slug. If the skill requires environment variables, you can provide them upfront in the env field — or skip them and configure later via the update config endpoint.

Authentication

Requires an org-level API key or a scoped token with the configure permission.

Path Parameters

instance_id
string
required
The ID of the instance.

Body Parameters

slug
string
required
The ClawHub slug identifying the skill to install (e.g. web-search).
env
object
Optional environment variables required by the skill. Keys are variable names, values are strings.

Response

skill
string
The name of the installed skill.
status
string
Either "installed" (fully ready) or "installed_missing_env" (installed but needs env vars to function).
output
string
Raw output from the installation process.
env_applied
object
The environment variables that were successfully applied, if any.
required_env
array
A list of environment variable names that the skill still needs, if any.
message
string
A human-readable status message.
curl -X POST https://api.chowder.dev/v1/instances/ins_abc123/skills/install \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "slug": "web-search",
    "env": {
      "SEARCH_API_KEY": "sk-..."
    }
  }'
{
  "skill": "web-search",
  "status": "installed",
  "output": "Successfully installed [email protected]",
  "env_applied": {
    "SEARCH_API_KEY": "sk-..."
  },
  "message": "Skill installed and ready to use."
}