Skip to content

@slop-ai/openclaw-plugin

The OpenClaw plugin discovers SLOP providers, injects their state into the prompt, and exposes five tools for interaction:

  • list_apps — list available apps
  • connect_app — connect and inspect an app
  • disconnect_app — stop tracking an app
  • app_action — perform a single action
  • app_action_batch — perform multiple actions in one call
Terminal window
openclaw plugins install --link /path/to/slop/packages/typescript/integrations/openclaw-plugin

Or, when your OpenClaw environment supports registry installs:

Terminal window
openclaw plugins install @slop-ai/openclaw-plugin

The plugin uses @slop-ai/discovery for provider discovery (local dirs, bridge, relay) and for shared tool handlers (createToolHandlers, etc.).

A before_prompt_build hook injects connected providers’ state trees as prependContext on every inference turn. The model sees live app state and available actions without calling any tool, and it can act using app_action, app_action_batch, or disconnect_app.

Watches ~/.slop/providers/ and /tmp/slop/providers/ for provider descriptors and connects to supported transports:

  • Unix socket providers
  • WebSocket providers
  • Browser extension relay (postMessage providers via bridge)

OpenClaw’s plugin SDK does not support runtime tool registration. Tools must be declared in the plugin manifest and registered once during register(). This means the plugin cannot dynamically inject per-app action tools (like the Claude Code plugin does via MCP’s notifications/tools/list_changed). Instead, it uses stable meta-tools (app_action, app_action_batch) that resolve actions at runtime. See OpenClaw integration guide for details.