csv-transform

csv-transform is a skill for Claude Code from andregusman-raiz/a-gusman-claude. It costs 49 tokens per session (2,187 once invoked), scanned A, original, MIT.

A tool for cleaning, validating, and reshaping messy CSV or TSV files. CSV and TSV are plain-text tables whose values are separated by commas or tabs.

In plain words
What is it for?
Use it to inspect files, detect separators and encoding, standardize headers, remove duplicates, convert types and dates, combine files, and validate the resulting data.
Why use it?
It fixes common data problems such as broken character encoding, incorrect headers, duplicate rows, inconsistent values, and unclear column types.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

Good fit Use it to inspect files, detect separators and encoding, standardize headers, remove duplicates, convert types and dates, combine files, and validate the resulting data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andregusman-raiz/a-gusman-claude/csv-transform
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.

Any agent
npx skills add andregusman-raiz/a-gusman-claude --skill csv-transform
Clone the repo
git clone --depth 1 https://github.com/andregusman-raiz/a-gusman-claude

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 csv-transform

README.md
[![agentmods](https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/csv-transform/github.svg)](https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/csv-transform)
Your own site
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/csv-transform"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/csv-transform/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 csv-transform

Your own site · 80×15
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/csv-transform"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/csv-transform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,187 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.00049 $0.02187
Opus 5.5 $0.00020 $0.00875
Sonnet 5.5 $0.00010 $0.00437
Haiku 4.5 $0.00005 $0.00219

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

Security

Grade A, and why

csv-transform 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 1mo 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.

skills/csv-transform/SKILL.md · 278 lines

How it starts

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

CSV Transform Skill

Limpar, validar e transformar CSVs sujos em dados prontos para uso.

Quick Reference

Task Tool Command
Diagnostico rapido pandas + chardet Ver secao abaixo
Encoding fix chardet → pandas pd.read_csv(f, encoding=detected)
Limpeza headers pandas .columns.str.strip().str.lower()
Duplicatas pandas .drop_duplicates()
Tipo de dados pandas .astype() + pd.to_datetime()
Merge CSVs pandas pd.concat() ou .merge()
Validacao pandera Schema validation
CLI preview csvkit csvlook, csvstat

Diagnostico Rapido

Sempre rodar antes de qualquer transformacao:

import pandas as pd
import chardet

filepath = "data.csv"

# 1. Detectar encoding
with open(filepath, 'rb') as f:
    raw = f.read(10000)
    result = chardet.detect(raw)
    print(f"Encoding: {result['encoding']} (confidence: {result['confidence']:.0%})")

# 2. Detectar separador
with open(filepath, 'r', encoding=result['encoding'], errors='replace') as f:
    first_lines = [f.readline() for _ in range(5)]
    for sep_name, sep_char in [('comma', ','), ('semicolon', ';'), ('tab', '\t'), ('pipe', '|')]:
        counts = [line.count(sep_char) for line in first_lines]
        if min(counts) > 0 and max(counts) == min(counts):
            print(f"Separador: {sep_name} ({sep_char!r})")
            break

# 3. Carregar e diagnosticar
df = pd.read_csv(filepath, encoding=result['encoding'], sep=sep_char)
print(f"\nShape: {df.shape}")
print(f"Colunas: {list(df.columns)}")
print(f"\nTipos:\n{df.dtypes}")
print(f"\nNulls:\n{df.isnull().sum()}")
print(f"\nDuplicatas: {df.duplicated().sum()}")
print(f"\nAmostra:\n{df.head()}")

Limpeza de Headers

# Strip whitespace, lowercase, snake_case
import re

def clean_columns(df):
    df.columns = (
        df.columns
        .str.strip()
        .str.lower()
        .str.replace(r'[^\w\s]', '', regex=True)
        .str.replace(r'\s+', '_', regex=True)
        .str.replace(r'_+', '_', regex=True)
        .str.strip('_')
    )
    return df

df = clean_columns(df)

# Renomear colunas especificas
df = df.rename(columns={
    'nome_completo': 'name',
    'data_nascimento': 'birth_date',
    'cpf_cnpj': 'document',
})

Read the full file on GitHub · 278 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. 1mo ago First seen · 278 lines · 49 tokens per session scan A 0440bb44c9e8

Subscribe to this mod's changes

csv-transform is a skill published in the GitHub repository andregusman-raiz/a-gusman-claude (18 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 2,187 once invoked, about $0.0002 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

Other skills, from other repositories

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and designs an end-to-end governed agentic analytics solution using Knowledge Catalog and Managed Service for Apache Spark (Lightning Engine). Use when designing data science and analytics workflows across structured and unstructured distributed data (including in S3, Azure Blob, AlloyDB, and…

google/skills · 132 tokens

training-check

Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.

wanshuiyin/Auto-claude-code-research-in-sleep · 35 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

finetuning

Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file…

microsoft/skills · 132 tokens