profclaw field in package.json and a default export using definePlugin.
Package Structure
package.json Manifest
profclaw.pluginId must be unique on ClawHub. The keywords array must include "profclaw-plugin" for the plugin to appear in search results.
Plugin Manifest Fields
Build Configuration
Build Script
Dependencies
Keep dependencies minimal. Avoid bundling:profclaw(declare aspeerDependency)zod(available from profClaw peer)- Large AI SDKs (prefer HTTP calls)
Entry Point
src/index.ts must have a default export:
import(packageName) and accesses default.
Testing Your Plugin Locally
Scaffolding
Use the built-in scaffolder to bootstrap a new plugin:definePlugin call, and a test file.