---
title: "CSV Schema Validator & Auto-Fixer"
description: "Validates CSV files against JSON Schema definitions using AJV and csv-parse. Automatically detects and repairs type mismatches, missing required columns, and encoding issues with configurable strictness levels."
verification: "security_reviewed"
source: "https://github.com/ajv-validator/ajv"
author: "Ajv Validator"
category:
  - "Data Extraction & Transformation"
framework:
  - "OpenClaw"
tool_ecosystem:
  github_repo: "ajv-validator/ajv"
  github_stars: 14691
  npm_package: "ajv"
  npm_weekly_downloads: 291125331
---

# CSV Schema Validator & Auto-Fixer

Validates CSV files against JSON Schema definitions using AJV and csv-parse. Automatically detects and repairs type mismatches, missing required columns, and encoding issues with configurable strictness levels.

## Prerequisites

Node.js

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
npm install ajv
```

## Documentation

- https://ajv.js.org/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/csv-schema-validator-auto-fixer/)
