Skip to main content
This page showcases complete plugin examples from OpenClaw’s built-in extensions. Use these as templates for building your own plugins.

Example 1: Simple Tool Plugin

The LLM Task plugin adds a single tool for running JSON-only LLM tasks.

Structure

Entry Point

Tool Implementation

Configuration

Example 2: Service Plugin

The Diagnostics (OpenTelemetry) plugin exports diagnostics events to OpenTelemetry.

Entry Point

Service Implementation

Configuration

Example 3: Channel Plugin

The Matrix channel plugin demonstrates a complete channel implementation.

Entry Point

Channel Plugin

Configuration

Example 4: Hook-Based Plugin

A plugin that logs session activity using hooks:

Example 5: Multi-Tool Plugin

A plugin that registers multiple related tools:

Exploring More Examples

Browse the extensions directory for 39+ complete plugin implementations:
  • Channels: matrix, msteams, irc, mattermost, nextcloud-talk
  • Tools: llm-task, lobster, voice-call, phone-control
  • Services: diagnostics-otel, memory-lancedb, copilot-proxy
  • Auth: google-antigravity-auth, minimax-portal-auth

Next Steps