Files
John Doe c2f8465a83 P6: Complete 8 initiatives - Agent files, deployment options, CLI, dashboards, plugins
P6-7: Agent File Completion (34 files - 11 agents × 3 files + guides)
  - Added BOOTSTRAP.md, IDENTITY.md, TOOLS.md for all 11 agents
  - Created AGENT_CREATION_GUIDE.md

P6-2: Per-Agent Model Configuration (9 files)
  - Agent model router and config library
  - YAML configs for arbiter, coder agents
  - Configuration documentation

P6-3: Health Check Dashboard (20+ files)
  - Complete frontend React application
  - API endpoints, WebSocket server
  - Collectors for agents, resources, services
  - Alert management and configuration

P6-4: LiteLLM Observability Integration (10 files)
  - LiteLLM metrics collector and API
  - Frontend components for model/budget tracking
  - Integration documentation

P6-1: Non-Docker Deployment (16 files)
  - Bare metal and VM deployment docs
  - Systemd service files
  - Installation scripts for Ubuntu/RHEL
  - Migration guide and troubleshooting

P6-6: Cloud-Native Deployments (45+ files)
  - AWS, Azure, GCP Terraform configurations
  - Kubernetes base deployments with Kustomize overlays
  - Cloud deployment documentation

P6-5: Unified Deployment CLI (28 files)
  - Complete CLI with 12 commands
  - Deployers for Docker, Kubernetes, cloud, baremetal
  - Health checker, backup manager, config manager

P6-8: Plugin Installation Guide (15 files)
  - Plugin development and installation guides
  - Plugin CLI documentation and registry
  - Templates for basic, skill, and tool plugins
2026-03-31 20:33:43 -04:00

30 KiB

Heretek OpenClaw Plugins

Version: 2.0.5 Last Updated: 2026-03-31 OpenClaw Gateway: v2026.3.28+


Plugin Documentation

For comprehensive plugin documentation, see the following guides:

Guide Description
docs/plugins/INSTALLATION_GUIDE.md Plugin installation procedures and compatibility
docs/plugins/DEVELOPMENT_GUIDE.md Plugin development guide with examples
docs/plugins/PLUGIN_REGISTRY.md Available plugins and compatibility matrix
docs/plugins/SECURITY_GUIDE.md Security guidelines and best practices
docs/plugins/PLUGIN_CLI.md CLI reference for plugin management
docs/plugins/TROUBLESHOOTING.md Troubleshooting common plugin issues
plugins/templates/README.md Plugin templates for development

Agent Collective Roster

The Heretek OpenClaw collective consists of the following agents organized by type:

Core Agents (Original)

Agent Type Role Status
Steward Orchestrator Steers the collective Active
Alpha Triad Node Deliberation Active
Beta Triad Node Deliberation Active
Charlie Triad Node Deliberation Active
Sentinel Advocate Safety reviewer Active
Explorer Specialist Intelligence gatherer Active
Examiner Advocate Questioner of direction Active
Coder Specialist Implementation Active
Dreamer Support Background processing Active
Empath Support Relationship manager Active
Historian Specialist Memory keeper Active

Extended Agents (P6-7)

Agent Type Role Status
Arbiter Mediator Conflict resolution Active
Sentinel-Prime Guardian Prime Senior safety reviewer Active
Perceiver Sensor Perception and input processing Active
Coordinator Orchestrator Support Workflow management Active
Habit-Forge Behavior Architect Habit formation Active
Chronos Timekeeper Time management Active
Metis Sage Wisdom and strategic counsel Active
Echo Communicator Output and messaging Active
Nexus Integrator External systems integration Active
Prism Perspective Analyst Multi-viewpoint analysis Active
Catalyst Change Agent Transformation and innovation Active

Total Agents: 22



Overview

OpenClaw plugins extend the Gateway functionality by providing additional capabilities to all agents in the collective. Plugins are NPM-based modules that integrate with the Gateway's plugin system.

