.clawpack.zip package format used by ClawControl for import/deploy/export flows.
Package Format
Extension:.clawpack.zip
clawcontrol-package.yaml
agent_templateagent_teamworkflowteam_with_workflows
Supported Package Contents
Packages may include:agent-templates/<templateId>/...workflows/<workflowId>.yamlteams/<teamId>.yamlselection/workflow-selection.yamlmarketplace/listing.yaml(optional listing metadata for marketplace ingestion)
- Do not attempt to package or replace the OpenClaw runtime agent
main. ClawControl treatsmainas the default CEO inbox and scaffoldsagents/main/*create-if-missing.
Import / Deploy Flow
Package import is a two-step flow:- Analyze/stage package (
POST /api/packages/import) - Deploy staged package (
POST /api/packages/deploy)
- manifest metadata
- discovered artifact counts
- conflict detection (templates/workflows/teams)
- temporary stage id for deployment
- templates
- workflows
- teams
- selection
Rollback Behavior
Deployment is best-effort transactional:- template filesystem writes are rolled back on failure
- created workflows/teams are reverted when possible
- previous selection overlay is restored if selection deployment fails
Export
Package exports are available via API:GET /api/packages/:id/export?kind=workflowGET /api/packages/:id/export?kind=agent_templateGET /api/packages/:id/export?kind=agent_teamGET /api/packages/:id/export?kind=team_with_workflows
clawcontrol-package.yaml(runtime manifest)marketplace/listing.yaml(optional marketplace sidecar metadata)
Security and Governance
All mutating package routes require:- operator session + CSRF
- action-policy enforcement (typed confirm and/or approvals, depending on action kind)
Workspace History
Analyze/deploy/export events are recorded under:/workflow-packages/history/*.json