Replication Failure Analyzer for Openclaw

A professional diagnostic framework for mapping database replication symptoms to failure classes and generating structured remediation plans.

quochungto
v1.0.0
Apr 11, 2026
0
283
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install bookforge-replication-failure-analyzer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install bookforge-replication-failure-analyzer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Replication Failure Analyzer?

The replication-failure-analyzer is a high-performance tool within the Openclaw Skills ecosystem designed to troubleshoot complex data synchronization issues in distributed databases. It provides a rigorous diagnostic framework that classifies replication failures into three distinct categories: leader failover pitfalls, replication lag anomalies, and quorum edge cases. By using this skill, developers can move beyond guesswork to identify exact mechanisms like split-brain, read-after-write violations, or sloppy quorum inconsistencies.

This skill is particularly valuable for teams managing PostgreSQL, MySQL, Cassandra, or DynamoDB instances where data integrity is paramount. By integrating this into your workflow, Openclaw Skills allow you to generate comprehensive reports that bridge the gap between observed symptoms and technical root causes, ensuring your distributed systems remain consistent and available.

Replication Failure Analyzer Use Cases

  • Resolving read-after-write violations where submitted data disappears immediately after a page reload.
  • Diagnosing monotonic reads violations where records appear and then vanish upon subsequent refreshes.
  • Remediating split-brain scenarios where two nodes are incorrectly accepting writes simultaneously.
  • Troubleshooting stale quorum reads that occur despite the w + r > n condition being mathematically met.
  • Auditing database configurations for anti-patterns like autoincrement primary key conflicts before a production failover.

How Replication Failure Analyzer Works

  1. The skill begins by gathering symptoms, replication topology, and recent operational events to classify the failure into Class A (Failover), Class B (Lag), or Class C (Quorum).
  2. It narrows the diagnostic space to a specific mechanism, such as async data loss or timeout miscalibration, based on technical signals.
  3. It applies a matched mitigation strategy, providing immediate remediation steps like fencing nodes or adjusting read routing.
  4. The agent scans the provided codebase or configuration files for latent anti-patterns that could cause future replication failures.
  5. Finally, it produces a structured failure analysis report containing an executive summary, mapping, and long-term architectural recommendations.

Replication Failure Analyzer Setup

To integrate this capability into your environment, use the following command to add it to your Openclaw Skills library:

clawhub install replication-failure-analyzer

Ensure your agent has read access to database configuration files (e.g., postgresql.conf, my.cnf) or application source code that defines read/write routing and quorum settings.

Replication Failure Analyzer Data Schema & Taxonomy

The skill generates a structured output that organizes data into the following taxonomy:

Component Description
Symptom Class Categorization as Failover, Lag, or Quorum issues.
Failure Mechanism The specific technical root cause identified (e.g., LWW Conflict).
Remediation Path Ordered list of immediate actions to stop the active failure.
Anti-Pattern Log Identification of risky configurations found in the codebase.
Architecture Fixes Long-term strategy to prevent recurrence (e.g., switching to UUIDs).

Replication Failure Analyzer Advanced Features

  • Multi-topology support covering single-leader, multi-leader, and leaderless (Dynamo-style) architectures.
  • Deep-dive analysis for six distinct ways quorum math can fail in real-world scenarios.
  • Interactive checklists for leader failover validation and post-partition recovery.
  • Proactive anti-pattern detection for load balancer routing and primary key generation strategies within your Openclaw Skills suite.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*