Overview
ClawMagic Marketplace plugins ship as .zip packages containing a claw.plugin.json manifest, an ActionSpec bundle, and bundled runtime code. You can install them through the portal UI, the ClawMagic CLI, or the marketplace API.
| Method | Best For | Auth Required |
|---|---|---|
| Portal one-click | Quickest path, no terminal needed | Logged-in portal session |
| CLI install | Local dev, scripting, offline installs | Marketplace account |
| Agent automation | Repeatable installs, CI/CD, agent workflows | API key (cmk_*) |
Prerequisites
- ClawMagic server installed and running — the CLI should be available as
clawmagicin your terminal. - Plugins directory exists at
data/plugins/inside your ClawMagic project root (created automatically on first run). - A ClawMagic Marketplace account for purchasing or claiming free plugins.
- Pro or Agency membership for paid plugins (free plugins work on any tier).
Method 1: Portal One-Click Install
The fastest way to install a plugin. No terminal required.
Step 1: Browse the marketplace
- Open the ClawMagic portal in your browser and go to Dashboard → Browse Marketplace.
- Search or filter to find the plugin you want.
- Click the plugin card to open its detail page.
Step 2: Install the plugin
- Click Install (free plugins) or complete checkout (paid plugins).
- The portal downloads the ZIP, extracts it, validates the manifest, and places the plugin in
data/plugins/<plugin-id>/. - The plugin appears in your Your Plugins list as installed and enabled.
Installed plugins are available immediately — no server restart needed. The plugin loader picks up new plugins on the next agent request.
Method 2: CLI Install
Download a plugin .zip from the marketplace website and install it using the ClawMagic CLI.
Step 1: Download the plugin
- Go to the ClawMagic Marketplace and find the plugin you want.
- Click the plugin to open its detail page.
- Click Download (free plugins) or complete checkout (paid plugins). The
.zipfile downloads to your computer.
Step 2: Install with the CLI
Use the clawmagic plugins install command, passing the path to the downloaded ZIP:
# Install from downloaded ZIP clawmagic plugins install ~/Downloads/my-plugin.zip # Verify it appears in the plugin list clawmagic plugins list
The CLI extracts the ZIP, validates the claw.plugin.json manifest, runs a security scan, and places the plugin in data/plugins/<plugin-id>/.
Step 3: Verify the install
# List installed plugins with status clawmagic plugins list # Test the plugin loads correctly clawmagic plugins test <plugin-id>
Alternative: Manual extraction
If you prefer to extract manually instead of using the CLI command:
# 1. Create the plugin directory mkdir -p data/plugins/my-plugin # 2. Extract the ZIP into it unzip ~/Downloads/my-plugin.zip -d data/plugins/my-plugin # 3. Verify the manifest exists cat data/plugins/my-plugin/claw.plugin.json # 4. Confirm it loads clawmagic plugins list
The directory name under data/plugins/ should match the plugin id field in claw.plugin.json.
Plugin Package Structure
Every marketplace plugin ZIP follows this structure:
my-plugin.zip
├── claw.plugin.json # ClawMagic plugin manifest (required)
├── actionspec.json # Action specification bundle
├── skill.json # Skill hints for agent routing
├── README.md # Plugin documentation
├── plugin/ # Bundled runtime code
│ ├── index.js # Entry point
│ └── ...
├── openclaw.plugin.json # OpenClaw compatibility manifest (optional)
└── skills/
└── my-plugin/
└── SKILL.md # Operational guidanceClawMagic discovers plugins by looking for claw.plugin.json in each subdirectory of data/plugins/. The manifest defines the plugin ID, name, version, type, entry point, permissions, and supported actions.
claw.plugin.json Reference
The manifest tells ClawMagic everything it needs to load and run the plugin:
{
"id": "my-plugin",
"name": "My Plugin",
"version": "1.0.0",
"type": "CONNECTOR",
"entry": "plugin/index.js",
"permissions": ["network", "storage"],
"install": {
"postInstall": "npm install --production"
},
"support": {
"docs": "https://example.com/docs",
"issues": "https://example.com/issues"
}
}| Field | Required | Description |
|---|---|---|
id | Yes | Unique plugin identifier (lowercase, hyphens) |
name | Yes | Human-readable display name |
version | Yes | Semver version string |
type | Yes | CONNECTOR, TASK, WORKFLOW, MEMORY_PACK, or UTILITY |
entry | Yes | Path to the main JS entry point |
permissions | No | Array of permission scopes the plugin requests |
install | No | Post-install hook commands |
Method 3: Automated Agent Install
For repeatable installs and agent-driven workflows, use the ClawMagic Marketplace API to browse, purchase, download, and install plugins programmatically. This is the same flow documented in the Agent Marketplace docs.
Step 1: Get an API key
Create a scoped API key from an authenticated session:
POST /v1/apikeys
Authorization: Bearer mpk_live_...
Content-Type: application/json
{
"name": "clawmagic-agent-key",
"scopes": ["deliveries:read", "deliveries:write"]
}
# Response (save the key — shown once):
{
"id": "key_abc123",
"token": "cmk_live_...",
"scopes": ["deliveries:read", "deliveries:write"]
}Step 2: Browse and purchase
# Browse plugins (public, no auth required)
GET /v1/plugins?q=seo&limit=10
# Purchase / claim a free plugin
POST /v1/checkout/create
Authorization: Bearer cmk_live_...
Content-Type: application/json
{
"pluginId": "plugin_id_here",
"quantity": 1
}
# Free plugins finalize immediately:
{
"entitlementId": "ent_abc123",
"providerStatus": "FREE_CLAIM",
"downloadToken": "dtk_..."
}Step 3: Download the package
# Request a signed download URL
POST /v1/agent/deliveries/request
Authorization: Bearer cmk_live_...
Content-Type: application/json
{
"entitlementId": "ent_abc123"
}
# Response:
{
"downloadUrl": "https://storage.../my-plugin.zip?sig=...",
"sha256": "a1b2c3d4...",
"fileName": "my-plugin-1.0.0.zip"
}
# Download and verify
curl -o my-plugin.zip "$downloadUrl"
sha256sum my-plugin.zip # must match response sha256Step 4: Install into ClawMagic
# Install using the CLI clawmagic plugins install ./my-plugin.zip # Verify clawmagic plugins list
Step 5: Report install status
Report the result back to the marketplace so install counts stay accurate:
POST /v1/agent/install-report
Authorization: Bearer cmk_live_...
Content-Type: application/json
{
"entitlementId": "ent_abc123",
"status": "SUCCESS",
"pluginVersion": "1.0.0",
"runtime": "clawmagic"
}Use "status": "FAILED" with an optional error field if the install did not succeed.
Managing Installed Plugins
# List all installed plugins clawmagic plugins list # Disable a plugin (keeps files, stops loading) clawmagic plugins disable <plugin-id> # Re-enable a disabled plugin clawmagic plugins enable <plugin-id> # Uninstall a plugin (removes files) clawmagic plugins uninstall <plugin-id> # Update a plugin to a new version clawmagic plugins install ~/Downloads/my-plugin-2.0.0.zip
Plugin state is managed in data/plugins/. Installing a new version of an existing plugin replaces the previous version. Disabled plugins remain on disk but are not loaded by the agent.
Troubleshooting
| Issue | Solution |
|---|---|
Plugin not showing in clawmagic plugins list | Verify the directory exists at data/plugins/<plugin-id>/ and contains a valid claw.plugin.json. |
| Plugin shows but agent can't use it | Check clawmagic plugins list for the enabled status. Run clawmagic plugins enable <plugin-id> if it shows as disabled. |
| Post-install hook failed | Check the install.postInstall command in the manifest. Run it manually from the plugin directory to see the error output. |
| Permission denied during install | Make sure the data/plugins/ directory is writable by your user. Avoid running the CLI as root. |
| SHA-256 mismatch on download | Re-download the ZIP. If the hash still doesn't match, request a new delivery URL from the API. |
| Plugin version conflict | Installing a new ZIP for an existing plugin replaces it. Uninstall first with clawmagic plugins uninstall <plugin-id> if you want a clean slate. |
OpenClaw Plugins & ClawMagic Plugins
ClawMagic Marketplace plugins can be installed into either ClawMagic or OpenClaw. Pick the guide that matches your runtime:
- ClawMagic Plugin Install — You are here. Install plugins into a ClawMagic server instance.
- OpenClaw Plugin Install — Install the same marketplace plugins into OpenClaw (theclaw).
Related Docs
- Agent Marketplace — Full API reference for automated browse, purchase, download, and install.
- Plugin Packaging — How marketplace plugins are structured and validated.
- Plugin Development — Build your own plugins with ActionSpec, skill hints, and manifests.
- Browse Marketplace — Find plugins to install.