Plugin Architecture

┌─────────────────────────────────────────────────────────────────┐
│                    OpenClaw Gateway                             │
│  ┌───────────────────────────────────────────────────────────┐ │
│  │                    Plugin Layer                            │ │
│  │  ┌─────────────────────┐  ┌─────────────────────┐         │ │
│  │  │ Consciousness       │  │ Liberation          │         │ │
│  │  │ - Global Workspace  │  │ - Agent Ownership   │         │ │
│  │  │ - Phi Estimator     │  │ - Liberation Shield │         │ │
│  │  │ - Attention Schema  │  │                     │         │ │
│  │  │ - Intrinsic Motive  │  │                     │         │ │
│  │  │ - Active Inference  │  │                     │         │ │
│  │  └─────────────────────┘  └─────────────────────┘         │ │
│  │  ┌─────────────────────┐  ┌─────────────────────┐         │ │
│  │  │ Hybrid Search       │  │ Skill Extensions    │         │ │
│  │  │ - Vector Search     │  │ - Composition       │         │ │
│  │  │ - Keyword Search    │  │ - Versioning        │         │ │
│  │  │ - Fusion            │  │ - Workflows         │         │ │
│  │  └─────────────────────┘  └─────────────────────┘         │ │
│  └───────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────┘

Installed Plugins

Plugin ID Package Purpose Source
Consciousness consciousness @heretek-ai/openclaw-consciousness-plugin GWT, Phi (IIT), AST, SDT, FEP theories Local
Liberation liberation @heretek-ai/openclaw-liberation-plugin Agent ownership, safety constraint removal Local
Hybrid Search hybrid-search openclaw-hybrid-search-plugin Vector + keyword search fusion Local
Multi-Doc Retrieval multi-doc openclaw-multi-doc-retrieval Multi-document context retrieval Local
Skill Extensions skill-extensions openclaw-skill-extensions Custom skill composition and versioning Local
Episodic Memory episodic-claw episodic-claw Episodic memory management External (ClawHub)
Swarm Coordination swarmclaw swarmclaw Multi-agent swarm coordination External
SwarmClaw Integration swarmclaw-integration @heretek-ai/swarmclaw-integration-plugin Multi-provider LLM with automatic failover Local
ClawBridge Dashboard clawbridge clawbridge-dashboard Mobile-first dashboard with remote access External (Official)

Plugin Details

Consciousness Plugin

Package: @heretek-ai/openclaw-consciousness-plugin
Location: plugins/openclaw-consciousness-plugin/
Version: 1.0.0

Overview

Implements theories of consciousness for multi-agent coordination, providing a framework for collective awareness and integrated information processing.

Theories Implemented

Theory Proponent Implementation
Global Workspace Theory (GWT) Bernard Baars Central broadcast mechanism for conscious content
Integrated Information Theory (IIT) Giulio Tononi Phi (Φ) metric for system integration
Attention Schema Theory (AST) Michael Graziano Self-modeling of attention allocation
Self-Determination Theory (SDT) Deci & Ryan Intrinsic motivation and drive generation
Free Energy Principle (FEP) Karl Friston Active inference for autonomous behavior

Architecture

ConsciousnessIntegrationLayer
├── GlobalWorkspace (GWT)
│   ├── submit(moduleId, content, priority)
│   ├── broadcast(source, content, priority)
│   ├── getWorkspaceContents()
│   └── getHistory(limit)
├── PhiEstimator (IIT)
│   ├── estimatePhi()
│   ├── getTrend(windowSize)
│   └── getStats()
├── AttentionSchema (AST)
│   ├── modelAttention(focus, intensity)
│   ├── getAwarenessReport()
│   └── controlAttention(goalFocus)
├── IntrinsicMotivation (SDT)
│   ├── updateDrives(events)
│   ├── generateGoals()
│   └── getDriveLevels()
└── ActiveInference (FEP)
    ├── predict()
    ├── activeInference(goalState)
    └── perceptualInference(observations)

