# csv trustguard

> Audit CSV data for missingness, duplicates, type consistency, and business rule violations without modifying the file.

csv trustguard is a free AI agent skill on Agensi by bzx, in Data & Databases. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [bzx](https://www.agensi.io/creators/creator-1334)
- Category: [Data & Databases](https://www.agensi.io/skills/data-databases)
- Version: 1.0
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/csv-trustguard
- Tags: database, csv, data-audit, data-validation, etl

## About this skill

Data pipelines fail when silent corruption, encoding shifts, or business rule violations go undetected. This skill performs a non-destructive audit of CSV datasets to identify missingness, duplicates, and logical inconsistencies before you begin analysis.

### What it does
- **Missingness & Duplicates** identifies null values and redundant records based on custom or default key definitions.
- **Type Consistency** verifies data against expected schemas, flagging unparseable dates or non-numeric strings in numeric columns.
- **Encoding & Parsing** detects character encoding anomalies and structural breaks that cause ingestion failures.
- **Business Rule Validation** executes user-defined logic, such as ensuring a ship date does not precede an order date.
- **Audit Comparison** computes deltas between current and previous reports to track data quality improvements or regressions.

### How it works
1. **Load Read-Only:** The skill ingests a CSV or text block, identifying the encoding and schema without altering the source.
2. **Execute Checks:** It runs five specific categories of audits: missingness, duplicates, types, encoding, and logic.
3. **Evaluate Rules:** Any user-supplied business rules are evaluated row-by-row, flagging violations as Critical or Warning.
4. **Generate Report:** It produces a graded Markdown report following a strict template, including a summary of findings and a "Human decision needed" section.

### Frameworks & tools
This skill utilizes a Python-based `audit_helper.py` script for read-only metric computation and supports UTF-8, CSV, and business rule tables.

### Why this beats prompting it yourself
Generic prompts often attempt to "fix" data automatically, leading to silent hallucinations or data loss. This skill enforces a strict read-only boundary, ensuring every finding is graded by severity and preventing the AI from modifying your source files.

### Use cases
- Auditing raw vendor data before importing it into a production database.
- Validating a cleaned dataset against a previous audit to confirm issue resolution.
- Checking transaction logs for business logic violations like negative price values.
- Screening large CSV files for encoding errors that crash ETL pipelines.

### Known limitations
Does not support Excel, JSON, or image files. Limited to five specific check categories. Cannot perform statistical modeling or join multiple files. Sampling is used for extremely large files.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the csv trustguard skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does csv trustguard do?

Audit CSV data for missingness, duplicates, type consistency, and business rule violations without modifying the file.

### Which AI agents support csv trustguard?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use csv trustguard?

Connect your AI agent to Agensi through MCP, then ask it to use csv trustguard on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
