Extend profClaw with custom tools, search providers, integrations, and model adapters. Covers the plugin lifecycle, settings schema, sandbox, and ClawHub marketplace.
profClaw’s plugin system lets you add new capabilities without forking the core. Plugins can provide AI tools (for function calling), search providers, skills, and chat channel integrations.
Plugin Package (npm) | vpluginRegistry.register(id, factory) | vpluginRegistry.create(config) --> PluginInstance | vTool Router / Search Router use the plugin at runtime
The registry (src/plugins/registry.ts) holds factories keyed by plugin ID. Configuration is stored in the database and loaded on startup. Plugins run in an optional sandbox (src/plugins/sandbox.ts) for untrusted code.
By default, plugins from ClawHub run in a Node.js sandbox with restricted access:
No direct filesystem access outside the plugin’s data directory
Network requests go through the SsrfGuard
CPU and memory limits enforced
Static code analysis on install
Plugins you install from ClawHub or third parties run code on your machine. Review the source and check the ClawHub trust score before installing plugins from unknown authors.
Trust a plugin to run outside the sandbox (for performance-sensitive use cases):