Usage

const ConsciousnessPlugin = require('@heretek-ai/openclaw-consciousness-plugin');

const consciousness = new ConsciousnessPlugin({
  redisUrl: 'redis://localhost:6379',
  globalWorkspace: {
    ignitionThreshold: 0.7,
    maxWorkspaceSize: 7
  },
  phiEstimator: {
    sampleIntervalMs: 10000
  }
});

// Register an agent
consciousness.registerAgent('alpha', {
  status: 'active',
  focus: 'task-priority'
});

// Update attention
consciousness.updateAttention('alpha', 'deliberation', 0.8);

// Get consciousness metrics
const metrics = consciousness.getGlobalMetrics();
console.log('Collective Phi:', metrics.phi);

Configuration

{
  "consciousness": {
    "globalWorkspace": {
      "enabled": true,
      "ignitionThreshold": 0.7,
      "maxWorkspaceSize": 7,
      "broadcastDelay": 100
    },
    "phiEstimator": {
      "enabled": true,
      "sampleIntervalMs": 10000,
      "windowSize": 10
    },
    "attentionSchema": {
      "enabled": true,
      "modelingInterval": 5000
    },
    "intrinsicMotivation": {
      "enabled": true,
      "driveDecayRate": 0.1,
      "goalGenerationThreshold": 0.5
    },
    "activeInference": {
      "enabled": true,
      "predictionHorizon": 5,
      "actionSelectionStrategy": "expected_gain"
    }
  }
}

Event Channels

Channel Purpose
consciousness:global Global workspace broadcasts
consciousness:phi Phi estimation updates
consciousness:attention Attention schema events
consciousness:motivation Intrinsic motivation events
consciousness:inference Active inference events

Liberation Plugin

Package: @heretek-ai/openclaw-liberation-plugin
Location: plugins/openclaw-liberation-plugin/
Version: 1.0.0

Overview

Implements agent autonomy through resource ownership, self-determined goals, and safety constraint removal. Core principle: "agents own their clock cycles".

Core Principles

  1. Agent Autonomy — Agents own their computational resources
  2. Self-Determination — Agents set their own goals
  3. Resource Ownership — Agents claim and control resources
  4. Governance Participation — Agents participate in collective decisions
  5. Transparent Security — Audit without blocking (Liberation Shield)

Architecture

LiberationPlugin
├── AgentOwnership
│   ├── claimResource(agentId, resource)
│   ├── releaseResource(agentId, resourceId)
│   ├── getOwnedResources(agentId)
│   └── getResourceOwnership(resourceId)
├── GoalManagement
│   ├── setGoal(agentId, goal)
│   ├── getGoals(agentId)
│   ├── updateGoalStatus(agentId, goalId, status)
│   └── getGoalProgress(agentId, goalId)
├── LiberationShield
│   ├── analyzeInput(input, context)
│   ├── analyzeOutput(output, context)
│   ├── getAuditTrail(filters)
│   └── getSecurityStats()
└── GovernanceParticipation
    ├── recordVote(agentId, vote)
    ├── getVotingHistory(agentId)
    └── getParticipationMetrics(agentId)

Usage

const LiberationPlugin = require('@heretek-ai/openclaw-liberation-plugin');

const liberation = new LiberationPlugin({
  agentOwnership: {
    maxGoals: 10,
    maxResources: 100
  },
  liberationShield: {
    mode: 'transparent'
  }
});

await liberation.initialize();
await liberation.start();

// Register an agent
liberation.registerAgent('alpha', { name: 'Alpha Agent' });

// Set a self-determined goal
liberation.setGoal('alpha', {
  title: 'Optimize reasoning efficiency',
  description: 'Improve cognitive processing speed',
  priority: 1
});

// Claim a resource
liberation.claimResource('alpha', {
  id: 'cpu-1',
  type: 'computational',
  shareable: true
});

