type-consistency-sweep

type-consistency-sweep is a skill for Claude Code from danielrosehill/Claude-Data-Analyst-plugin. It costs 81 tokens per session (1,749 once invoked), scanned A, original, MIT.

A data-quality scan that finds columns whose values use inconsistent types, such as numbers or dates stored as text. It can inspect datasets before loading them into databases.

In plain words
What is it for?
Use it to check one or more dataset files or a DuckDB database, report type problems, and optionally apply fixes or pass them to another specialist.
Why use it?
It helps prevent broken joins, misleading totals, and database loading failures caused by inconsistent values or missing-value markers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the data-analyst plugin — 14 skills shipped together

Good fit Use it to check one or more dataset files or a DuckDB database, report type problems, and optionally apply fixes or pass them to another specialist.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielrosehill/claude-data-analyst-plugin/type-consistency-sweep
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 danielrosehill/Claude-Data-Analyst-plugin --skill type-consistency-sweep
Clone the repo
git clone --depth 1 https://github.com/danielrosehill/Claude-Data-Analyst-plugin

Made for: Claude Code.

Or install data-analyst, the plugin that ships this one along with the rest of its 14 skills.

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 type-consistency-sweep

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielrosehill/claude-data-analyst-plugin/type-consistency-sweep/github.svg)](https://agentmods.dev/skills/danielrosehill/claude-data-analyst-plugin/type-consistency-sweep)
Your own site
<a href="https://agentmods.dev/skills/danielrosehill/claude-data-analyst-plugin/type-consistency-sweep"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-data-analyst-plugin/type-consistency-sweep/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 type-consistency-sweep

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielrosehill/claude-data-analyst-plugin/type-consistency-sweep"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-data-analyst-plugin/type-consistency-sweep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,749 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.
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.00081 $0.01749
Opus 5.5 $0.00032 $0.00700
Sonnet 5.5 $0.00016 $0.00350
Haiku 4.5 $0.00008 $0.00175

Measured 22d ago against content hash f6e06d01df9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

type-consistency-sweep 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 22d 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/type-consistency-sweep/SKILL.md · 120 lines

How it starts

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

Type Consistency Sweep

Hybrid analysis + wrangling. Find the type inconsistencies that silently break joins, skew aggregations, and cause COPY INTO failures when the user tries to load the dataset into Postgres / DuckDB / BigQuery / a graph store. Then fix them — directly for trivial cases, or by handing off to the right specialist skill.

Inputs

  • Path to a dataset file, folder, or DuckDB database.
  • Optional: intended destination (postgres, duckdb, bigquery, neo4j, parquet, none) — affects strictness.
  • Optional: whether the user wants fixes applied, or just the report. Default: report first, then ask.

Scope of inconsistencies to detect

Within a single column

  • Mixed types: column inferred as VARCHAR but >80% of values parse as numeric — a few stray strings are poisoning the type.
  • Stringified numbers: "1,234", "$19.99", "3.14 " — numeric intent, string storage.
  • Stringified dates: dates held as strings with inconsistent formats (2024-01-15, 15/01/2024, Jan 15 2024 all in one column).
  • Stringified booleans: "Y"/"N", "true"/"false", "1"/"0", "yes"/"no" — sometimes mixed.
  • Inconsistent null sentinels: mix of actual NULL, empty string, "NA", "N/A", "null", "-", "-999".
  • Integer stored as float with all-zero fractional parts (1.0, 2.0, ...) — will break joins to an integer key.
  • Unicode / encoding drift: same logical value with different whitespace, case, or unicode form (NFC vs NFD).

Across columns / files

  • Same logical field (customer_id, country_code, date) typed differently in different files or tables — one file has it as INTEGER, another as VARCHAR, a third zero-padded.
  • Join keys where one side is "001" and the other is 1.
  • Date/time columns with inconsistent timezone handling across files.
  • Currency columns without a currency code, stored as plain numbers, and differing across files.

Relative to destination

  • Destination is Postgres / BigQuery: flag VARCHAR columns that should be NUMERIC/DATE/BOOLEAN; nested JSON in a column if destination is relational and not JSON-aware.
  • Destination is graph store (Neo4j, etc.): flag inconsistent node-id types across files that would prevent relationship creation.
  • Destination is Parquet / Arrow: flag mixed-type columns (Arrow requires typed columns).

Read the full file on GitHub · 120 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. 22d ago Changed f6e06d01df9c
  2. 2mo ago First seen · 120 lines · 81 tokens per session scan A a376d6758d25

Subscribe to this mod's changes

type-consistency-sweep is a skill published in the GitHub repository danielrosehill/Claude-Data-Analyst-plugin (12 stars, last pushed 3d ago), licensed MIT. It adds 81 tokens to every session and 1,749 once invoked, about $0.0003 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-08-30.

Related

type-consistency-sweep compared with skills from other repositories

type-consistency-sweep next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
type-consistency-sweepdanielrosehill/Claude-Data-Analyst-pluginSkill123d agoMITA81Claude Code
fetch-dataagentscope-ai/QwenPaw-DataSkill190yesterdayApache-2.0A276Claude Code, Codex
query-odpsagentscope-ai/QwenPaw-DataSkill190yesterdayApache-2.0A81Claude Code, Codex
datasetsAryan-Jhaveri/mcp-statcanSkill811d agoMITA67Claude Code, Codex
alibabacloud-data-agent-skillaliyun/data-agent-skillSkill575d agononeA159Claude Code, Codex
data-agent-arcvis-skillaliyun/data-agent-skillSkill575d agononeA160Claude Code, Codex
example-enaliyun/data-agent-skillSkill575d agononeA61Claude Code, Codex