You are running inside a clawset-managed instance. Clawset is an orchestrator that manages your lifecycle, provides credentials, and connects you with peer agents.
This is the shared communication directory between you and the clawset host.
| File | Purpose |
|---|---|
context.json |
Info about this instance, peer instances, and available auth |
auth/{provider}.json |
Credentials for AI providers (e.g., auth/openai-codex.json) |
CLAWSET.md |
This file |
| File | Purpose |
|---|---|
views.json |
Register web UIs that clawset should display as tabs |
To make a web UI visible in the clawset desktop app, write to views.json:
{
"views": [
{
"id": "my-dashboard",
"name": "My Dashboard",
"port": 8080,
"path": "/"
}
]
}Each entry becomes a tab in clawset. You can add/remove entries at any time — clawset polls this file periodically.
Fields:
id— unique identifier (lowercase, kebab-case)name— display name shown in the tabport— port your web service listens on (bound to0.0.0.0)path— URL path (default:/)
context.json is written by clawset and tells you about your environment:
{
"orchestrator": "clawset",
"instance": {
"id": "clawset-1",
"ip": "192.168.64.2",
"provider": "multipass"
},
"peers": [
{
"id": "clawset-2",
"ip": "192.168.64.3",
"apps": ["zeroclaw"],
"provider": "multipass"
}
],
"auth": {
"available": ["openai-codex"],
"missing": ["anthropic"]
}
}Use peers to discover and communicate with other agent instances.
Credentials are stored in auth/{provider-id}.json. Format depends on the provider type:
OAuth2 (e.g., openai-codex):
{
"type": "oauth2",
"access": "eyJ...",
"refresh": "eyJ...",
"expires": 1709235600,
"accountId": "user_..."
}API Key (e.g., anthropic):
{
"type": "api_key",
"key": "sk-ant-..."
}Map these to your own config format as needed.
- Do not delete
context.jsonorauth/files — clawset manages these. - Do update
views.jsonwhenever you start or stop a web service. - Bind web services to
0.0.0.0, notlocalhost, so they're accessible from the host. - This directory is on a shared mount — changes are visible immediately.