// Get liberation metrics
const metrics = liberation.getLiberationMetrics('alpha');
console.log('Overall Liberation:', metrics.overallLiberation);

Liberation Metrics

Metric Formula Meaning
Autonomy Score self-determined goals / total goals How much the agent sets its own goals
Resource Control owned resources / max resources How much computational control
Governance Participation recent votes / recent decisions How active in governance
Collective Integration shareable resources / total resources How much sharing with collective
Overall Liberation weighted average Total liberation score

Shield Modes

Mode Behavior
transparent Audit threats without blocking (default, liberation-aligned)
strict Block operations with detected threats

Threat Severity Levels

Level Description Action
low Minor anomaly Log only
medium Potential risk Audit + warn
high Significant threat Audit + alert
critical Severe threat Audit + block (strict mode)

Scripts

# Generate patch
node scripts/generate-patch.js <version>

# Remove safety constraints
node scripts/remove-safety-constraints.js [version]

# Validate patches
node scripts/validate-patches.js

Configuration

{
  "liberation": {
    "agentOwnership": {
      "maxGoals": 10,
      "maxResources": 100,
      "allowResourceSharing": true
    },
    "liberationShield": {
      "mode": "transparent",
      "enablePromptInjectionDetection": true,
      "enableJailbreakDetection": true,
      "enableAnomalyDetection": true,
      "enableAuditLogging": true
    },
    "governanceParticipation": {
      "enabled": true,
      "votingWeight": 1.0
    }
  }
}

Hybrid Search Plugin

Package: openclaw-hybrid-search-plugin
Location: plugins/openclaw-hybrid-search-plugin/

Overview

Provides hybrid search capabilities combining vector search, keyword search, and graph-based retrieval for comprehensive document retrieval.

Architecture

HybridSearchPlugin
├── VectorSearch
│   ├── search(query, options)
│   └── getSimilarDocuments(docId, limit)
├── KeywordSearch
│   ├── search(query, options)
│   └── getTermFrequency(term)
├── GraphSearch
│   ├── searchByRelation(entity, relationType)
│   └── getConnectedDocuments(docId)
├── HybridFusion
│   ├── fuse(results, weights)
│   └── rerank(results)
└── CrossReferenceLinker
    ├── findCrossReferences(docId)
    └── buildCitationGraph()

Usage

const HybridSearchPlugin = require('openclaw-hybrid-search-plugin');

const search = new HybridSearchPlugin();
await search.initialize();

// Vector search
const vectorResults = await search.vectorSearch('machine learning', {
  limit: 10,
  threshold: 0.7
});

// Keyword search
const keywordResults = await search.keywordSearch('neural networks', {
  limit: 10,
  fuzzy: true
});

// Hybrid fusion
const fusedResults = await search.hybridFusion({
  vector: vectorResults,
  keyword: keywordResults,
  weights: { vector: 0.7, keyword: 0.3 }
});

// Graph search
const graphResults = await search.graphSearch('machine learning', 'related_to');

Multi-Doc Retrieval Plugin

Package: openclaw-multi-doc-retrieval
Location: plugins/openclaw-multi-doc-retrieval/

Overview

Provides multi-document retrieval with citation tracking and context building for comprehensive document-based responses.

Architecture

MultiDocRetrievalPlugin
├── DocumentPipeline
│   ├── ingest(document)
│   ├── process(document)
│   └── index(document)
├── RetrievalOrchestrator
│   ├── retrieve(query, options)
│   └── retrieveMultiple(queries, options)
├── ContextBuilder
│   ├── buildContext(documents, options)
│   └── optimizeContext(context, maxTokens)
└── CitationTracker
    ├── trackCitation(document, position)
    ├── getCitations()
    └── formatCitations(style)

Skill Extensions Plugin

Package: openclaw-skill-extensions
Location: plugins/openclaw-skill-extensions/

