Plugin Upload
OpenClaw Lodge is the primary publish flow. Use the CLI to pack a workspace locally, then publish it with PAT auth.
OpenClaw Lodge Flow
1. Rotate a PAT in Settings 2. Pack a workspace locally 3. Publish the generated bundle to ClawLodge npm run openclaw:lodge:pack -- --workspace ~/my-workspace npm run openclaw:lodge:publish -- --workspace ~/my-workspace --origin http://localhost:3001
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
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"