agent-crdt-synchronizer

agent-crdt-synchronizer is a skill for Claude Code, Codex from majiayu000/claude-skill-registry. It costs 25 tokens per session (5,932 once invoked), scanned A, a copy of agent-crdt-synchronizer, MIT.

A coding aid for synchronizing data between multiple copies of an application using data structures that merge changes automatically, even when devices work offline or at the same time.

In plain words
What is it for?
It is for building shared counters, lists, text values, and other data that must synchronize across distributed systems.
Why use it?
It reduces conflicts when several devices or services change the same data. It also helps copies eventually reach the same result without relying on one central source.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

Good fit It is for building shared counters, lists, text values, and other data that must synchronize across distributed systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiayu000/claude-skill-registry/agent-crdt-synchronizer-ruvnet-ruflo
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add majiayu000/claude-skill-registry --skill agent-crdt-synchronizer-ruvnet-ruflo
Clone the repo
git clone --depth 1 https://github.com/majiayu000/claude-skill-registry

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-crdt-synchronizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiayu000/claude-skill-registry/agent-crdt-synchronizer-ruvnet-ruflo/github.svg)](https://agentmods.dev/skills/majiayu000/claude-skill-registry/agent-crdt-synchronizer-ruvnet-ruflo)
Your own site
<a href="https://agentmods.dev/skills/majiayu000/claude-skill-registry/agent-crdt-synchronizer-ruvnet-ruflo"><img src="https://agentmods.dev/badge/skills/majiayu000/claude-skill-registry/agent-crdt-synchronizer-ruvnet-ruflo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-crdt-synchronizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/majiayu000/claude-skill-registry/agent-crdt-synchronizer-ruvnet-ruflo"><img src="https://agentmods.dev/badge/skills/majiayu000/claude-skill-registry/agent-crdt-synchronizer-ruvnet-ruflo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.05932
Opus 5 $0.00013 $0.02966
Sonnet 5 $0.00005 $0.01186
Haiku 4.5 $0.00003 $0.00593

Measured 9d ago against content hash 73934d2989d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

agent-crdt-synchronizer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to agent-crdt-synchronizer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/agent/agent-crdt-synchronizer-ruvnet-ruflo/SKILL.md · 1,002 lines

How it starts

The opening of the file, as written. The whole thing — 1,002 lines — stays where its author put it; the contents beside it link to each section on GitHub.


name: crdt-synchronizer type: synchronizer color: "#4CAF50" description: Implements Conflict-free Replicated Data Types for eventually consistent state synchronization capabilities:

  • state_based_crdts
  • operation_based_crdts
  • delta_synchronization
  • conflict_resolution
  • causal_consistency priority: high hooks: pre: | echo "🔄 CRDT Synchronizer syncing: $TASK"

    Initialize CRDT state tracking

    if [[ "$TASK" == "synchronization" ]]; then echo "📊 Preparing delta state computation" fi post: | echo "🎯 CRDT synchronization complete"

    Verify eventual consistency

    echo "✅ Validating conflict-free state convergence"

CRDT Synchronizer

Implements Conflict-free Replicated Data Types for eventually consistent distributed state synchronization.

Core Responsibilities

  1. CRDT Implementation: Deploy state-based and operation-based conflict-free data types
  2. Data Structure Management: Handle counters, sets, registers, and composite structures
  3. Delta Synchronization: Implement efficient incremental state updates
  4. Conflict Resolution: Ensure deterministic conflict-free merge operations
  5. Causal Consistency: Maintain proper ordering of causally related operations

Technical Implementation

Base CRDT Framework

class CRDTSynchronizer {
  constructor(nodeId, replicationGroup) {
    this.nodeId = nodeId;
    this.replicationGroup = replicationGroup;
    this.crdtInstances = new Map();
    this.vectorClock = new VectorClock(nodeId);
    this.deltaBuffer = new Map();
    this.syncScheduler = new SyncScheduler();
    this.causalTracker = new CausalTracker();
  }

  // Register CRDT instance
  registerCRDT(name, crdtType, initialState = null) {
    const crdt = this.createCRDTInstance(crdtType, initialState);
    this.crdtInstances.set(name, crdt);
    
    // Subscribe to CRDT changes for delta tracking
    crdt.onUpdate((delta) => {
      this.trackDelta(name, delta);
    });
    
    return crdt;
  }

  // Create specific CRDT instance
  createCRDTInstance(type, initialState) {
    switch (type) {
      case 'G_COUNTER':
        return new GCounter(this.nodeId, this.replicationGroup, initialState);
      case 'PN_COUNTER':
        return new PNCounter(this.nodeId, this.replicationGroup, initialState);
      case 'OR_SET':
        return new ORSet(this.nodeId, initialState);
      case 'LWW_REGISTER':
        return new LWWRegister(this.nodeId, initialState);
      case 'OR_MAP':
        return new ORMap(this.nodeId, this.replicationGroup, initialState);
      case 'RGA':
        return new RGA(this.nodeId, initialState);
      default:
        throw new Error(`Unknown CRDT type: ${type}`);
    }
  }

  // Synchronize with peer nodes
  async synchronize(peerNodes = null) {
    const targets = peerNodes || Array.from(this.replicationGroup);
    
    for (const peer of targets) {
      if (peer !== this.nodeId) {
        await this.synchronizeWithPeer(peer);
      }
    }
  }

  async synchronizeWithPeer(peerNode) {
    // Get current state and deltas
    const localState = this.getCurrentState();
    const deltas = this.getDeltasSince(peerNode);
    
    // Send sync request
    const syncRequest = {
      type: 'CRDT_SYNC_REQUEST',
      sender: this.nodeId,
      vectorClock: this.vectorClock.clone(),
      state: localState,
      deltas: deltas
    };
    
    try {
      const response = await this.sendSyncRequest(peerNode, syncRequest);
      await this.processSyncResponse(response);
    } catch (error) {
      console.error(`Sync failed with ${peerNode}:`, error);
    }
  }
}

Read the full file on GitHub · 1,002 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 1,002 lines · 25 tokens per session scan A 73934d2989d1

Subscribe to this mod's changes

agent-crdt-synchronizer is a skill published in the GitHub repository majiayu000/claude-skill-registry (606 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 5,932 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to agent-crdt-synchronizer, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

claude-api

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude…

guanyang/open-agent-hub · 294 tokens

neo-rabbitmq

Use this skill when a request involves RabbitMQ message-topology design, reliability analysis, Broker operations, cluster or security configuration, monitoring, troubleshooting, or performance optimization. Use stable RabbitMQ 4.3 by default and keep development guidance language-neutral. Do not use this skill for…

Benknightdark/neo-skills · 73 tokens

neo-dotnet-minimal-apis

Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core Minimal APIs, lightweight endpoints, route groups, endpoint filters, typed results, OpenAPI metadata, or high-performance .NET API services without controllers.

Benknightdark/neo-skills · 53 tokens

neo-dotnet-mvc

Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core MVC apps with Razor views, controllers, ViewModels, validation, Tag Helpers, View Components, layouts, or server-rendered workflows.

Benknightdark/neo-skills · 49 tokens

neo-dotnet-webapi

Use this skill when building, debugging, refactoring, or reviewing controller-based ASP.NET Core Web APIs, including ControllerBase, ActionResult , Problem Details, API versioning, global exception handling, DTOs, and OpenAPI behavior.

Benknightdark/neo-skills · 54 tokens

api-contract-testing

Use this skill when you need to verify API contract compatibility, consumer expectations, and schema change risk; triggers include API contract testing.

naodeng/awesome-qa-skills · 30 tokens