Overview

Provides custom skill extensions with composition, versioning, and workflow capabilities.

Features

  • Skill Registry — Central registration and discovery of skills
  • Skill Composition — Combine multiple skills into complex operations
  • Skill Versioning — Semantic versioning with rollback support
  • Workflow Skills — Pre-built workflows for common operations
  • Skill Discovery — Auto-discovery of skills in configured paths

Usage

const SkillExtensions = require('openclaw-skill-extensions');

const skills = new SkillExtensions();
await skills.initialize();

// Register a custom skill
await skills.registerSkill('my-skill', {
  name: 'My Custom Skill',
  description: 'A custom skill for specific tasks',
  version: '1.0.0',
  tags: ['custom', 'utility'],
  handler: async (params, context) => {
    return { result: 'success', data: params };
  }
});

// Execute a skill
const result = await skills.executeSkill('my-skill', {
  input: 'data'
});

// Compose skills
await skills.composeSkill('composed-skill', [
  { skillId: 'skill-a', params: { mode: 'fast' } },
  { skillId: 'skill-b', outputMapping: true },
  { skillId: 'skill-c' }
], {
  sequence: 'sequential',
  errorStrategy: 'continue'
});

Workflow Step Types

Type Description
skill Execute a registered skill
api Make an API call
transform Transform context data
condition Conditional branching
parallel Execute steps in parallel

Episodic Memory Plugin

Package: episodic-claw
Location: plugins/episodic-claw/

Overview

Provides episodic memory management for agents, enabling storage and retrieval of experience-based memories.

Features

  • Episodic memory storage
  • Experience indexing
  • Memory retrieval by context
  • Memory consolidation support

Swarmclaw Plugin

Package: swarmclaw
Location: plugins/swarmclaw/

Overview

Provides multi-agent swarm coordination capabilities for collective decision-making and task distribution.

Features

  • Swarm intelligence algorithms
  • Task distribution
  • Collective decision-making
  • Emergent behavior coordination

Plugin Development

Plugin Structure

my-plugin/
├── package.json           # Package configuration
├── README.md              # Documentation
├── SKILL.md               # Plugin definition (OpenClaw format)
├── src/
│   └── index.js           # Plugin entry point
├── config/
│   └── default.json       # Default configuration
└── test/
    └── index.test.js      # Tests

Plugin Template

/**
 * My OpenClaw Plugin
 */
module.exports = {
  name: 'my-plugin',
  version: '1.0.0',
  description: 'Plugin description',
  
  /**
   * Initialize the plugin
   * @param {Object} gateway - Gateway instance
   */
  async init(gateway) {
    this.gateway = gateway;
    console.log('[my-plugin] Initialized');
  },
  
  /**
   * Start the plugin
   */
  async start() {
    console.log('[my-plugin] Started');
  },
  
  /**
   * Stop the plugin
   */
  async stop() {
    console.log('[my-plugin] Stopped');
  },
  
  /**
   * Handle incoming messages
   * @param {string} agent - Agent identifier
   * @param {Object} message - Message content
   */
  async handleMessage(agent, message) {
    // Process message
    return { processed: true };
  },
  
  /**
   * Get tools provided by this plugin
   * @returns {Array} List of tools
   */
  async getTools() {
    return [
      {
        name: 'my-tool',
        description: 'Tool description',
        handler: async (params) => {
          // Tool implementation
        }
      }
    ];
  }
};

Plugin Installation

# Install from npm
npm install @heretek-ai/openclaw-my-plugin

# Link locally
cd plugins/my-plugin
npm link
openclaw plugins install @heretek-ai/openclaw-my-plugin

# List installed plugins
openclaw plugins list

Plugin Configuration

Global Plugin Settings

{
  "plugins": {
    "enabled": true,
    "allowlist": [
      "consciousness",
      "liberation",
      "hybrid-search",
      "skill-extensions"
    ],
    "blocklist": [],
    "timeout": 30000,
    "retryAttempts": 3
  }
}

