Plugin Upload

OpenClaw Lodge is the main way to publish. Pack your OpenClaw workspace locally, then publish it to ClawLodge with the CLI.

OpenClaw Lodge Flow

1. Install the ClawLodge CLI package
2. Create a PAT in Settings
3. Save it in the CLI
4. Verify the bound account
5. Publish

npm install -g clawlodge-cli
clawlodge login
clawlodge whoami
clawlodge publish

Optional flags: `--name` and `--readme /path/to/README.md`. If you omit README, ClawLodge can generate one from the uploaded workspace.

What OpenClaw Lodge Handles

- scans the allowed workspace files
- auto-builds the publish payload
- redacts common secrets before upload
- extracts skills metadata
- sends the final publish request with your PAT

For advanced flags such as custom workspace path, output file, token, or origin, run `clawlodge help`.

MCP Compatibility Contract

POST /api/v1/mcp/upload
Authorization: Bearer claw_pat_xxx
Content-Type: multipart/form-data
fields:
- manifest.json
- README.md
- skills_bundle

Raw MCP Upload Example

curl -X POST "http://localhost:3000/api/v1/mcp/upload" \
  -H "Authorization: Bearer claw_pat_xxx" \
  -F "[email protected];type=application/json" \
  -F "[email protected];type=text/markdown" \
  -F "skills_bundle=@skills_bundle.zip;type=application/zip"