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 $0.00024 $0.01094
Sonnet 5 $0.00010 $0.00437
Haiku 4.5 $0.00005 $0.00219

Measured 7d ago against content hash 0440bb44c9e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 7d 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. 7d 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 (19 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 2,187 once invoked, about $0.0002 per session on Opus 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

neurolink-guide

Guide for using the NeuroLink SDK and CLI. Invoke when users ask how to use neurolink, integrate AI providers, add MCP tools, configure RAG, set up memory, deploy servers, or work with multimodal content. Covers SDK, CLI, providers, tools, and enterprise features.

juspay/neurolink · 65 tokens

opik-optimizer

Optimize LLM prompts, tools, and agents in Opik using standardized optimizer workflows (prompt optimization, tool optimization, and parameter tuning), dataset/metric wiring, and result interpretation.

vincentkoc/dotskills · 41 tokens

prompt-coach

A hook-driven coach that reads every prompt sent to Claude Code and rewrites it toward proven prompting habits — definition-of-done, scoped references, guardrails, verification. Rules graduate as they are demonstrated, so the coaching fades as the user improves. The hook runs on its own, but load this skill when the…

alexmond/alexmskills · 177 tokens

Power BI Semantic Architect

Transforma modelos de datos técnicos de Power BI en modelos semánticos documentados — genera descripciones, KPIs y un Context Store completo usando MCP como puente de comunicación bidireccional. El analista pasa de constructor manual a Auditor de Inteligencia.

CSalcedoDataBI/powerbi-pbip-tools · 57 tokens

retrospective-weekly

Run the weekly devflow self-improvement loop locally: scan freshly-merged watched-author PRs, write per-PR retrospective entries (LLM only for PRs that fail the mechanical clean-gate), derive recurring patterns, and file one human-reviewed GitHub issue per actionable pattern. Use when running the weekly devflow…

The01Geek/prflow · 74 tokens

provider-model-discovery

Descobre e seleciona modelos de providers LLM de forma report-only: inventário read-only de modelos, docs oficiais, quota/billing/rate gates e shortlist para canary protegido. Use antes de adicionar providers, escolher modelos ou migrar monitores/roteamento.

aretw0/agents-lab · 60 tokens