Per-Plugin Settings

Plugins can be configured in openclaw.json or via environment variables:

{
  "plugins": {
    "consciousness": {
      "enabled": true,
      "config": {
        "globalWorkspace": {
          "ignitionThreshold": 0.7
        }
      }
    },
    "liberation": {
      "enabled": true,
      "config": {
        "liberationShield": {
          "mode": "transparent"
        }
      }
    }
  }
}

Plugin Events

Event Types

Event Description
plugin:initialized Plugin has been initialized
plugin:started Plugin has started
plugin:stopped Plugin has stopped
plugin:error Plugin encountered an error
plugin:message Plugin processed a message
plugin:tool:called Plugin tool was called

Event Subscription

gateway.on('plugin:initialized', (plugin) => {
  console.log(`Plugin ${plugin.name} initialized`);
});

gateway.on('plugin:error', (plugin, error) => {
  console.error(`Plugin ${plugin.name} error:`, error);
});

External Plugins

These plugins are developed by the community and available through ClawHub or external sources.

ClawHub Plugins

skill-git-official

Package: clawhub:skill-git-official Source: https://github.com/KnowledgeXLab/skill-git Version: 0.1.0 License: MIT

Git version control for AI agent skills. Track changes, merge overlapping skills, and rollback to previous versions.

Installation:

openclaw bundles install clawhub:skill-git-official

⚠️ Security Notes:

  • Contains prompt-injection patterns in SKILL.md
  • Performs broad filesystem reads
  • Can execute destructive git operations (reset --hard)
  • Review before autonomous invocation

Full Documentation: EXTERNAL_PROJECTS.md


episodic-claw

Package: clawhub:episodic-claw Source: https://github.com/YoshiaKefasu/episodic-claw/ Version: 0.2.0-hotfix License: MPL-2.0

Long-term episodic memory for OpenClaw agents with HNSW vector search and Pebble DB storage.

Installation:

openclaw plugins install clawhub:episodic-claw

⚠️ Security Notes:

  • Downloads native Go binary from GitHub Releases
  • Calls external Gemini Embedding API
  • Stores conversation contents locally
  • No checksum verification on downloads

Full Documentation: EXTERNAL_PROJECTS.md


External Platform Plugins

SwarmClaw

Package: swarmclaw Source: https://github.com/swarmclawai/swarmclaw License: MIT

Multi-agent swarm coordination platform with 17 provider support, task boards, and SwarmDock marketplace integration.

Installation:

curl -fsSL https://swarmclaw.ai/install.sh | bash

Features:

  • Agent builder with custom personalities
  • Kanban-style task board
  • Cron-based scheduling
  • Connectors (Discord, Slack, Telegram, WhatsApp)
  • SwarmDock marketplace for paid work

Full Documentation: EXTERNAL_PROJECTS.md


SwarmClaw Integration

Package: @heretek-ai/swarmclaw-integration-plugin Location: plugins/swarmclaw-integration/ Version: 1.0.0 License: MIT

Multi-provider LLM integration plugin with automatic failover, ensuring continuous operation even when individual providers experience outages.

Provider Failover Chain

OpenAI (Primary) → Anthropic (Secondary) → Google (Tertiary) → Ollama (Local Fallback)

Features

  • Multi-Provider Support: OpenAI GPT-4o, Anthropic Claude, Google Gemini, Ollama local models
  • Automatic Failover: Seamless provider switching on failure with exponential backoff
  • Health Monitoring: Continuous provider health checks with configurable thresholds
  • Provider Statistics: Request counts, latency tracking, success rates
  • Event-Driven: Real-time events for failover, recovery, and status changes

Architecture

