csv trustguard

    by bzx

    1

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

    Free

    Security scanned

    Works with the AI Agents you already use

    csv trustguard

    Example session with this skill installed

    Audit users_export.csv. Expected types: id: numeric, created_at: date. Rule: R1 | age must be 18+ | age >= 18. Compare with previous_audit.md.

    • Read your context and instructions
    • Compiled the csv trustguard
    • Generated the data export

    The audit of users_export.csv is complete. I have evaluated the data against your schema and business rules, comparing the results to the previous audit report.

    CSV Quality Audit Report: users_export.csv

    File Overview

    • Rows: 1,250
    • Columns: 5 (id, name, age, created_at, email)
    • Encoding: UTF-8
    • Size: 142 KB

    Findings Table

    CategorySeverityLocationDescriptionSuggestion
    LogicalCriticalRow 452Rule R1 Violation: age is 16Consider flagging for manual review
    TypeWarningColumn 'created_at'3 rows have ISO-8601 format mismatchesConsider normalizing date strings
    MissingnessInfoColumn 'email'12 rows contain null valuesConsider if email is a required field
    DuplicatesWarningRows 12, 89Fully identical rows detectedConsider deduplication

    Comparison with previous audit

    • Critical: +1 (New rule violation)
    • Warning: -5 (Type consistency improved)
    • Info: 0 (No change)

    Summary Counts

    • Critical: 1
    • Warning: 2
    • Info: 1

    Human decision needed

    • Critical: Row 452 violates business rule R1 (age must be 18+). This requires manual verification of the user's date of birth.

    Next steps

    • Review the Critical violation in row 452 to determine if the record should be excluded.
    • Normalize the date strings in the created_at column to ensure consistent parsing.
    • Re-run this audit after manual cleaning to verify all issues are resolved.

    No data was modified.

    users_export.csv

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    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

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed15 days ago

    What's inside

    Creator

    B

    bzx

    。

    Frequently Asked Questions

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

    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.

    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.

    New in Data & Databases

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.

    Free