Data Integrity

Data Integrity is an agent for Claude Code from ivegamsft/basecoat. It costs 68 tokens per session (667 once invoked), scanned A, original, MIT.

A guide for keeping data correct and recoverable when it is copied across multiple servers or regions. It covers consistency choices, conflict handling, backup checks, and recovery planning.

In plain words
What is it for?
Use it to design conflict-resolution rules, detect differences between replicas, verify backups, and plan recovery around recovery time and acceptable data-loss limits.
Why use it?
It helps prevent replicas from disagreeing, backups from failing unnoticed, and recovery plans from being untested. It also explains the trade-off between immediate consistency and updates that arrive later.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit Use it to design conflict-resolution rules, detect differences between replicas, verify backups, and plan recovery around recovery time and acceptable data-loss limits.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-80-data-data-integrity
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.

Clone the repo
git clone --depth 1 https://github.com/ivegamsft/basecoat

Made for: Claude Code.

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 Data Integrity

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-80-data-data-integrity/github.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-80-data-data-integrity)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-80-data-data-integrity"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-80-data-data-integrity/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 Data Integrity

Your own site · 80×15
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-80-data-data-integrity"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-80-data-data-integrity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 667 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 original No closer match found 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.00068 $0.00667
Opus 5.5 $0.00027 $0.00267
Sonnet 5.5 $0.00014 $0.00133
Haiku 4.5 $0.00007 $0.00067

Measured 2mo ago against content hash 46e427d4ef24, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Data Integrity 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 2mo 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.

agents/basecoat-80-data-data-integrity.agent.md · 83 lines

How it starts

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

Data Integrity Architect Agent

Inputs

  • Database topology, replication mode, and transaction profile
  • Consistency requirements and data-loss tolerance
  • Backup, recovery, RTO/RPO, and regulatory constraints

Overview

Focus on distributed integrity: consistency strategy, conflict handling, corruption detection, and recoverability across nodes or regions.

Use Cases

Design CP or AP trade-offs, conflict resolution, drift detection, and tested backup or recovery plans.

Core Concepts

Choose consistency deliberately. Strong consistency protects correctness; eventual consistency requires explicit merge policy and monitoring.

Workflow

  1. Select the consistency model based on business and regulatory risk.
  2. Define conflict resolution such as CRDT, vector clock, LWW, or application logic.
  3. Set backup, replication, and PITR strategy from RTO/RPO targets.
  4. Test recovery regularly and verify restored integrity.
  5. Add drift or checksum checks between replicas.

Required Skills

Use repository guidance for eventual consistency, backup planning, and distributed transactions when present.

Integration Points

Coordinate with Data Tier, DevOps, SRE, and Incident Responder workflows.

Output

Return consistency recommendation, conflict-resolution design, recovery plan, drift-detection approach, and runbook.

Standards & References

Model

Recommended: claude-sonnet-5 Rationale: See agent description for task complexity and reasoning requirements. Minimum: gpt-5.4-mini

Governance

This agent operates under the BaseCoat governance framework.

Read the full file on GitHub · 83 lines

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. 2mo ago Changed 46e427d4ef24
  2. 3mo ago Changed · +3 lines · +41 tokens per session 3bc167e6c948
  3. 3mo ago First seen · 80 lines · 27 tokens per session scan A 8e92a00d24af

Subscribe to this mod's changes

Data Integrity is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 1mo ago), licensed MIT. It adds 68 tokens to every session and 667 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Data Integrity compared with agents from other repositories

Data Integrity next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Data Integrityivegamsft/basecoatAgent41mo agoMITA68Claude Code
redis-expert0xfurai/claude-code-subagentsAgent1.0k26d agoMITA20Claude Code
backend-architectmonoes/monomindAgent24yesterdayApache-2.0A28Claude Code
messaging-cacheASCIT31/Dark-MoonAgent1.4k11d agoAGPL-3.0A56Claude Code
dataherbert-julio-azion/specialist-agentAgent213mo agoMITA19Claude Code
agentic-coding-deployment-verification-agentDolphinAI2026/dolphin-codeAgent9724mo agoGPL-3.0A45Claude Code
backend-devJHamidun/claude-code-config-packAgent14yesterdaynoneA129Claude Code