- Home
- Skills
- Data & Databases
- csv trustguard
csv trustguard
by bzx
Audit CSV data for missingness, duplicates, type consistency, and business rule violations without modifying the file.
Free
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
| Category | Severity | Location | Description | Suggestion |
|---|---|---|---|---|
| Logical | Critical | Row 452 | Rule R1 Violation: age is 16 | Consider flagging for manual review |
| Type | Warning | Column 'created_at' | 3 rows have ISO-8601 format mismatches | Consider normalizing date strings |
| Missingness | Info | Column 'email' | 12 rows contain null values | Consider if email is a required field |
| Duplicates | Warning | Rows 12, 89 | Fully identical rows detected | Consider 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_atcolumn 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
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
- Load Read-Only: The skill ingests a CSV or text block, identifying the encoding and schema without altering the source.
- Execute Checks: It runs five specific categories of audits: missingness, duplicates, types, encoding, and logic.
- Evaluate Rules: Any user-supplied business rules are evaluated row-by-row, flagging violations as Critical or Warning.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
What's inside
Creator
bzx
。
Frequently Asked Questions
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.