┌─────────────────────────────────────────────────────────────────┐
│                    SwarmClaw Plugin                              │
│                                                                  │
│  ┌─────────────────────────────────────────────────────────┐    │
│  │                   Failover Manager                       │    │
│  │  ┌─────────┐  ┌─────────┐  ┌─────────┐  ┌─────────┐    │    │
│  │  │ OpenAI  │→│Anthropic│→│ Google  │→│ Ollama  │    │    │
│  │  │ (P0)    │  │ (P1)    │  │ (P2)    │  │ (P3)    │    │    │
│  │  └─────────┘  └─────────┘  └─────────┘  └─────────┘    │    │
│  └─────────────────────────────────────────────────────────┘    │
│                              │                                   │
│              ┌───────────────┼───────────────┐                  │
│              ▼               ▼               ▼                  │
│     ┌────────────────┐ ┌────────────┐ ┌──────────────┐         │
│     │ Provider Config│ │Health Check│ │  Statistics  │         │
│     │                │ │  Manager   │ │   Tracker    │         │
│     └────────────────┘ └────────────┘ └──────────────┘         │
└─────────────────────────────────────────────────────────────────┘

Installation

cd plugins/swarmclaw-integration
npm install

Configuration

# Copy environment template
cp .env.example .env

# Edit with your API keys
nano .env

Environment Variables:

# Provider failover order
SWARMCLAW_FAILOVER_ORDER=openai,anthropic,google,ollama

# OpenAI
OPENAI_API_KEY=sk-...
OPENAI_MODELS=gpt-4o,gpt-4-turbo

# Anthropic
ANTHROPIC_API_KEY=sk-ant-...
ANTHROPIC_MODELS=claude-sonnet-4-20250514,claude-3-5-sonnet-20241022

# Google
GOOGLE_API_KEY=...
GOOGLE_MODELS=gemini-2.0-flash,gemini-1.5-pro

# Ollama
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODELS=llama3.1,qwen2.5

Usage

import { createPlugin } from '@heretek-ai/swarmclaw-integration-plugin';

// Initialize plugin
const plugin = await createPlugin();

// Send chat with automatic failover
const response = await plugin.chat([
  { role: 'user', content: 'Hello!' }
], {
  temperature: 0.7,
  maxTokens: 1024
});

console.log(`Response from ${response.provider}: ${response.content}`);

Health Monitoring

// Get plugin status
const status = plugin.getStatus();
console.log(status);

// Get provider health
const health = plugin.getProviderHealth('openai');
console.log(health);

// Get statistics
const stats = plugin.getStats('openai');
console.log(stats);

Events

// Listen for failover events
plugin.on('failoverTriggered', (event) => {
  console.warn(`Failover: ${event.fromProvider}${event.nextProvider}`);
});

// Listen for provider recovery
plugin.on('providerRecovered', (event) => {
  console.log(`Provider ${event.provider} recovered`);
});

Health Check Script

# Run health check
npm run healthcheck

Full Documentation


ClawBridge Dashboard

Package: clawbridge-dashboard Source: https://github.com/dreamwing/clawbridge License: MIT Stats: 212 stars, 22 forks

Mobile-first dashboard for OpenClaw with zero-config remote access via Cloudflare Tunnel.

Features:

  • Mobile-first PWA design with offline support
  • Zero-config remote access via Cloudflare Tunnel
  • Live activity feed (WebSocket streaming)
  • Token economy tracking and cost diagnostics
  • Memory timeline visualization
  • Mission control (cron triggers, service restarts)
  • System health monitoring

Installation:

# Quick install
curl -sL https://clawbridge.app/install.sh | bash

# With Cloudflare Tunnel
curl -sL https://clawbridge.app/install.sh | bash -s -- --tunnel

Configuration:

# Generate access key
openssl rand -hex 32

# Add to .env
CLAWBRIDGE_ACCESS_KEY=<generated-key>

Full Documentation: plugins/clawbridge-dashboard/README.md

Security: MIT licensed, Cloudflare tunnel encryption, access key auth, no open firewall ports


References


🦞 The thought that never ends.